how to create device files in FreeBSD 6

Erik Norgaard norgaard at locolomo.org
Tue Dec 20 06:39:05 PST 2005


c.s.prakash wrote:

> i have an external modem connected to serial port, i cant find any 
> deivce /dev/cuaa0 for serial port to connect,
> and i cant able to create using mknod in /dev/ directory but i it is 
> possible in other directory, i did this as root.
> 
> how can i create the device uing devfs,

You shouldn't need to, devfs automatically updates /dev when new 
hardware is attached. It is likely that the correct driver isn't loaded.

If the device driver is not compiled into the kernel then you can load a 
kernel module with kldload - assuming the device is supported.

Cheers, Erik

-- 
Ph: +34.666334818                                  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9


More information about the freebsd-questions mailing list