> On Mon, Jul 26, 2010 at 10:07:37AM -0600, Theo de Raadt wrote: > > This diff isn't quite right. There are no disklabels on NFS > > partitions; heck, there's no true disklabel on a MSDOS-only memory > > stick. The language you've written is too specific. > > How about the following? > > > --- sbin/mount/mount.8.orig Mon Jul 26 11:59:30 2010 > +++ sbin/mount/mount.8 Mon Jul 26 17:02:03 2010 > @@ -269,12 +269,16 @@ > The argument following the > .Fl t > is used to indicate the file system type. > -The type > -.Ar ffs > -is the default. > +If this option is omitted, then > +.Nm > +attempts to guess a file system type using > +.Ar special > +and > +.Xr readlabelfs 3 . > The > .Fl t > option can be used > +to override this behavior and > to indicate that the actions should only be taken on > file systems of the specified type. > More than one type may be specified in a comma separated list.
There is no readlabelfs() for NFS filesystems. You are being too specific in saying how it works.

