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

Re: /usr/lib vs /usr/libexec

In article <[🔎] 871x8ek5vd.fsf@becket.becket.net> you wrote:
> How many directory entries do you think fit in a block?

If I see this right I habe 80blocks for 756 entries:

# ls -a | wc -l
# ls -lsd
80 drwxr-xr-x  122 root root 57344 May 10 06:34 ./

Most likely in dache. Still a lot to traverse.

Ext2 direntry is 8bytes plus filename  (or onlined symlinks, which you have
a lot on /usr/lib). In my case 54bytes per entry.

Of course this are 512byte blocks in 10 4 chunks.


Reply to: