[BusyBox] pivot_root - devfs problem

Scott Murray scottm at somanetworks.com
Thu Feb 20 08:08:03 UTC 2003


On Thu, 20 Feb 2003, Roberto De Leo wrote:

> Hi,
> I am trying to build a floppy boot disk for my project (movix.sf.net) 
> and I'm almost there, except for a detail: after pivoting I cannot 
> umount the old root since I cannot umount its dev directory mounted with 
> "-t devfs".
> 
> I searched with google and found many messages about this topic here and 
> there [it is thanks to them that now almost everything works] but none 
> of them managed to solve this last problem.

What works for me is to configure the kernel to auto-mount the devfs on 
/dev at boot, then after pivoting you can mount another copy of devfs on 
the new /dev and unmount the original (e.g. now /old_root/dev) at your 
leisure.

Scott


-- 
Scott Murray
SOMA Networks, Inc.
Toronto, Ontario
e-mail: scottm at somanetworks.com




More information about the busybox mailing list