Re: question about directory size in linux..

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 23 Feb 2017 07:27:05 +1100
Anthony K <akcentos@xxxxxxxxxx> wrote:

> On 23/02/17 06:04, John R Pierce wrote:
> > on many modern file systems, larger directories are stored as some 
> > sort of B-Tree or hash tree, so there's quite a lot of indexing
> > data in there along with the actual directory entries   
> So I gather this depends on the file system.
> 
> On my ext4 file system, I have a directory that has >2TB and the 
> directory entry itself only shows:
> 
> $ ls -ld Stuff
> drwxrwxr-x 146 akk akk   36864 Feb 21 21:18 Stuff/
> 
> $ du -bs Stuff
> 2093651427987    Stuff
> 
> Not sure what to take away from that!

certainly sounds like (-) bs

d

> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos



-- 
In modern fantasy (literary or governmental), killing people is the
usual solution to the so-called war between good and evil. My books are
not conceived in terms of such a war, and offer no simple answers to
simplistic questions.

----- Ursula Le Guin
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux