From ahd@kew.com  Wed Sep 30 20:46:46 1998
Received: from kendra.ne.mediaone.net (kendra.ne.mediaone.net [24.128.94.182])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01775
          for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Sep 1998 20:46:43 -0700 (PDT)
          (envelope-from ahd@kew.com)
Received: from minerva.hh.kew.com (minerva.hh.kew.com [192.168.203.144])
	by kendra.ne.mediaone.net (8.9.1/8.9.1) with ESMTP id XAA12638
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 30 Sep 1998 23:43:41 -0400 (EDT)
Received: (from root@localhost)
	by minerva.hh.kew.com (8.9.1/8.9.1) id XAA00434;
	Wed, 30 Sep 1998 23:38:19 -0400 (EDT)
	(envelope-from ahd)
Message-Id: <199810010338.XAA00434@minerva.hh.kew.com>
Date: Wed, 30 Sep 1998 23:38:19 -0400 (EDT)
From: software@kew.com
Reply-To: software@kew.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: fdisk gets default name of SCSI disk wrong
X-Send-Pr-Version: 3.2

>Number:         8111
>Category:       conf
>Synopsis:       fdisk gets default name of SCSI disk wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 30 20:50:01 PDT 1998
>Closed-Date:    Tue Dec 1 10:08:39 PST 1998
>Last-Modified:  Tue Dec  1 10:11:22 PST 1998
>Originator:     Drew Derbyshire
>Release:        FreeBSD 3.0-19980928-BETA i386
>Organization:
Kendra Electronic Wonderworks
>Environment:

	Executing fdisk from specified environment to change 
	active partition with boot device residing off AHC0 (SCSI
	controller)...

	    Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
	    /dev/da0s4a     39647    18475    18001    51%    /
	    /dev/da0s4d    953821        1   877515     0%    /overflow
	    /dev/da0s4f    595383   155370   392383    28%    /usr
	    /dev/da0s4h    248047        1   228203     0%    /usr/obj
	    /dev/da0s4g    248047   194785    33419    85%    /usr/src
	    /dev/da0s4e     59519      907    53851     2%    /var
	    procfs              4        4        0   100%    /proc
	    mfs:242        190543        5   175295     0%    /tmp

>Description:

	fdisk with no operands reports:

	 fdisk: can't get file status of /dev/rsd0
	 fdisk: cannot open any disk: No such file or directory

>How-To-Repeat:

	execute fdisk with no operands.

>Fix:
	
	Specify da0 on fdisk command line; correct default name
	of scsi disk in source.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: rnordier 
State-Changed-When: Tue Dec 1 10:08:39 PST 1998 
State-Changed-Why:  
Fixed by joerg: fdisk.c 1.27 fdisk.8 1.11 
>Unformatted:
