Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- From: Roger Oberholtzer <roger@xxxxxx>
- Date: Wed, 17 Jun 2009 12:55:12 +0200
On Wed, 2009-06-17 at 12:31 +0200, Andreas Jaeger wrote:
On Wednesday 17 June 2009 12:25:20 Roger Oberholtzer wrote:
I know this is a strange question, but here goes:
I have three partitions. One is /home. The other two are different
versions of openSUSE. I boot one of them (obviously). I then mount the
other version as /otheros.
The thing is, I want to access /home as /home from the booted OS (that
works) as well as the other mounted OS. I chroot to the other OS mount
point when this is needed.
I guess the following works:
mount --bind /home /otheros/home
see man mount (8) for details about --bind.
The same I do for /proc and /dev already in chroots:
mount --bind /proc /otheros/proc
Hmm. I mount the /proc in my chroot, but without the --bind
Nonetheless, this did the trick. Thanks!
--
Roger Oberholtzer
OPQ Systems / Ramböll RST
Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden
Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- From: Philipp Thomas
- Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- References:
- [opensuse] Accessing a partition more than once (ar equivalent functionality)
- From: Roger Oberholtzer
- Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- From: Andreas Jaeger
- [opensuse] Accessing a partition more than once (ar equivalent functionality)
- Prev by Date: [opensuse] How to report bugs or feature requests ?
- Next by Date: Re: [opensuse] How to report bugs or feature requests ?
- Previous by thread: Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- Next by thread: Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- Index(es):
Relevant Pages
|