On Fri, Mar 26, 2010 at 8:49 PM, LEVAI Daniel <dani...@ecentrum.hu> wrote: > > I've noticed that ksh's man page mentions mknod's b(lock) and c(har) > device parameters as optional, but they are mandatory. Does the following > diff make sense?: > > --- ksh.1.old 2010-02-26 18:54:15.000000000 +0100 > +++ ksh.1 2010-03-26 20:38:44.601680717 +0100 > @@ -3331,7 +3331,7 @@ > .Ic mknod > .Op Fl m Ar mode > .Ar name > -.Op Cm b | Cm c > +.Cm b | c > .Ar major minor > .Xc > .It Xo
I think that you are right. Looking into this issue is on my TODO list for 4.8. The diff is a bit more complex, as we need to change not only src/bin/ksh/ksh.1, but also src/bin/ksh/c_sh.c, src/sbin/mknod/mknod.8, and src/sbin/mknod/mknod.c. We need to specify either b or c when making a special file.