Amiga Unix — 68040 · 68060

Manual pages › System administration commands (1M)

devnodes(1M)

re-create missing device nodes at boot

Package: amxbase, added for amigaux.

devnodes - re-create missing device nodes at boot

/etc/init.d/devnodes start

devnodes runs at every boot as /etc/rc2.d/S20devnodes, after the file systems are mounted and before the devices are used. It makes again each device node that a package installed and that is no longer there.

The nodes that should exist are the character and block special files under /dev that the installed packages list in /var/sadm/install/contents: every driver package ships its nodes as package objects. A missing node is made with the minor number, mode, owner and group of its record, and with this major number:

(class none) the major number of its record.
(its class is the name of the driver that serves it: a kernel module, or a driver built into the kernel, as audio is for /dev/audio, which the base package ships) the major number the running kernel's registry gives that driver, as kbootset major prints it. A node that is there at another major number is made again, and a record that disagrees with the registry is reported as a packaging error. When the registry does not know the driver (a driver built into the kernel), the record's major is used.

A stock node that is there but differs from its record is left as it is, and reported. Nodes made outside the packages, such as the disk nodes kbootset nodes makes, are not looked at.

Each node made and each one left is written to /var/adm/rc.log, with a count at the end; a boot with nothing to do writes nothing.

/var/sadm/install/contents
the installed objects, and with them the nodes.
/var/adm/rc.log
what was made.

rc.subr(1M), kbootset(1M)

6 November 2026 amix-base