Bug 25929

Summary: [fixit] Can't use MAKEDEV in fixit mount
Product: Base System Reporter: jonny <jonny>
Component: binAssignee: freebsd-qa (Nobody) <qa>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   

Description jonny 2001-03-19 21:40:01 UTC

Fix: 

I could create devices on the fly with MAKEDEV, IIF
	- There is a symlink from /dev/MAKEDEV (mfsroot.flp) to
	  /mnt2/dev/MAKEDEV (fixit.flp, maybe cdrom)
	  (Reason: MAKEDEV is recursive and must be run from /dev)
	- There is a symlink from /etc/group (mfsroot.flp) to
	  /mnt2/etc/group (fixit.flp, maybe cdrom)
	  (Reason: MAKEDEV uses group names, not group numbers)
How-To-Repeat: 
    Boot freebsd from install floppies.
    Fdisk it to use dangerously dedicated mode
    Mount fixit.
    Mount cdrom with backup images
    Run disklabel - Device is not configured

    /dev does not contain all devices needed, so, no disklabel, no restore
Comment 1 Roy Hooper 2002-11-29 03:02:09 UTC
This still exists in 4.7 -- this makes atacontrol unavailable, as well as is
an issue with systems with multiple ata controllers (onboard ATA Raid)...

MAKEDEV should be symlinked to /dist/dev/MAKEDEV on the fixit CD
/etc/group should contain the operator group so makedev can make its devices

The ata ar0 ar1 ad2 ad3 ad4 ad5 ad6 devices should also exist.
Comment 2 Kris Kennaway freebsd_committer freebsd_triage 2003-07-13 06:50:51 UTC
Responsible Changed
From-To: freebsd-bugs->re

Enhancement request for fixit CD
Comment 3 Kris Kennaway freebsd_committer freebsd_triage 2003-07-14 10:18:33 UTC
Responsible Changed
From-To: re->freebsd-qa

Reassign to qa per re request
Comment 4 Craig Rodrigues freebsd_committer freebsd_triage 2005-06-01 04:00:03 UTC
State Changed
From-To: open->closed

The MAKEDEV script is obsolete, since entries in /dev 
are created dynamically using DEVFS in FreeBSD 5.x and higher.