Bug#652459: Bug#652011: general: Repeated pattern of FHS violation: Dependencies of /sbin and /bin, belong in /lib
On Tue, Dec 20, 2011 at 01:17:41PM +0100, J.A. Bezemer wrote:
> On Tue, 20 Dec 2011, Roger Leigh wrote:
> >On Tue, Dec 20, 2011 at 12:11:39AM +0100, J.A. Bezemer wrote:
> >>On Mon, 19 Dec 2011, Roger Leigh wrote:
> >>>Regarding the objections above, which are primarily concerned with the
> >>>creation of a non-generic initramfs, how does this alternative suggestion
> >>>- The addition of usr= options analogous to the root= options which
> >>>permit the bootloader to specify the /usr filesystem to mount. By
> >>>default would do nothing, but grub could be updated to generate
> >>>such options on systems with a separate /usr.
> >>Nonsense, should come from /etc/fstab.
> >Of course. In case it wasn't implicit from the above, this information
> >would necessarily need to be taken from /etc/fstab by update-grub or
> >its equivalent for other bootloaders when generating grub.cfg (or its
> Apologies for not being clear enough: there should not be a usr=
> parameter at all. Not in grub.cfg, and not anywhere else. The
> initramfs itself can (i.e. should) easily read it directly from
OK, that does make sense. And it can remain entirely generic, without
requiring any special bootloader support.
/etc would be the exception to this, so I guess you would be happy
with that being made into a separate option? This would be a
rare choice, so just patching update-grub should be sufficient.
Anyone else who wished to avail themselves of it could just edit the
> (As I remember seeing elsewhere in this discussion: you could define
> a mount option "mount-in-initramfs" in /etc/fstab that the initramfs
> should look for to find out which filesystems it has to fsck &&
This is still a possibility. I discussed an initramfs option for
/etc/fstab, but upstream would perfer us to use comment=initramfs
or the new free-form x- options e.g. x-initramfs. Like /usr, this
could be mounted after the rootfs, with the exception of /etc, as
WRT fsck, I think we would continue to mount r/o prior to fsck, as
for the rootfs, and then remount r/w afterward in checkroot.
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.