From owner-cvs-sbin Sun Mar 3 00:44:29 1996 Return-Path: owner-cvs-sbin Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA28774 for cvs-sbin-outgoing; Sun, 3 Mar 1996 00:44:29 -0800 (PST) Received: (from jkh@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA28759 Sun, 3 Mar 1996 00:44:24 -0800 (PST) Date: Sun, 3 Mar 1996 00:44:24 -0800 (PST) From: "Jordan K. Hubbard" Message-Id: <199603030844.AAA28759@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sbin Subject: cvs commit: src/sbin/mount mount.c Sender: owner-cvs-sbin@FreeBSD.ORG Precedence: bulk jkh 96/03/03 00:44:24 Modified: sbin/mount mount.c Log: Close PR#17. This may be a contraversal fix in that now mount will 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. Revision Changes Path 1.9 +1 -5 src/sbin/mount/mount.c