Linux-Hams archive - January 1999: Re: mknod help
Re: mknod help
Alex Holden (qiay@adis.co.nz)
Sat, 2 Jan 1999 12:10:29 +0000 (GMT)
On Sat, 2 Jan 1999, Richard Adams wrote:
> According to terhi.victor@logonet.com: While burning my CPU.
> > Could someone show me an example of how to use mknod to create device files
> > for /dev/cua4 and /dev/cua5. The 'man mknod' listing does not provide an
> > example and I'm not getting it.
> mknod -m 666 /dev/cua4 c 5 68
> mknod -m 666 /dev/cua5 c 5 69
The cua ports are deprecated now. Use ttyS?? instead.
To find the numbers (if you don't want to use the MAKEDEV script), read
/usr/src/linux/Documentation/devices.txt
--------------- Linux- the choice of a GNU generation. --------------
: Alex Holden (M1CJD)- Caver, Programmer, Land Rover nut, Radio Ham :
-------------------- http://www.linuxhacker.org/ --------------------