Bug 23509

Summary: Augment dev_mkdb to allow different directory and database paths.
Product: Base System Reporter: Seth Kingsley <sethk>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.2-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Seth Kingsley 2000-12-12 22:40:01 UTC
dev_mkdb(1) has the pathnames /var/run/dev.db and /dev hardcoded into
it. In order to create device databases for devices that exist outside
of normal /dev (eg within a chroot()), you should be able to specify an
alternate directory to search for device nodes.

Fix: Adds a -f option and an optional directory argument:
How-To-Repeat: 
N/A
Comment 1 iedowse freebsd_committer freebsd_triage 2001-11-18 17:24:43 UTC
State Changed
From-To: open->closed


Committed (with some markup and style adjustments), thanks!