[lkml]   [2001]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectunion mounts WAS: pivot_root & linuxrc problem

One more thing I was wondering about,

is the pivot_root call the *final* implementation of the "root
filesystem changer" for kernle 2.4.*?

I've read about a new VFS extension, that allows multiple filesystems to be
stacked at a single mount point. As I have understood it allows to
*just* mount
a new filesystem over the old one and unmount the old one.
Is it finally going to come instead of pivot_root?

The reason I'm so interested is the opportunity
to freely change root, for example,
from initrd to harddrive, from harddrive to nfs-mount and so on..

For now I think (am I right?) I can modify sysV init with pivot_root and
chroot calls,
so that before going to runlevel 1 it will pivot_root & chroot to some
ramdisk for example,
and for runlevel 2 to nfs-mount. Just examples.

But what if I want to change the other partitions like /usr?
Like if workstation does not boot, because of harddrive messup,
I don't make user wait until it get fixed,
but mount all partitions over nfs (identical to those on harddrive),
let the user do his work,
and after localdrive fixup just mount the *real* partitions over the
nfs-mounted, and unmount nfs, all *transparently* to user.
In my understanding thats what a new VFS extension should offer. Am I right?
If so, does anybody know when it is planned to implement that if its not
I've seen new options for "mount" like --bind, --over, but didn't really
get how
they work or are they implemented at all.

Would be glad if anybody could help me with this question.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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