Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- From: Andreas Jaeger <aj@xxxxxxx>
- Date: Wed, 17 Jun 2009 12:31:04 +0200
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
...
chroot /otheros
Andreas
--
Andreas Jaeger, Director Platform / openSUSE, aj@xxxxxxx
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
Maxfeldstr. 5, 90409 Nürnberg, Germany
GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Attachment:
signature.asc
Description: This is a digitally signed message part.
- Follow-Ups:
- Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
- From: Roger Oberholtzer
- 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
- [opensuse] Accessing a partition more than once (ar equivalent functionality)
- Prev by Date: Re: [opensuse] Moving the database directories
- Next by Date: Re: [opensuse] Moving the database directories
- Previous by thread: [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
|