Below are typical commands of the sysadm.ini file.
Associate ifnet interface 0
to a specific Ethernet driver:
% mkdev ifeth 0 /pci/epic/epic100 |
The pathname is optional. For more information, refer to mkdev(1M).
In the ChorusOS operating system, hardware devices are identified by a path in a device tree; the mkdev command connects to the driver instance servicing the indicated hardware device.
Associate ifnet interface 0
to the first Ethernet driver found:
% mkdev ifeth 0 |
Define the IP address of ifnet interface 0
:
% ifconfig ifeth0 ip-address netmask ip-mask broadcast broadcast-addr |
Define the IP address using the rarp
protocol on ifnet interface 0
:
% rarp ifeth 0 |
Associate a special device to a serial line driver:
% mknod /dev/tty01 c 0 0 % mkdev tty 0 /pci/pci-isa/ns16550-2 |
The third argument to mknod, 0, is the major device number identifying the serial line driver. The fourth argument to mknod, 0, is the minor device number identifying the hardware device at the POSIX level.
Mount a local file system by defining required devices, then mount the disk:
% mknod /dev/sd0a b 10 0 % mknod /dev/rsd0a c 9 0 % mount /dev/sd0a / |
See also "Automated File System Initialization" in the ChorusOS 4.0 File System Administration Guide.
Mount a remote file system:
% mount host-ip-addr:host-path / |