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
sound:

- 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
equivalent).

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.)


Best regards,

Anne Bezemer


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/pine.lnx.4.64.1112201247070.18...@wormhole.robuust.nl

Reply via email to