Re: Can't hardlink in different dirs. (BUG#826)

Alexander Viro (viro@math.psu.edu)
Sun, 5 Dec 1999 08:43:26 -0500 (EST)


On Sun, 5 Dec 1999, Brandon S. Allbery KF8NH wrote:

> In message <19991203214927.A391@bug.ucw.cz>, Pavel Machek writes:
> +-----
> | You might want to put file called rm containing this
> |
> | #!/bin/bash
> | > $1; rm $1
> +--->8
>
> "/bin/rm" there, unless you like fork bombs.

I'ld say... First of all, calling _that_ rm is hardly a good idea - one
day you'll want to do normal rm. And that's aside of the effect of
rm -rf foo ...

-
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/