Regarding mknod

Robert Watson rwatson at freebsd.org
Wed Aug 4 05:18:09 PDT 2004


On Wed, 4 Aug 2004, ravi wrote:

> Can u tell me the solution for this ?

In FreeBSD 5.x, devfs will automatically create devices as specified in
make_dev(), being unable to run mknod(8) should not be a problem.  Is your
device node appearing?

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Principal Research Scientist, McAfee Research


> 
> On Wed, 2004-08-04 at 13:17, Poul-Henning Kamp wrote:
> > In message <1091602736.4760.64.camel at ravin>, ravi writes:
> > >Hi,
> > >If I run "make load " from /usr/share/examples/kld/cdev/module
> > directory
> > >then I'm getting the following error message .
> > >
> > ># make load 
> > >mknod /dev/cdev c 32 0 
> > >mknod: /dev/cdev : No such file or directory 
> > >*****Error code 1
> > >
> > >Even if I execute the " mknod /dev/cdev c 32 0 " command at the
> > terminal
> > >I'm getting the same error message .
> > >
> > >
> > >What is the reason for this ?
> > >Please tell me the solution as well ..
> > 
> > the load target in the makefile is outdated and the mknod command should
> > simply be removed.
> 
> 



More information about the freebsd-fs mailing list