Subject: Re: Renumbering devices: the alternative
To: Todd Vierling <tv@NetBSD.ORG>
From: David Brownlee <abs@anim.dreamworks.com>
List: tech-kern
Date: 01/13/1998 22:03:10
Suggestion on handling upgrading (assuming a functional devfs).
The kernel currently check if /dev/console is present, and
prints an error message if not.
Instead, (if devfs was compiled in), if the console was not
present or had an invalid number, it could automatically mount
devfs over /dev.
Obviously the upgrade procedure would need to create /dev_new,
umount -f /dev, rm /dev, mv /dev_new /dev, reboot.
This functionality would also be a helpful win in the case of a
damaged /dev directory, make booting on msdos filesystems cleaner
etc... It could be made an additional option for those who want
devfs, but do not want the system to second guess them. (Though
why someone who care that much would compile a kernel with devfs
and not want it used is another matter).
David/abs
_.oXo._ Too complex to explain, too simplistic to admit. _.oXo._