[CentOS] mbox files - can they be "compacted"?

John R Pierce pierce at hogranch.com
Tue Apr 15 05:16:46 UTC 2014


On 4/14/2014 9:51 PM, Les Mikesell wrote:
> Even if modern systems sort-of handle it, it still seems like a bad
> thing to do when you consider that opening a file for writing has to
> atomically decide whether that name already exists before creating it
> - so other concurrent create/delete operations have to be blocked.

the better file systems (xfs, zfs, ntfs  at least) use a b-tree 
directory structure, so finding a filename out of 10s of 1000s is very 
little overhead.



-- 
john r pierce                                      37N 122W
somewhere on the middle of the left coast




More information about the CentOS mailing list