tech-kern archive

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

Directory entry parsing code has changed on NetBSD 4.0



Hi,

I recently made an effort to upgrade my ISDN4BSD to support NetBSD 4.0.

See the following link if you want to install the code:

http://www.selasky.org/hans_petter/isdn4bsd/

One outstanding problem is that NetBSD 4.0 does no longer understand the 
directory entries which work fine on NetBSD 3.0. Can you please check what is 
wrong with my directory entry below. It seems to read out fine, but the 
parsers like "fts" somehow report zero directory entries :-(

mount_devfs /dev/dev

UUencoded output from "cat /dev/dev" | uuencode -

begin 644 -
M`@`````````4``$`!"X````````"`````````!0``@`$+BX```````,`````
M````&``'``)I-&)T96PP``````0`````````'``(``)I-&)T96QD,```````
M```%`````````!@`!P`":31B=&5L,0`````&`````````!P`"``":31B=&5L
M9#$`````````!P`````````8``<``FDT8G1E;#(`````"``````````<``@`
M`FDT8G1E;&0R``````````D`````````&``'``)I-&)T96PS``````H`````
M````'``(``)I-&)T96QD,P`````````+`````````!@`!P`":31B=&5L-```
M```,`````````!P`"``":31B=&5L9#0`````````#0`````````8``<``FDT
M8G1E;#4`````#@`````````<``@``FDT8G1E;&0U``````````\`````````
M&``'``)I-&)T96PV`````!``````````'``(``)I-&)T96QD-@`````````1
M`````````!@`!P`":31B=&5L-P`````2`````````!P`"``":31B=&5L9#<`
M````````$P`````````<``@``FDT8G)B8V@P`````````!0`````````'``(
M``)I-&)R8F-H,0`````````5`````````!P`"``":31B<F)C:#(`````````
M%@`````````<``@``FDT8G)B8V@S`````````!<`````````'``(``)I-&)R
M8F-H-``````````8`````````!P`"``":31B<F)C:#4`````````&0``````
M```<``@``FDT8G)B8V@V`````````!H`````````'``(``)I-&)R8F-H-P``
M```````;`````````!@`!P`":31B=')C,``````<`````````!@`!P`":31B
M=')C,0`````=`````````!@`!P`":31B=')C,@`````>`````````!@`!P`"
M:31B=')C,P`````?`````````!@`!P`":31B=')C-``````@`````````!@`
M!P`":31B=')C-0`````A`````````!@`!P`":31B=')C-@`````B````````
M`!@`!P`":31B=')C-P`````C`````````!@`!P`":31B=')C.``````D````
M`````!@`!P`":31B=')C.0`````E`````````!P`"``":31B=')C,3``````
M````)@`````````<``@``FDT8G1R8S$Q`````````"<`````````'``(``)I
M-&)T<F,Q,@`````````H`````````!P`"``":31B=')C,3,`````````*0``
M```````<``@``FDT8G1R8S$T`````````"H`````````'``(``)I-&)T<F,Q
M-0`````````K`````````!P`"``":31B=')C,38`````````+``````````<
M``@``FDT8G1R8S$W`````````"T`````````'``(``)I-&)T<F,Q.```````
M```N`````````!P`"``":31B=')C,3D`````````+P`````````<``@``FDT
M8G1R8S(P`````````#``````````'``(``)I-&)T<F,R,0`````````Q````
M`````!P`"``":31B=')C,C(`````````,@`````````<``@``FDT8G1R8S(S
M`````````#,`````````'``(``)I-&)T<F,R-``````````T`````````!P`
M"``":31B=')C,C4`````````-0`````````<``@``FDT8G1R8S(V````````
M`#8`````````'``(``)I-&)T<F,R-P`````````W`````````!P`"``":31B
M=')C,C@`````````.``````````<``@``FDT8G1R8S(Y`````````#D`````
M````'``(``)I-&)T<F,S,``````````Z`````````!P`"``":31B=')C,S$`
M````````.P`````````<``@``FDT8G1R8S,R`````````#P`````````'``(
M``)I-&)T<F,S,P`````````]`````````!P`"``":31B=')C,S0`````````
M/@`````````<``@``FDT8G1R8S,U`````````#\`````````'``(``)I-&)T
M<F,S-@````````!``````````!P`"``":31B=')C,S<`````````00``````
M```<``@``FDT8G1R8S,X`````````$(`````````'``(``)I-&)T<F,S.0``
M``````!#`````````!P`"``":31B=')C-#``````````1``````````<``@`
M`FDT8G1R8S0Q`````````$4`````````'``(``)I-&)T<F,T,@````````!&
M`````````!P`"``":31B=')C-#,`````````1P`````````<``@``FDT8G1R
M8S0T`````````$@`````````'``(``)I-&)T<F,T-0````````!)````````
M`!P`"``":31B=')C-#8`````````2@`````````<``@``FDT8G1R8S0W````
M`````$L`````````'``(``)I-&)T<F,T.`````````!,`````````!P`"``"
M:31B=')C-#D`````````30`````````<``@``FDT8G1R8S4P`````````$X`
M````````'``(``)I-&)T<F,U,0````````!/`````````!P`"``":31B=')C
M-3(`````````4``````````<``@``FDT8G1R8S4S`````````%$`````````
M'``(``)I-&)T<F,U-`````````!2`````````!P`"``":31B=')C-34`````
M````4P`````````<``@``FDT8G1R8S4V`````````%0`````````'``(``)I
M-&)T<F,U-P````````!5`````````!P`"``":31B=')C-3@`````````5@``
M```````<``@``FDT8G1R8S4Y`````````%<`````````'``(``)I-&)T<F,V
M,`````````!8`````````!P`"``":31B=')C-C$`````````60`````````<
M``@``FDT8G1R8S8R`````````%H`````````'``(``)I-&)T<F,V,P``````
M``!;`````````!@`!@`":31B8W1L``````!<`````````!@`!``":31B(```
=``````!=`````````!@`!P`"8V%P:3(P(```````
`
end

Related source code:

http://www.selasky.org/hans_petter/isdn4bsd/sources/module/freebsd_devfs_devs.c
http://www.selasky.org/hans_petter/isdn4bsd/sources/module/freebsd_devfs_vfsops.c
http://www.selasky.org/hans_petter/isdn4bsd/sources/module/freebsd_devfs_vnops.c

--HPS


Home | Main Index | Thread Index | Old Index