Rename bug?
Ron Natalie
ron at topaz.rutgers.edu
Wed Jun 1 07:12:58 AEST 1988
> Then maybe you like the interval between unlink() and link()
> when your files don't exist.
This is completely absurd. From day 1 on UNIX the way to rename
files is to link the file to the new name and unlink the old one.
There is no way to do otherwise (what arguments are you going to
provide to link?). There is not now, or ever has been a period of
time that the file "doesn't exist." Once a file has no links in
UNIX, it requires FSCK or someone very talented at manipulating the
raw disks to put it back.
-Ron
More information about the Comp.unix.questions
mailing list