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

From: H. Peter Anvin (
Date: Thu Jun 01 2000 - 18:03:15 EST

Followup to: <>
By author: Alexander Viro <>
In newsgroup:
> 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.


<> at work, <> in private!
"Unix gives you enough rope to shoot yourself in the foot."

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