Re: [patch] rm can have undesired side-effects
- From: Borja Marcos <BORJAMAR@xxxxxxxxxx>
- Date: Mon, 30 Oct 2006 02:26:28 +0100
That maybe the case but does rm -f <file> remove all copies?
Nope so its behaviour is safe even with multiple hardlinks.
No. rm unlinks a file from a directory. If the file had no more links, it is deleted as well.
There's no surprise at all on the behavior of rm with hard links.
Borja.
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- References:
- [patch] rm can have undesired side-effects
- From: Romain Tartiere
- Re: [patch] rm can have undesired side-effects
- From: Joerg Pernfuss
- Re: [patch] rm can have undesired side-effects
- From: Steven Hartland
- [patch] rm can have undesired side-effects
- Prev by Date: Re: [patch] rm can have undesired side-effects
- Next by Date: Re: [patch] rm can have undesired side-effects
- Previous by thread: Re: [patch] rm can have undesired side-effects
- Next by thread: Re: [patch] rm can have undesired side-effects
- Index(es):