devfs
[Top] [All Lists]

Re: why mount --bind for permissions?

To: Eric Sandeen <sandeen@xxxxxxx>
Subject: Re: why mount --bind for permissions?
From: Richard Gooch <rgooch@xxxxxxxxxxxxx>
Date: Thu, 19 Apr 2001 13:44:03 +1000
Cc: devfs@xxxxxxxxxxx
In-reply-to: <3ADE5BBF.CEE82281@xxxxxxx>
References: <3ADE5BBF.CEE82281@xxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Eric Sandeen writes:
> I was experimenting with saving permissions in /dev via devfsd, and I
> was wondering - why is 
> 
> mount --bind /dev-state /dev
> 
> necessary?  It seems that 
> 
> REGISTER     .*      COPY    /dev-state/$devname $devpath
> CHANGE       .*      COPY    $devpath /dev-state/$devname
> CREATE       .*      COPY    $devpath /dev-state/$devname
> 
> in devfsd.conf would copy everything back and forth whenever appropriate
> - I'm not that familiar with "mount --bind" - but what does it add to
> the equation?  Sorry if I'm being dense.  :)

The FAQ tells what what the difference is.

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>