Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2000 16:02:31 -0700 (PDT)
From:      zerkle@home.com
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/19369: Inadequate error reporting in "mount" command.
Message-ID:  <20000618230231.A566B37BAD5@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000618230231.A566B37BAD5>