This is a discussion on Re: [patch] rm can have undesired side-effects - FreeBSD ; Simon L. Nielsen wrote: > Personally I think rm should do what you ask it to do - if you ask it > to overwrite a file which has multiple links, well... though luck. Sorry, I disagree. It's not always ...
Simon L. Nielsen wrote:
> Personally I think rm should do what you ask it to do - if you ask it
> to overwrite a file which has multiple links, well... though luck.
Sorry, I disagree. It's not always obvious to the user when a file has
hard links, and I can't see any situation where the pre-recent-patch
behavior (overwriting the actual file when using -P on a hard link) is
the expected outcome.
It's all well and good to say, "tough luck," but I don't think that's
what our users expect.
Doug
--
This .signature sanitized for your protection
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...reebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"