From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9704b68757fe5ed9 X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-01-24 05:49:05 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!kidec.cmb.ki.se!calypso.kib.ki.se!user From: Ulf@argo.kib.ki.se (Ulf Kronman) Subject: Re: CAP on OSF1 - problems with Appleshare volume size Message-ID: Followup-To: comp.unix.osf.osf1 Sender: news@kidec.cmb.ki.se (USENET News System) Nntp-Posting-Host: calypso.kib.ki.se Organization: Library of Karolinska Institute, Stockholm, Sweden References: Date: Mon, 24 Jan 1994 12:36:53 GMT DEC OSF1 statfs() problem is solved. I got fast help with my volume size problem from the clever CAP people: From: djh@cs.mu.OZ.AU Hello. Apparently OSF/1 uses different fields in the statfs() structure. Please apply the following patch. *** applications/aufs/afpos.c.orig 1994/01/15 01:07:52 --- applications/aufs/afpos.c 1994/01/15 01:08:51 *************** *** 2391,2397 **** } # else /* sgi || apollo */ if (statfs(path, &fsbuf) >= 0) { ! #ifdef __386BSD__ /* * on 386/BSD, the block size is in f_fsize * and f_bsize is the optimum transfer size --- 2391,2397 ---- } # else /* sgi || apollo */ if (statfs(path, &fsbuf) >= 0) { ! #if defined(__386BSD__) || defined(__osf__) /* * on 386/BSD, the block size is in f_fsize * and f_bsize is the optimum transfer size _____________________________________________________________________ Ulf Kronman KIBIC Vox: +46 8 7286846 Systems Engineer Box 200 Fax: +46 8 301739 S-171 77 Stockholm E-mail: Ulf.Kronman@kib.ki.se SWEDEN _____________________________________________________________________