On Thu, Sep 07, 2006 at 04:11:07PM +0200, Petter Reinholdtsen wrote: > [Chip Salzenberg] > > The checkroot.sh init script sometimes needs to mknod the root > > filesystem device as /dev/shm/root so it can fsck. [...] > > Right. Good point. I have forgotten about that code. It need to > stop using /dev/shm/, as it is poluting the shm namespace.
Hrm. Shirley, there's some name in there it could use safely...? Whatever that name is, checkroot.sh could mount a tmpfs on /dev/shm/<thatname> and create the root dev node under it. BTW, checkroot.sh *does* remove the 'root' node, once the fsck is done, so what's the pollution issue? > An option might be to mount a private tmpfs (aka mounting it, chdir > into it and umounting it, thus making it available only to the process > running within it), but this will not make the life of mtab.sh easier. What's the mtab.sh problem? -- Chip Salzenberg <[EMAIL PROTECTED]> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]