Re: Mounts with fs type 'none'

2001-09-27 Thread Marco d'Itri
On Sep 27, Steve Greenland [EMAIL PROTECTED] wrote:

 (And why does mount(8) document '--bind' but not '-t none' or '-o
 bind'?)
Because -o bind is the old API and you are not supposed to use it.

-- 
ciao,
Marco




Re: Mounts with fs type 'none'

2001-09-27 Thread wouter
On Wed, 26 Sep 2001, Steve Greenland wrote:

  mount -t none -o bind /somewhere /some/where/else
 
 Thanks. Does anything else use '-t none'?

Swapspace. But that's hardly an issue...

-- 
wouter dot verhelst at advalvas in Belgium

This is Linux world. On a quiet day, you can hear Windows reboot.




Mounts with fs type 'none'

2001-09-26 Thread Steve Greenland
I've a request to have checksecurity skip searching filesystems with
type 'none' (not device 'none'). A brief check leads me to believe that
these are result of mount --bind, which means that the mount in question
is either searched or skipped in its real location, and need not be
searched in its bind location. Is this correct? Are there other types
of mounts that lead to type=none in the output of 'mount'?

Thanks,
Steve
-- 
Steve Greenland [EMAIL PROTECTED]




Re: Mounts with fs type 'none'

2001-09-26 Thread Ethan Benson
On Wed, Sep 26, 2001 at 06:15:34PM -0500, Steve Greenland wrote:
 I've a request to have checksecurity skip searching filesystems with
 type 'none' (not device 'none'). A brief check leads me to believe that
 these are result of mount --bind, which means that the mount in question

correct, mount --bind is just a shortcut for:

mount -t none -o bind /somewhere /some/where/else

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpJ94Db6avqu.pgp
Description: PGP signature


Re: Mounts with fs type 'none'

2001-09-26 Thread Steve Greenland
On 26-Sep-01, 18:31 (CDT), Ethan Benson [EMAIL PROTECTED] wrote: 
 On Wed, Sep 26, 2001 at 06:15:34PM -0500, Steve Greenland wrote:
  I've a request to have checksecurity skip searching filesystems with
  type 'none' (not device 'none'). A brief check leads me to believe that
  these are result of mount --bind, which means that the mount in question
 
 correct, mount --bind is just a shortcut for:
 
 mount -t none -o bind /somewhere /some/where/else

Thanks. Does anything else use '-t none'?

(And why does mount(8) document '--bind' but not '-t none' or '-o
bind'?)

Steve

-- 
Steve Greenland [EMAIL PROTECTED]




Re: Mounts with fs type 'none'

2001-09-26 Thread Ethan Benson
On Wed, Sep 26, 2001 at 06:53:54PM -0500, Steve Greenland wrote:
 
 Thanks. Does anything else use '-t none'?

i don't know, not that i know of, but i wouldn't rule it out in the
future given `none' is pretty generic.

 (And why does mount(8) document '--bind' but not '-t none' or '-o
 bind'?)

i don't know that either.. i prefer the latter since its standard
usage of mount, it also makes it more clear that something like this
in /etc/fstab will (and does) work as expected:

/tmp/var/tmpnonebind0 0

-- 
Ethan Benson
http://www.alaska.net/~erbenson/


pgpUDvD8DPNqK.pgp
Description: PGP signature