Mailinglist Archive: opensuse (1473 mails)

< Previous Next >
Re: [opensuse] Accessing a partition more than once (ar equivalent functionality)
  • From: "Boyd Stephen Smith Jr." <bss@xxxxxxxxxxxxxxxxx>
  • Date: Thu, 18 Jun 2009 10:10:50 -0500
  • Message-id: <200906181010.51034.bss@xxxxxxxxxxxxxxxxx>
In <1245335778.4725.75.camel@xxxxxxxxxxxx>, Roger Oberholtzer wrote:
On Thu, 2009-06-18 at 09:18 -0500, Boyd Stephen Smith Jr. wrote:
In <qf2k35tc9k7pkropr7petuotc3pbg994ma@xxxxxxx>, Philipp Thomas wrote:
On Wed, 17 Jun 2009 12:55:12 +0200, you wrote:
Hmm. I mount the /proc in my chroot, but without the --bind

Which isn't a very good idea. Binding mounts are the only clean way to
mount something multiple times in different places.

From what I understand, that's not true of the "sysfs" and "proc" (and a
few other) virtual file systems. They can be mounted as many times as
needed without the use of --bind.

It would sort of make sense, as /proc is read-only, right?

Not at all, but reads/writes to "files" in proc are handled not by
reading/writing the bits from/to some medium, but rather
receiving/presenting them from/to specific kernel functions.

In particular, there are still a number of tunable parameters under
/proc/sys, IIRC.
--
Boyd Stephen Smith Jr. ,= ,-_-. =.
bss@xxxxxxxxxxxxxxxxx ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/ \_/

< Previous Next >
Follow Ups