File System Type (statfs, sysfs)

Tim Roper timr at labtam.OZ
Tue Jun 7 10:14:44 AEST 1988


In article <480 at uniq.UUCP>, rjnoe at uniq.UUCP (Roger J. Noe) writes:
> ...
> 3.  I searched through 3.0 source code and the only time I found any program
> or library routine using f_fstyp after doing a statfs was in mount(1M) and
> under very specific circumstances:
> 	1. Neither -d nor -f options specified
> 	2. Pathname passed to statfs is "/"
> 	3. Followed by a sysfs(GETFSTYP) to get the fsname for this f_fstyp
> The resulting file system type name will never be DUFST.  (The purpose of this
> was to get the default fstyp for a local mount when no -f was specified.)
A diskless workstation with the root filesystem accessed via RFS springs to
mind :-)  Not that 3.0/RFS could do this as is ...
D



More information about the Comp.bugs.sys5 mailing list