[OpenAFS] df problems with /afs

Nickolai Zeldovich kolya@MIT.EDU
Fri, 29 Jun 2001 15:50:03 -0400


> 	We have installed OpenAFS v1.0.4 on a Sun Netra T1 running Solaris 8.  
> The machine is acting as both a server and a client (for testing).  Everything
> seems to be working okay except for the "df" command.

This has been fixed in the CVS tree; if you want to stay with 1.0.4,
you can just rebuild with that particular patch, attached below.

-- kolya

--- afs/SOLARIS/osi_vfsops.c	2001/04/14 17:34:33	1.5
+++ afs/SOLARIS/osi_vfsops.c	2001/05/22 23:50:09
@@ -49,6 +49,7 @@
     afsp->vfs_bsize = 8192;
     afsp->vfs_fsid.val[0] = AFS_VFSMAGIC; /* magic */
     afsp->vfs_fsid.val[1] = AFS_VFSFSID; 
+    afsp->vfs_dev = AFS_VFSMAGIC;
 
     AFS_GUNLOCK();
     return 0;