Re: rationale for "mount --bind"

2002-05-28 Thread Cameron Simpson

On 10:39 28 May 2002, rpjday <[EMAIL PROTECTED]> wrote:
|   with the 2.4 kernel, there is a "--bind" option for the mount
| command that allows one to mount a directory already mounted on
| a filesystem to another mount point.
|   can anyone supply a really compelling rationale for doing this?

chroot

Supposing you're building a chrooted environment but want some handy
filesystem with your users' dirs or some web directories visible. A
symlink won't work in a chrooted setup (after all, that's what chroot's
_for_!)
--
Cameron Simpson, DoD#743[EMAIL PROTECTED]http://www.zip.com.au/~cs/

We're supposed to be the guys with Freedom and Democracy right?
Well, how come the Russians get to shell their Parliament and we don't
get to do it to ours?
Mike Holmes, [EMAIL PROTECTED]



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



Re: rationale for "mount --bind"

2002-05-28 Thread Statux

Well, if I understand correctly, say you mount something to some directory
but later find that you want it elsewhere (ie. you mount a cd to
/mnt/floppy out of haste, but later correct yourself by --bind'ing it to
/mnt/cdrom). It's merely a convenience thing cause stuff might be running
on the mounted partition preventing you from unmounting it to remount it
elsewhere. That's MY understanding.. but who knows?

On Tue, 28 May 2002, rpjday wrote:

>
>   with the 2.4 kernel, there is a "--bind" option for the mount
> command that allows one to mount a directory already mounted on
> a filesystem to another mount point.
>
>   can anyone supply a really compelling rationale for doing this?
> thanks.
>
> rday
> k
>
>
>
> ___
> Redhat-list mailing list
> [EMAIL PROTECTED]
> https://listman.redhat.com/mailman/listinfo/redhat-list
>

-- 




___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list



rationale for "mount --bind"

2002-05-28 Thread rpjday


  with the 2.4 kernel, there is a "--bind" option for the mount
command that allows one to mount a directory already mounted on
a filesystem to another mount point.

  can anyone supply a really compelling rationale for doing this?
thanks.

rday
k



___
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list