Date: Wed, 01 Dec 2004 21:23:15 -0500 From: Brian Bobowski <bbobowski@cogeco.ca> To: cm c <beatlelittle@yahoo.com.cn> Cc: freebsd-questions@freebsd.org Subject: Re: Why can't I do "mknod /dev/cdev c 32 0" Message-ID: <41AE7C93.2010707@cogeco.ca> In-Reply-To: <20041202020313.38689.qmail@web15309.mail.cnb.yahoo.com> References: <20041202020313.38689.qmail@web15309.mail.cnb.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
cm c wrote: >I'm a newbie to freebsd. I'm trying to port a simple driver to freebsd, but something stopped me. I tried to use the /usr/share/examples to have a test, but mknod failed : > mknod /dev/cdev c 32 0 >even the make_dev call will cause system rebooting! > >I don't know why. >Who can help me? >thanks. > > If you are using FreeBSD 5.x, the devfs makes mknod irrelevant; device nodes are created automatically. That's all I know on the subject. The gurus(which I am not) will probably need more information to help you at all; the output of "uname -a" is standard. Information about what you're trying to port will likely be key as well. -BB
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41AE7C93.2010707>