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

From: Oystein Viggen (
Date: Thu Jun 01 2000 - 05:50:48 EST

Chris Wedgwood spake thus:

> 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/
> Is that what you mean?

Is it possible to do something similar with just one file? The ability
to mount /dev/log inside a chroot jail would be nice, as this can not
easily be solved by filesystem links.

Something like:
 # mount -t file /dev/log /home/bind/dev/log


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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