Messages in this thread |  | | From | "H. Peter Anvin" <> | Subject | Re: / on ramfs, possible? | Date | 29 Oct 2000 23:34:01 -0800 |
| |
Followup to: <200010300727.IAA12250@hell.wii.ericsson.net> By author: Anders Eriksson <aer-list@mailandnews.com> In newsgroup: linux.dev.kernel > > I want my / to be a ramfs filesystem. I intend to populate it from an > initrd image, and then remount / as the ramfs filesystem. Is that at > all possible? The way I see it the kernel requires / on a device > (major,minor) or nfs. > > Am I out of luck using ramfs as /? If it's easy to fix, how do I fix it? >
Use pivot_root instead of the initrd stuff in /proc/sys.
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot." http://www.zytor.com/~hpa/puzzle.txt - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |