I will also mention the GNU faq entry for it. Perhaps then it will
rank higher in the search engine space. :-)
http://www.gnu.org/software/coreutils/faq/#df-and-du-report-different-information
thanks, I will send this link to the sysadmin.
When I want to free up disk space used in a log file instead of
removing the file, which creates the above situation of large files
that no longer have a directory entry, instead of removing the file I
truncate it.
$ :> somelargefile
By truncating the file it is immediately reduced and the disk blocks
freed. The file isn't removed and therefore won't be lost from the
filesystem where du can't find it anymore. Any daemon that is still
writing to the file will still keep its file handle to it and will
continue to write to the file.
Bob
nice trick, they probably should have done that instead ;) Will keep
that in mind.
Thanks,
David.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/503498a6.6030...@asterion.fr