Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
netikras1977821ddu -sh /home
in unix/linux everything is a file. A directory - too. And so it happens that the directory file size in ext is no less than a single filesystem's block [4kb by default in ext].
Not sure about other filesystems.. I think I've seen the same thing in FATs too. So it could be not a filesystem but rather a *nux thing
edit: directories containing large numbers of files in their first level have bigger size, because they need more space to keep all the files' records. That size will still be a "n X <block_size>"
jesustricks295921dYeah, I was hoping to not need to scan 50% of my drive to find out the weight of my home dir
The -x flag will keep du from counting data in other filesystems.
magicMirror651921ddu -d 1 -h