Re: 2.6.0-test3-mm1 and rootflags

From: Valdis . Kletnieks
Date: Wed Aug 13 2003 - 14:50:40 EST


On Tue, 12 Aug 2003 23:41:37 EDT, Valdis.Kletnieks@xxxxxx said:

> If there's a consensus that a 'rootopts=' would be a Good Thing, I'll write a
> patch. If not, I'll just fix the initial value of root_mountflags in init/do_mount.c ;)

OK.. I'm a dork. ;)

Turns out that root_mountflags (at least in *my* config) ends up applying to
the initrd root - so to do what I *wanted* to do I needed to fix the 'mount'
command in /linuxrc:

echo Mounting root filesystem
mount -o noatime,nodev --ro -t ext3 /dev/rootvg/root /sysroot
pivot_root /sysroot /sysroot/initrd

D'oh! :)

Attachment: pgp00001.pgp
Description: PGP signature