Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Nov 2003 12:41:05 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
To:        Pawel Jakub Dawidek <nick@garage.freebsd.pl>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: "secure" file flag?
Message-ID:  <xzp65hegd9q.fsf@dwp.des.no>
In-Reply-To: <20031121095939.GS511@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Fri, 21 Nov 2003 10:59:40 %2B0100")
References:  <20031119003133.18473.qmail@web11404.mail.yahoo.com> <200311201327.29226.wes@softweyr.com> <20031121095939.GS511@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek <nick@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
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzp65hegd9q.fsf>