Re: bind-mounting files in mock

2009-03-27 Thread Clark Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Mar 2009 14:52:35 -0400 Jay Greguske jgreg...@redhat.com wrote: Hello, While trying to get livecd-creator working in a mock-built chroot, I discovered that only directories could be bind-mounted using the bind_mount plugin. I made

Re: bind-mounting files in mock

2009-03-27 Thread Jay Greguske
Hi Clark, If you're bind mounting a file, you have to bind it to an existing file, not a directory. Try touching /dev/myloop first, and then mounting the real loop device to it. Thanks, -jay Clark Williams wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Mar 2009 14:52:35

Re: bind-mounting files in mock

2009-03-27 Thread Clark Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wow, that's bizarre (but works). :) It's not described in the man page, so I'm a bit leery about depending on that behavior. That being said, it's not a normal use-case for mock builds, so it'll probably only bite the livecd creation stuff it the

Re: bind-mounting files in mock

2009-03-27 Thread Jesse Keating
On Fri, 2009-03-27 at 10:37 -0500, Clark Williams wrote: It's not described in the man page, so I'm a bit leery about depending on that behavior. That being said, it's not a normal use-case for mock builds, so it'll probably only bite the livecd creation stuff it the bind-mount behavior

Re: bind-mounting files in mock

2009-03-27 Thread Clark Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 27 Mar 2009 08:57:17 -0700 Jesse Keating jkeat...@redhat.com wrote: On Fri, 2009-03-27 at 10:37 -0500, Clark Williams wrote: It's not described in the man page, so I'm a bit leery about depending on that behavior. That being said, it's

Re: bind-mounting files in mock

2009-03-27 Thread Jeremy Katz
On Friday, March 27 2009, Jesse Keating said: On Fri, 2009-03-27 at 10:37 -0500, Clark Williams wrote: It's not described in the man page, so I'm a bit leery about depending on that behavior. That being said, it's not a normal use-case for mock builds, so it'll probably only bite the livecd

bind-mounting files in mock

2009-03-18 Thread Jay Greguske
Hello, While trying to get livecd-creator working in a mock-built chroot, I discovered that only directories could be bind-mounted using the bind_mount plugin. I made a few code changes and attached a patch for your consideration that enables the bind-mounting of files. Like directories, the