Show only the related mount points for the specified filesystem(s) when
option -t is used.
Obtained-from: FreeBSD
rv = 1;
continue;
}
+ /*
+ * Check to make sure the arguments we've been given are
+ * satisfied. Return an error if we have been asked to
+ * list a mount point that does not match the other args
+ * we've been given (-l, -t, etc.).
+ */
+ if (checkvfsname(statfsbuf.f_fstypename, vfslist)) {
+ rv = 1;
+ continue;
+ }
+
if (argc == 1) {
bzero(&maxwidths, sizeof(maxwidths));
update_maxwidths(&maxwidths, &statfsbuf, &statvfsbuf);