lkml.org 
[lkml]   [2003]   [Feb]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: About /etc/mtab and /proc/mounts
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.073 / U:0.976 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site