"secure" file flag?

Dag-ErlingSmørgrav des at des.no
Fri Nov 21 03:41:15 PST 2003


Pawel Jakub Dawidek <nick at garage.freebsd.pl> writes:
> If this operation is able to fail (and of course it is) it should block
> on unlink(2).

FreeBSD is not DOS; unlink(2) does not actually remove the file.  It
is removed by the filesystem if the link count is zero when the vnode
is released, which may be immediately after the unlink(2) call, or an
indefinite amount of time later if the file was open at the time.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the freebsd-hackers mailing list