Re: Linux's future: //posix/ipc, //root and so on ?

From: H. Peter Anvin (hpa@transmeta.com)
Date: Tue Feb 29 2000 - 16:11:36 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 29 2000 - 21:00:23 EST