"This patch makes "df ." work in AFS directories under Solaris 8.
(df looks in /etc/mnttab, which is obtained from the kernel, for
the device number and then does a pwd-style walk up the tree..
Currently the device number gets set to 0x100000 by default which
doesn't match the 0x1234 device number of AFS vnodes.)"
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;