On Sun Jun 23 18:01:11 EDT 2013, [email protected] wrote:
> with 8K names, using base64, one could encode 6111 bytes of data in the
> name. i just did a quick inventory[*] of my $home; 74% of my files have
> less than 6112 bytes of data.
i was proposing a pointer, which could be nil.
i would put the pointer where the file name should
be—perhaps by setting the first 8 bytes to non-unicode
magic and the next 8 bytes to a pointer to the
direct name block.
so why not change nothing. the first 8180 bytes go
in the first direct block anyway.
btw, i have far fewer large files than you, but still 25%
of the ones bigger than 6112 bytes are smaller than
8180
; du -a .>[2=]|awk '$1>8180 {s++}END{print s/NR}'
0.00325015
; du -a .>[2=]|awk '$1>6112 {s++}END{print s/NR}'
0.00416286
- erik