On Wed, Oct 10, 2001 at 02:17:12PM -0700, Christine Ames wrote: > How do we replace an existing/operating root file system associated with > device_A with a root file system on another device? With pivot_root(). > E.g., If Linux was booted with a ram disk as the root file system, then > after boot how could we switch to use a root file on a hard disk? This is exactly where pivot_root() is for. Both util-linux and BusyBox come with code that show you how to use it. Erik -- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ - Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ IRC Channel: irc.openprojects.net / #kernelnewbies Web Page: http://www.kernelnewbies.org/