On Sat, 7 Jan 2006 08:26:00 +0100
Anders Johansson
On Saturday 07 January 2006 07:53, kanenas@hawaii.rr.com wrote:
The files showed deleted, but df showed hardly any free space. somehow, about 15-20 gb of space had gone missing!!!!
I'm not familiar with the details of lxdvdrip, but there is one thing that might have happened that could explain things. A file in linux is defined by its hard links. A hard link, briefly put, is an entry in a directory. A file has at least one, and can have several. When you run "rm" on a "file" what you are really doing is deleting a hardlink pointing to the file. But the file isn't really deleted until the last hardlink pointing to it is gone. Very good explanation Anders. Just one additional issue that people don't think of, A file can also have no hard links. This can happen when a file is open, but someone removed the hard link with the rm command. The file is not deleted until the using program closes the file. -- Jerry Feldman
Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9