From owner-freebsd-bugs Sun Jun 18 16:10: 4 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 75AE937BADA for ; Sun, 18 Jun 2000 16:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id QAA62727; Sun, 18 Jun 2000 16:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id A566B37BAD5; Sun, 18 Jun 2000 16:02:31 -0700 (PDT) Message-Id: <20000618230231.A566B37BAD5@hub.freebsd.org> Date: Sun, 18 Jun 2000 16:02:31 -0700 (PDT) From: zerkle@home.com To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/19369: Inadequate error reporting in "mount" command. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19369 >Category: bin >Synopsis: Inadequate error reporting in "mount" command. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jun 18 16:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Dan Zerkle >Release: 4.0-STABLE >Organization: n/a >Environment: FreeBSD c239505-a.plstn1.sfba.home.com 4.0-STABLE FreeBSD 4.0-STABLE #0: Sat May 27 19:53:36 PDT 2000 root@c239505-a.plstn1.sfba.home.com:/usr/obj/usr/src/sys/kern052700 i386 >Description: When updating to 4.0-STABLE, I remembered to create /dev/acd0c for my CD-ROM, but forgot to create /dev/acd0. The fstab was correct. /dev/acd0c /cdrom cd9660 ro,noauto 0 0 The error message that resulted was singularly unhelpful. To wit: su-2.03# mount /cdrom cd9660: No such file or directory Note the lack of mention of /dev/acd0, which is what I needed. Doing it manually was no help, either: su-2.03# mount_cd9660 /dev/acd0 /cdrom mount_cd9660: No such file or directory >How-To-Repeat: Remove acd0, attempt a mount, and see how unhelpful the error messages are. >Fix: Update the error message code of mount or mount_cd9660, as appropriate. It should simply mention the full path name of the special device file it wants. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message