"du" in C

Andre Landwehr andre.landwehr at gmx.net
Fri Jul 12 17:13:01 CEST 2002


On Fri, Jul 12, 2002 at 05:06:56PM +0200, Florian Lohoff wrote:
> Die frage ist was du machen moechtest - Um die bloecke die die
> datei im filesystem belegt wuerde man st_size durch die st_blocksize
> teilen und aufrunden denke ich jetzt mal.

Wenn ich für mein ext2 root filesystem die st_blksize abfrage,
bekomme ich 4096, wenn ich ioctl(FIGETBSZ) abfrage, bekomme ich
1024. Was sagt mir das?

Andre

--
"The inside of a computer is as dumb as hell, but it goes like mad!"
(Physicist Richard Feynman)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20020712/8dbe2d78/attachment.sig>


More information about the Linux mailing list