On Mon, 30 Oct 2006 02:43:58 +0100 Joerg Pernfuss <[EMAIL PROTECTED]> wrote:
> That would mean that `rm -P <file>' with <file> having a link count of
> at least 2, would behave like `rm <file>' (and like Romain suggested).
Correction after some `read the frakkin code':
if (sbp->st_nlink > 1) {
warnx("%s (inode %u): not overwritten due to multiple links",
file, sbp->st_ino);
return (0);
The link is removed, the file is not overwritten and a warning is generated.
Joerg
--
| /"\ ASCII ribbon | GnuPG Key ID | e86d b753 3deb e749 6c3a |
| \ / campaign against | 0xbbcaad24 | 5706 1f7d 6cfd bbca ad24 |
| X HTML in email | .the next sentence is true. |
| / \ and news | .the previous sentence was a lie. |
signature.asc
Description: PGP signature

