From mi@misha.privatelabs.com  Thu Apr  5 10:39:04 2001
Return-Path: <mi@misha.privatelabs.com>
Received: from privatecube.privatelabs.com (privatecube.privatelabs.com [63.114.185.254])
	by hub.freebsd.org (Postfix) with ESMTP
	id F37F037B423; Thu,  5 Apr 2001 10:39:02 -0700 (PDT)
	(envelope-from mi@misha.privatelabs.com)
Received: from misha.privatelabs.com (root@misha.plten [10.0.0.106])
	by privatecube.privatelabs.com (8.9.3/8.9.2) with ESMTP id NAA26992;
	Thu, 5 Apr 2001 13:59:26 -0400
Received: (from mi@localhost)
	by misha.privatelabs.com (8.11.3/8.11.1) id f35Hd1w03780;
	Thu, 5 Apr 2001 13:39:01 -0400 (EDT)
	(envelope-from mi)
Message-Id: <200104051739.f35Hd1w03780@misha.privatelabs.com>
Date: Thu, 5 Apr 2001 13:39:01 -0400 (EDT)
From: Mikhail Teterin <mi@misha.privatelabs.com>
Reply-To: mi@aldan.algebra.com
To: FreeBSD-gnats-submit@freebsd.org
Cc: stable@freebsd.org, jkh@freebsd.org
Subject: ``MAKEDEV ad0e'' fails
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         26368
>Category:       bin
>Synopsis:       ``MAKEDEV ad0e'' fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 05 10:40:00 PDT 2001
>Closed-Date:    Wed May 30 02:50:02 PDT 2001
>Last-Modified:  Wed May 30 02:50:48 PDT 2001
>Originator:     Mikhail Teterin
>Release:        FreeBSD 4.2-RC2 i386
>Organization:
Virtual Estates, Inc.
>Environment:
System: FreeBSD misha.privatelabs.com 4.2-STABLE FreeBSD 4.2-STABLE #0: Fri Jan 26 14:34:59 EST 2001 root@minime.privatelabs.com:/home/obj/raid/src/sys/MISHA i386


>Description:

	cd /dev && sh MAKEDEV ad0e
	bad unit for disk in: ad0e

	Note, that this device is created by install, but for more drives
	one has to do things like ad8e, which is no longer possible :(

	root@misha:/dev (140) sh -x MAKEDEV ad0e
	+ [ -n  ]
	+ PATH=/sbin:/bin
	+ umask 77
	+ mknod=/sbin/mknod
	+ IFS=:
	+ echo /sbin /bin
	+ [ -x /sbin/mknod ]
	+ mknod=/sbin/mknod
	+ break
	+ dkrawpart=2
	+ dkcompatslice=0
	+ dkrawslice=1
	+ disk_umask=037
	+ tape_umask=017
	+ umask 037
	+ name=ad
	+ chr=116
	+ expr ad0e : ..\(.*\)
	+ unit=0e
	+ echo bad unit for disk in: ad0e
	bad unit for disk in: ad0e
	+ umask 77

>How-To-Repeat:

	See above.

>Fix:

	Oh... Somewhere is the MAKEDEV...

	All I know is that it used to work less then a year ago, when I
	set up a few servers with "dangerously dedicated" drives and did
	not want to see the useless s1 in the fstab-files (ad8s1e still
	works fine, but ad8e should work too).
>Release-Note:
>Audit-Trail:

From: Sren Schmidt <sos@freebsd.dk>
To: mi@aldan.algebra.com
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, stable@FreeBSD.ORG,
	jkh@FreeBSD.ORG
Subject: Re: bin/26368: ``MAKEDEV ad0e'' fails
Date: Thu, 5 Apr 2001 19:43:37 +0200 (CEST)

 It seems Mikhail Teterin wrote:
 > 
 > 	cd /dev && sh MAKEDEV ad0e
 > 	bad unit for disk in: ad0e
 > 
 > 	Note, that this device is created by install, but for more drives
 > 	one has to do things like ad8e, which is no longer possible :(
 
 Nope, you just use ad0 or ad8 and the devices you need will be made...
 
 -Sren

From: mi@aldan.algebra.com
To: Søren Schmidt <sos@freebsd.dk>
Cc: FreeBSD-gnats-submit@FreeBSD.ORG, stable@FreeBSD.ORG,
	jkh@FreeBSD.ORG
Subject: Re: bin/26368: ``MAKEDEV ad0e'' fails
Date: Thu, 5 Apr 2001 15:37:03 -0400 (EDT)

 On  5 Apr, Sren Schmidt wrote:
 = It seems Mikhail Teterin wrote:
 = > 
 = > 	cd /dev && sh MAKEDEV ad0e
 = > 	bad unit for disk in: ad0e
 = > 
 = > 	Note, that this device is created by install, but for more drives
 = > 	one has to do things like ad8e, which is no longer possible :(
 = 
 = Nope, you just use ad0 or ad8 and the devices you need will be made...
 
 Khmm, indeed, thanks. I guess, the priority of this bug should now go
 down, but it is still a bug, is not it?
 
 	-mi
 
State-Changed-From-To: open->closed 
State-Changed-By: sos 
State-Changed-When: Wed May 30 02:50:02 PDT 2001 
State-Changed-Why:  
This is not a bug, its the way MAKEDEV works :) 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=26368 
>Unformatted:
