Messages in this thread | | | From | (H. Peter Anvin) | Subject | Re: Linux's future: //posix/ipc, //root and so on ? | Date | 29 Feb 2000 13:11:36 -0800 |
| |
Followup to: <ADoh0luu76@khim.sch57.msk.ru> By author: "Khimenko Victor" <khim@sch57.msk.ru> In newsgroup: linux.dev.kernel > > I've just reread Linus's notes about IPC filesystem and to me idea about > metafiles "above" usual root looks great: //proc for /proc, //dev for devfs > and so on. No need to mount in every chroot environment, not need to manual > mount anything at all, easy change of root: just umount //root and mount > other thing there. And POSIX agrees that //root or //proc CAN be special > so all is correct. So just kernel changes are needed. Right ? Not quite: >
PLEASE PRETTY PLEASE don't use //. It causes HUGE amounts of trouble, since // frequently shows up due to (inappropriate) concatentation of paths, or is removed due to overly happy canonicalization.
If you're going to use over-paths use /.. instead.
However, I don't see any reason to use above-root paths at all... especially for stuff like the ipc filesystem. Just mount it as usual.
-hpa -- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot."
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |