Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Ulf@argo.kib.ki.se (Ulf Kronman)
Subject: Re: CAP on OSF1 - problems with Appleshare volume size
Date: Mon, 24 Jan 1994 12:36:53 GMT	[thread overview]
Message-ID: <Ulf-240194133654@calypso.kib.ki.se> (raw)
In-Reply-To: Ulf-200194133042@calypso.kib.ki.se

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
_____________________________________________________________________


  reply	other threads:[~1994-01-24 12:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-01-20 12:30 CAP on OSF1 - problems with Appleshare volume size Ulf Kronman
1994-01-24 12:36 ` Ulf Kronman [this message]
1994-01-25  7:05   ` David Hornsby
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