←back to thread

68 points ingve | 1 comments | | HN request time: 0.723s | source
Show context
smitty1e ◴[] No.43711705[source]
> ZFS opts to report the physical block size of the file, which is probably the more useful number for the purposes of things like 'du'. However, it does leave us with no way of finding out the logical block size

If the filesystem is tantamount to a big fat .zip, then perhaps there is a requirement for a manifest of the logical file sizes somewhere.

Somehow I doubt that this problem hasn't already been solved.

replies(1): >>43712690 #
1. timewizard ◴[] No.43712690[source]
That problem isn't knowing this information at the fs level, it's conveying it to programs through the stat(3) interface, and the historical structure we're stuck with.