Messages in this thread |  | | | Date | Wed, 16 May 2001 16:24:01 -0700 | | From | "H. Peter Anvin" <> | | Subject | Re: [PATCH] rootfs (part 1) |
| |
Alexander Viro wrote: > > In full variant of patch I don't _have_ mount_root(9). It's done by > mount(2). Period. Initrd or not. Notice that rootfs stays absolute root > forever - it's much more convenient for fs/super.c, since you can get rid > of many kludges that way. So I'm not too happy about populating rootfs with > tons of files. BTW, loading initrd is done by open(2), read(2) and write(2) - > none of this fake struct file business anymore. >
OK, I see what you're doing now. However, I'm confused what you mean with "rootfs stays absolute root forever" -- does that mean that you mount the new root on top of /, and so the rootfs remains in the system never to be reclaimed, as opposed to pivot_root-ing it?
-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 More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |