Subject: Re: moving MAKEDEV to /etc
To: None <tech-kern@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-kern
Date: 09/05/2003 12:22:14
>>> [...devfs...where to keep metadata...]
>> [K]eep the metadata in a file.
> Also, it should probably make some effort to rewrite it as a db so
> that it can do a keymatch and overwrite an entry instead of having to
> rewrite an entire file.

...with all the race conditions that implies. :-/  (You do _not_ want
to destroy all of /dev just because you lost power halfway thorugh
rewriting the file.)

> 	/dev mounts on devfs
> 	devfs driver updates from /etc/devfs.db

Actually, it occurs to me: the logical way for this to work is

	mount -t devfs /etc/devfs.db /dev

/~\ The ASCII				der Mouse
\ / Ribbon Campaign
 X  Against HTML	       mouse@rodents.montreal.qc.ca
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B