Re: equivalent of Linux mount -o bind

2011-02-02 Thread travis+ml-openbsd-misc
On Fri, Jan 28, 2011 at 03:52:53PM -0800, Travis H. wrote: So I'm curious if there's something in OpenBSD that's similar to the mount -o bind /dir1 /dir2 to make dir1 appear where dir2 is. For those who asked, one sample use is for something like this: Starting with the 2.4-series Linux

Re: equivalent of Linux mount -o bind

2011-02-02 Thread Kevin Chadwick
On Wed, 2 Feb 2011 09:13:04 -0800 travis+ml-openbsd-m...@subspacefield.org wrote: I have it on fairly good authority that this behavior is considered a bug in the Linux kernel So what's wrong with user rights and what exactly is the use of this (when this bug is fixed) apart from for confusion

Re: equivalent of Linux mount -o bind

2011-02-02 Thread john slee
On 3 February 2011 03:13, travis+ml-openbsd-m...@subspacefield.org wrote: Update: I have it on fairly good authority that this behavior is considered a bug in the Linux kernel, which will be fixed as soon as someone gets around to it. If you are a kernel maintainer and know more about this

Re: equivalent of Linux mount -o bind

2011-01-29 Thread Stuart Henderson
On 2011-01-28, Travis H. tra...@bitrot.info wrote: So I'm curious if there's something in OpenBSD that's similar to the mount -o bind /dir1 /dir2 to make dir1 appear where dir2 is. I think an nfs loopback mount is the closest thing. I seem to recall a mount_nullfs but don't see it in the

equivalent of Linux mount -o bind

2011-01-28 Thread Travis H.
So I'm curious if there's something in OpenBSD that's similar to the mount -o bind /dir1 /dir2 to make dir1 appear where dir2 is. I seem to recall a mount_nullfs but don't see it in the latest OpenBSD. Please note that I'm not trying to start a flame war, so there's no need to make Linux