66fa281751
spit out two error lines for a bogus filesystem type, e.g: root@time-> mount -t foo /dev/sd0a /mnt mount: exec /sbin/mount_foo for /mnt: No such file or directory mount: exec /usr/sbin/mount_foo for /mnt: No such file or directory But I would submit that if you're even going to scan multiple directories for a mount_foo (which I actually think is somewhat bogus - if it's not in /sbin, you're probably in big trouble anyway), you should emit an error for each one. I got multiple complaints (in addition to the PR) that the existing behavior was very confusing. |
||
---|---|---|
.. | ||
getmntopts.3 | ||
getmntopts.c | ||
Makefile | ||
mntopts.h | ||
mount_ufs.c | ||
mount.8 | ||
mount.c | ||
pathnames.h |