From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4665851d4d2b209f,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-09-22 11:24:03 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!news.dell.com!tadpole.com!uunet!svc.portal.com!decwrl!pa.dec.com!usenet.pa.dec.com!cja From: cja@chmist.zso.dec.com (Carl J Appellof) Newsgroups: comp.sys.dec Subject: Re: statfs() block size Date: 22 Sep 1994 16:20:30 GMT Organization: Digital Equipment Corporation, Palo Alto, CA, USA Message-ID: References: NNTP-Posting-Host: chmist.zso.dec.com In-reply-to: mouser@watson.ibm.com's message of Thu, 22 Sep 1994 13:15:49 GMT In article 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