Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ rdtab(5) — NEWS-os 4.2.1R

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

rdd(8)

rdx(8)

RDTAB(5)  —  NEWS-OS Programmer’s Manual

NAME

rdtab − Remote disk client definition

SYNOPSIS

/etc/rdtab

DESCRIPTION

The file /etc/rdtab defines the correspondence between the remote disk client’s remote disk and server file. This file is read by rdd(8), which then performs services for the remote disk client.  If the file is modified, rdd(8) must be restarted for the changes to take effect.  If this file is present at boot time the /etc/rc.net script executes rdd(8).  (This function is commented out in the default configuration.)  The /etc/rdtab entry uses the following format. 

file   offset   size   client:unit [client:unit ...]

file The pathname of the file on the server (or raw disk special file). 

offset The offset within the file.  It is used when multiple remote disks are built within a single disk partition.  It is always 0 if regular files are used as remote disk files. 

size Specifies the size of the file to be used for the remote disk in 512 byte increments. 

client Specifies the host name of the client to be served by the server.  Normally, the server itself is also declared to allow it to access the remote disk. 

unit Specifies the remote disk unit number from the point of view of the each clients.  Unit numbers correspond to remote disk devices as follows: 1 − 7 correspond to /dev/{r}rd0[a-h] and 8 − 15 correspond to /dev/{r}rd1[a-h].  Lines containing the pound sign (#) are interpreted as comments all the way to the end of the line.  Lines ending with \ (backslash or yen mark) are interpreted as continuing on the next line. 

EXAMPLE

In the following example, the low disk partition /dev/rsd00h is assigned as /dev/{r}rd0a for the server (server) and as /dev/{r}rd0a for the client (client0), and also as /dev/{r}rd0b for the server (server) and as /dev/{r}rd0a for the client (client1). 

/dev/rsd00h             0         15884           server:0 client0:0
/dev/rsd00h             15884   15884           server:1 client1:0

FILES

/etc/rdd

/etc/rdx

/etc/hosts

/dev/{r}rd?? 

/etc/rc.net

SEE ALSO

rdd(8), rdx(8)

NOTE

Generally, the unit number (device[?] filename) of the remote disk differs from the respective points of view of the server and the client.  Therefore care should be taken to make sure that that correspondence between the server and client unit numbers is declared properly in /etc/rdtab. 

WARNING

Remote disk files must not conflict or overlap. 

NEWS-OSRelease 4.2.1R

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026