SYSTEMS(5) — FILE FORMATS
NAME
systems - YP systems file
SYNOPSIS
/etc/systems
AVAILABILITY
Sun386i systems only.
DESCRIPTION
The /etc/systems file is used only by SNAP, and contains basic information about each host on the network. It is an ASCII file that resides in the /etc directory on the YP master server. To successfully administer all systems in a YP domain using SNAP, there must be an entry in this file for each host listed in the /etc/hosts file. For each host, this file contains a one-line entry, of the following form, where each field MUST be seperated by a single tab: system architecture os "hostid" memory_size disk_size network_role
system is the name of a host, whether it is on a network or a standalone system. This field contains only lowercase and numeric characters, must start with a lower-case character, and must not be more than 32 characters in length.
architecture
indicates the architecture of the specified system. This can be s386, sun4, sun4c, sun3, sun3x, sun2, sun1, pcnfs, or other.
os indicates the OS version the system is running. Typically, the form is sunos4.0.1, sunos4.0.2, and so on, or unknown. SNAP always inserts unknown when adding new systems.
hostid the system’s host ID, as obtained from /bin/hostid. This entry must be in quotes. If the host ID is unknown, an empty string (“”) is specified. SNAP always inserts an empty string when adding new systems.
memory_size
amount of memory, in kilobytes. This can be 8192 (for 8 megabytes), 4096 (for 4 megabytes), or −1 for unknown. SNAP always inserts -1 when adding new systems.
disk_size
amount of disk space, in kilobytes. Can be any value, but typically should be close to the actual disk size, or the total amount of disk space if expansion disks were added. Diskless clients would have a zero value, while unknown disk sizes are specified by a −1 value. SNAP always inserts −1 when adding new network clients.
network_role
indicates the role the system play on the network. This can be master_bootserver, slave_bootserver, network_client, or diskless_client. This entry is created by SNAP or Automatic System Installation.
EXAMPLE
Here is a sample systems file:
vulcan s386 sunos4.0.1 "12345678" 8000 327000 master_bootserver
polaris s386 sunos4.0.2 "" 8000 91000 slave_bootserver
star sun4 sunos4.0.1 "" 8000 91000 network_client
foo s386 sunos4.0.1 "" 8000 0 diskless_client
FILES
/etc/systems
SEE ALSO
snap(1) System and Network Administration Sun386i Advanced Administration
Sun Release 4.0 — Last change: 17 July 1989