From: Art Boulatov <art@ksu.ru>
To: linux-kernel@vger.kernel.org
Cc: Russell King <rmk@arm.linux.org.uk>,
Mike Galbraith <mikeg@wen-online.de>
Subject: union mounts WAS: pivot_root & linuxrc problem
Date: Fri, 16 Mar 2001 17:05:41 +0300 [thread overview]
Message-ID: <3AB21DB5.7030105@ksu.ru> (raw)
In-Reply-To: <Pine.LNX.4.33.0103160822350.1057-100000@mikeg.weiden.de>
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.
next prev parent reply other threads:[~2001-03-16 14:12 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-15 13:16 pivot_root & linuxrc problem Art Boulatov
2001-03-15 21:11 ` Mike Galbraith
2001-03-15 22:41 ` Russell King
2001-03-16 8:54 ` Mike Galbraith
2001-03-16 12:34 ` Art Boulatov
2001-03-16 14:05 ` Art Boulatov [this message]
2001-03-16 17:37 ` union mounts WAS: " Guest section DW
2001-03-16 23:33 ` Bernd Eckenfels
2001-03-17 10:54 ` Mike Galbraith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AB21DB5.7030105@ksu.ru \
--to=art@ksu.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=mikeg@wen-online.de \
--cc=rmk@arm.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox