On Sunday 17 July 2011 18:18:58 Michael Sullivan did opine thusly: > Does this make sense: > > camille mysql # du -h > 572K ./mysql > 8.0K ./test > 239M ./mythconverg > 128K ./vpopmail > 152K ./myFantasy > 120K ./pmadb > 332K ./wikidb > 36K ./mysql_cpp_data > 592K ./forum > 124K ./movies > 84K ./myusers > 4.4M ./mythconverg.bak > 21G . > > > I'm pretty sure those number don't add up to 21G. So why is it > saying they do???
You have to understand what du is measuring, and that you are not supposed to add the numbers up. ./ is 21G Then, each individual directory is listed with it's total. The difference is the *files* in . Run ls -al and you'll see a bunch of files there that will add up to 21G > > On 07/17/11 18:11, Neil Bothwick wrote: > > On Sun, 17 Jul 2011 17:48:28 -0500, Michael Sullivan wrote: > >> What should I do about the *-bin files in /var/lib/mysql? > >> I've dropped the databases I've created and don't need > >> anymore, but there's still a lot of files in there, and it's > >> still 21G. There are several files there dated 2008 that are > >> also on another computer. How do I safely remove them? > > > > With rm. -- alan dot mckinnon at gmail dot com

