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

From: Kenneth C. Arnold (kcarnold@yahoo.com)
Date: Thu Jun 01 2000 - 23:51:46 EST


On Thu, Jun 01, 2000 at 04:03:15PM -0700, H. Peter Anvin wrote:
> Followup to: <Pine.GSO.4.10.10006011649160.17448-100000@weyl.math.psu.edu>
> By author: Alexander Viro <viro@math.psu.edu>
> In newsgroup: linux.dev.kernel
> >
> >
> >
> > On Thu, 1 Jun 2000, Pavel Machek wrote:
> >
> > > That will surely confuse hell out of the backup utility. It is
> > > probably going to confuse autoclean.
> >
> > And you allow your backups freely span the filesystem boundaries? I've
> > learnt not to do it _really_ hard way. Even harder was the autocleaner -
> > ever went "uh, /mnt is already busy, let's mount it for an hour under
> > /tmp/foo... Oh, FSCK! Let's hope these tapes are alive and there goes
> > my fscking weekend..."?
> >
> > The point being: you should protect yourself against your own fsckups - no
> > user will ever come anywhere near the crap you can inflict upon yourself
> > at 4:55pm on Friday.
> >
>
> But seriously, though... think of:
>
> mount -t bind /home/user /home/user/again
>
> Looking at dev_t won't help you, so your backup will recurse indefinitely.

Actually, no.

# mkdir /home/test
# mkdir /home/test/again
# mount -t bind /home/test /home/test/again
# ls /home/test
again
# ls /home/test/again
# echo "Not."
Not.

But I would like a fs that _could_ do that.

Kenneth

-
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:13 EST