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

Miles Bader
2003-02-28T01:29:19Z

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.