[OT] Hardlinks and directories

Bruno Wolff III bruno at wolff.to
Fri Feb 12 15:29:14 UTC 2010


On Fri, Feb 12, 2010 at 07:04:58 -0800,
  Don Quixote de la Mancha <quixote at dulcineatech.com> wrote:
> 
> Not just no other user, but no other process of any kind - not even
> your own processes - will be able to locate the deleted files that you
> are holding open.  It will be very difficult for naive sysadmins to
> even figure out what is going on.  But the payload data will still
> exist on the disk, just like any other file.  I think the "lsof"
> command file show that you have an un-named file open, but other than
> reporting which filesystem it is part of, I don't think the actual
> location of the file can be discovered in any way.

lsof would allow you to find the processes that have the files open. And then
you could kill those processes to release the space. It looks like you should
be able to get size infomation of these files from lsof as well. So one
could script looking for processes that have large files open.


More information about the users mailing list