Bug 26368

Summary: ``MAKEDEV ad0e'' fails
Product: Base System Reporter: Mikhail Teterin <mi>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: stable
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Mikhail Teterin 2001-04-05 18:40:00 UTC
	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

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).
How-To-Repeat: 
	See above.
Comment 1 sos 2001-04-05 18:43:37 UTC
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...

-Søren
Comment 2 Mikhail T. 2001-04-05 20:37:03 UTC
On  5 Apr, Søren 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
Comment 3 Søren Schmidt freebsd_committer freebsd_triage 2001-05-30 10:50:02 UTC
State Changed
From-To: open->closed

This is not a bug, its the way MAKEDEV works :)