what are st_blksize and st_blocks exactly?

Guy Harris guy at auspex.auspex.com
Tue Jul 17 03:50:52 AEST 1990


>>st_blksize is the file system block size, usually 8K on BSD derived systems.
>
>Watch out for this "usually 8K" assumption; it has caused no end of grief.
>I worked on a file system recently which was based on variable length
>extents;

Yes, and I think Pyramid may support a 16K block size; this causes
programs such as one version of "ex", which assumed you'll *never* have a
block size bigger than 8K, no end of grief.



More information about the Comp.unix.wizards mailing list