On 03/11/2018 07:19 PM, Stephen Morris wrote:
On 12/3/18 10:48 am, Philip Rhoades wrote:
JD, Gordon, Robert,
On 2018-03-12 06:13, Robert Nichols wrote:
On 03/11/2018 01:48 PM, Philip Rhoades wrote:
I started deleting GBs of stuff from:
but df did not reduce from 95% so I looked more closely and found this
# du -s -BG 20180216
# du -s -BG 20180216/*
# du -s -BG 20180216/phil/*
Where has ~37GB disappeared to? There are no files held open and I have
successfully umounted and re-mounted the partition - what is going on?
That "du -s -BG 20180216/phil/*" is ignoring any "dot"
files/directories under 20180216/phil .
It's better to leave out the "-s" option and use the "--max-depth"
option to limit the depth of the display.
du -BG --max-depth=1 20180216/phil
Damn, I should have thought of that - normally, outside of .config, there would
not be much in my dot dirs - but I had been experimenting with cryptocurrency
nodes . .
Thanks for the useful tips!
Just one question on this, is the scaling that the -BG screwing around with the
results of du as shown below?
bash-4.4$ du -s -BG /home/steve
bash-4.4$ du -s -BG /home/steve/*
du -s -BG /home/steve/workspace/*
Of course it is. Any size greater than 0 and not exceeding 1GB will show as 1G. It's
answering the question, "How many blocks 1GB in size would it take to hold
this?" Anything of non-zero size will take at least 1 such block.
So, your "workspace" directory contains 8 things, none of which is larger than
1G, and the total space for all of them is also less than 1G.
Bob Nichols "NOSPAM" is really part of my email address.
Do NOT delete it.
users mailing list -- firstname.lastname@example.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org