Re: Loopback (dir->dir) mounting (NOT -o loop)

From: Chris Wedgwood (cw@f00f.org)
Date: Thu Jun 01 2000 - 04:21:31 EST


On Wed, May 31, 2000 at 11:30:36PM -0400, Dave Cinege wrote:

    If I'm an idiot and this can already be done somehow please
    belittle me, show me the way.

[root:12] metastasis:~# mkdir /tmp/demo
[root:12] metastasis:~# mount -t bind /var/spool/postfix/ /tmp/demo/
[root:12] metastasis:~# ls -l /tmp/demo/
total 52
drwx------ 2 postfix root 12288 Jun 1 21:18 active/
drwx------ 2 postfix root 4096 May 30 23:11 bounce/
drwx------ 2 postfix root 4096 Mar 25 1999 corrupt/
drwx------ 18 postfix root 4096 May 31 1999 defer/
drwx------ 2 postfix root 4096 May 31 09:00 deferred/
drwx------ 2 postfix root 4096 Jun 1 21:18 incoming/
drwx-wx-wt 2 postfix root 4096 Jun 1 21:11 maildrop/
drwxr-xr-x 2 postfix root 4096 Mar 25 1999 pid/
drwx------ 2 postfix root 4096 May 31 22:08 private/
drwxr-xr-x 2 postfix root 4096 May 31 22:08 public/
drwx------ 2 postfix root 4096 Mar 25 1999 saved/
[root:12] metastasis:~#

Is that what you mean?

  --cw

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:11 EST