Assorted bugfixes and devfs work