In message <[EMAIL PROTECTED]>, Greg Lehey writes:
>> You can create symlinks in /dev, you cannot mknod there.
>What is the reason for this? How does a program or script know
>whether the system is running DEVFS or not?
The reson for not creating device nodes is that you don't have
all the information you'll need to really do it.
To find out if you are running on a DEVFS system, look for existence
of the sysctl variable "vfs.devfs.generation"
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
[EMAIL PROTECTED] | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message