Date: Fri, 24 Dec 1999 00:24:25 -0500 (EST) From: Mikhail Teterin <mi@kot.ne.mediaone.net> To: questions@freebsd.org, stable@freebsd.org Subject: fstat(2) not filling st_blksize? Message-ID: <199912240524.AAA18524@rtfm.newton>
next in thread | raw e-mail | index | archive | help
Whatever the filesystem I try (ufs, nfs, cd9660, mfs) I get the st_blksize as zero after fstat(2)-ing the file on it. The st_size field is filled properly: mi@rtfm:~/bz (1250) ./s /cdrom0/aagtwy size: 220161, blksize: 0 mi@rtfm:~/bz (1251) ./s /mfs/consumerform.html size: 14953, blksize: 0 mi@rtfm:~/bz (1252) ./s /cdrom0/aagtwy size: 220161, blksize: 0 mi@rtfm:~/bz (1253) ./s /kernel size: 2034286, blksize: 0 Any comments? Thanks! -mi P.S. This is FreeBSD rtfm.newton 3.4-STABLE FreeBSD 3.4-STABLE #0: Fri Dec 17 08:49:51 EST 1999 mi@rtfm.newton:/usr/src/sys/compile/RTFM2 i386 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912240524.AAA18524>