Re: NFS-mounted, read-only /dev unusable in 2.6

From: Dick Streefland
Date: Tue Aug 03 2004 - 09:15:19 EST


Frank Steiner <fsteiner-mail@xxxxxxxxxxxxxx> wrote:
| Or is there any other way to get an initial console or
| output any messages from an init script if one boots via nfsroot
| and / (and thus, /dev) is only exported read-only from the
| server?

You can boot with a ramdisk as root, initialized with an initrd, and
then perform all NFS mounts manually in the init script. You can use
pivot_root to switch to an NFS root to get rid of the ramdisk.

--
Dick Streefland //// Altium BV
dick.streefland@xxxxxxxxx (@ @) http://www.altium.com
--------------------------------oOO--(_)--OOo---------------------------

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/