Bug#652459: Bug#652011: general: Repeated pattern of FHS violation: Dependencies of /sbin and /bin, belong in /lib
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 /etc/fstab.
(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 && mount.)