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)



In article <20151109095855.GJ26689%homeworld.netbsd.org@localhost>,
Emmanuel Dreyfus  <manu%netbsd.org@localhost> wrote:
>Hello
>
>We have a backward compatibility problem with vnconfig(8). If I use
>netbsd-6 vnconfig with netbsd-7 kernel, vnconfig -l loops forever
>because src/usr.sbin/vnconfig/vnconfig.c lacks this change:
>
>revision 1.41
>date: 2013-06-09 15:25:40 +0200;  author: christos;  state: Exp;  
>   lines: +76 -56;  commitid: 0DfyvNbGKtoEuWSw;
>branches:  1.41.4;
>Now that we grow vnd's dynamically we cannot depend on the kernel returning
>ENXIO when we exceed the number of configured vnds, so in the -l case, print
>info for all vnds we can find device nodes for in /dev.
>
>I am not sure how it could be fixed.

Can't we pull this change up? Or does it break old kernels?

christos



Home | Main Index | Thread Index | Old Index