-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 10 January 2003 11:07 am, Toralf Lund wrote:
> I have a driver for an optional hardware component (a frame grabber)
> that I want the system to set up automatically upon reboot after the
> hardware has been installed. I've managed to modify
> /usr/share/hwdata/pci.ids and /usr/share/hwdata/pcitable in such a
> manner that "kudzu" will correctly update /etc/modules.conf (after the
> usual user confirmation.) However, I also need to create special device
> files for the unit. What's the best/recommended way of doing that?

mknod

'man mknod' for details, but basic usage is:
mknod NAME TYPE MAJOR MINOR

As an example, the device file for /dev/hda:
mknod /dev/hda b 3 0

/dev/hda is a block device (b) major 3 minor 0

$ ll /dev/hda
brw-rw----    1 root     disk       3,   0 Aug 30 19:31 /dev/hda

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+H59qn/07WoAb/SsRAiDbAKCWR8eaJ2NYAXYEVfqmH6p78lE8lgCfRruS
znVoNHmrvuE3jmWqu59RH2M=
=afAX
-----END PGP SIGNATURE-----



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to