Hi,

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 
yet?
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.

Thanks,
Art. 

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to