tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd-7 kernel and older vnconfig(8)



Christos Zoulas <christos%zoulas.com@localhost> wrote:

> I just tried it and it does not work. The current userland code fails with
> vnd4, (an artifact of config_makeroom)... So the old userland code depended
> on ENXIO to stop the search, the new code expects all devices in /dev/ to
> be get'able.

Would it make sense for the kernel to lookup /dev/vnd%d and return ENXIO
if it does not exist? Such a code being #ifdef COMPAT_NETBSD6 of course.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index