Bug 17713

Summary: MAKEDEV and /stand/sysinstall goofups with creating /dev/pass?
Product: Base System Reporter: pha <pha>
Component: binAssignee: Justin T. Gibbs <gibbs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description pha 2000-03-31 19:00:01 UTC
	

I followed custom install, as I have done many times in the past.
Nothing special - just initially configure minimal filesystems for
boot, kernel sources only install.  Later, I ran /stand/sysinstall
to setup the remaining 7 drives.

Problem 1: /stand/sysinstall apparently only created /dev/pass? for
drives 0 through 3.  I had to create 5-7 myself in order to use
camcontrol on the drives.  Not a big problem, but it leads to problem 2:

Problem 2: MAKEDEV gets confused about how many /dev/pass? devices
to make.  "cd /dev; sh MAKEDEV pass8" should be sufficient to create
devices /dev/pass0 through /dev/pass7.  Instead, it appeared to only
create /dev/pass0 through /dev/pass6.  I had to do: "cd /dev; sh MAKEDEV pass9"
before all pass devices were made.

Fix: 

unsure - just reporting bugs as I see them
How-To-Repeat: 
	

find a machine with 8 scsi disk drives, do a fresh install on it,
try using camcontrol to control drives 4 through 7, note that devices
/dev/pass? don't exist, try to create them, scratch head afterwards.
Comment 1 Sheldon Hearn freebsd_committer freebsd_triage 2000-04-03 13:14:59 UTC
Responsible Changed
From-To: freebsd-bugs->gibbs

Justin added the pass stuff to MAKEDEV in rev 1.171.  Note that 
MAKEDEV isn't doing anything funny;  it's been told to create 4 
device nodes.  I don't think there's a graceful way to handle 
this until the driver does almost-clone. :-) 
Comment 2 Craig Rodrigues freebsd_committer freebsd_triage 2005-06-01 02:41:38 UTC
State Changed
From-To: open->closed

The MAKEDEV script is gone now that entries in /dev 
are created dynamically in FreeBSD 5.x and higher due to DEVFS.