From: cja@chmist.zso.dec.com (Carl J Appellof)
Subject: Re: statfs() block size
Date: 22 Sep 1994 16:20:30 GMT [thread overview]
Message-ID: <CJA.94Sep22092030@chmist.zso.dec.com> (raw)
In-Reply-To: mouser@watson.ibm.com's message of Thu, 22 Sep 1994 13:15:49 GMT
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
prev parent reply other threads:[~1994-09-22 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-09-22 13:15 statfs() block size Joe Seigh
1994-09-22 16:20 ` Carl J Appellof [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox