[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: deleting content of /tmp



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/24/07 20:45, CaT wrote:
> On Sat, Mar 24, 2007 at 08:38:54PM -0500, Ron Johnson wrote:
>>> However, realize that some programs create a file /tmp and then promptly
>>> unlink it, thus causing the file to take up space even though it does
>>> not have a directory entry.
>> How's that?
> 
> UNIX does not deallocate disk space until all opens are closed.

Sure, if there are {hard,soft} links on the file.  What if it's a
no-links file?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGBdZHS9HxQb37XmcRAlaOAJ9jvBhJAQwQkH+k682l7OIn8ebeTACgkix8
LwnAbXCUDAwqypENcP02vMg=
=jA/r
-----END PGP SIGNATURE-----



Reply to: