* statfs() block size
@ 1994-09-22 13:15 Joe Seigh
1994-09-22 16:20 ` Carl J Appellof
0 siblings, 1 reply; 2+ messages in thread
From: Joe Seigh @ 1994-09-22 13:15 UTC (permalink / raw)
What is the blocksize for the blocks referred to in f_blocks returned
by statfs()? It's definitely not f_bsize, though that's what it appears
to be on all other platforms.
Joe Seigh
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: statfs() block size
1994-09-22 13:15 statfs() block size Joe Seigh
@ 1994-09-22 16:20 ` Carl J Appellof
0 siblings, 0 replies; 2+ messages in thread
From: Carl J Appellof @ 1994-09-22 16:20 UTC (permalink / raw)
In article <CwJ8uD.H8u@hawnews.watson.ibm.com> mouser@watson.ibm.com (Joe Seigh) writes:
> What is the blocksize for the blocks referred to in f_blocks returned
> by statfs()? It's definitely not f_bsize, though that's what it appears
> to be on all other platforms.
Read /usr/include/sys/mount.h to get the answer.
int f_fsize; /* fundamental filesystem block size */
int f_bsize; /* optimal transfer block size */
Use f_fsize.
--
Carl J. Appellof (cja@chmist.zso.dec.com)
Storage Management Group
POLYCENTER NetWorker Save and Restore
Digital Equipment Corporation
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-09-22 16:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-09-22 13:15 statfs() block size Joe Seigh
1994-09-22 16:20 ` Carl J Appellof
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox