3 ms·
Any idea why 2 is so common? This same trend shows up on my system and seems to be caused by 102-byte files.
by madcaptenor 11y ago
Any idea why 2 is so common? This same trend shows up on my system and seems to be caused by 102-byte files.
- jzwinck 11y agoGood question. On OS X it seems the size of a directory is typically a multiple of 102 bytes (often 102 or 306). I ran my script again with "find / -type f" to select only regular files, and it showed file sizes ending in 2 being just slightly more common than 0. Odd sizes are still less common than even ones, though, so the overall conclusion is unchanged regardless of whether you consider checksumming of directory entries to be a valid application.