Re: About /etc/mtab and /proc/mounts

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Thu Feb 27 2003 - 20:37:35 EST


miquels@cistron-office.nl (Miquel van Smoorenburg) writes:
> So why not mount rootfs on '//', mount the real rootfilesystem
> on //root, then chroot to //root (while keeping it possible to
> chdir("//") ).

Because it's _extremely_ common for `//...' to be generated by tools
constructing pathnames, when what's really meant is `/...' (which is
fine, because normally it makes no difference).

> Apollo/DomainOS had this '//' thing, used for something different
> (it was the equivalent of their /net autofs mountpoint) but it
> worked quite well and didn't get in the way of normal '/' operation.

Really? I'm skeptical...

-Miles

-- 
I'd rather be consing.
-
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/



This archive was generated by hypermail 2b29 : Fri Feb 28 2003 - 22:00:46 EST