Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ viwsb(8n) — UTek W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

wsdumptable(5n)

wsdump(8n)

wsrestore(8n)



VIWSB(8n)               COMMAND REFERENCE               VIWSB(8n)



NAME
     viwsb - edit and/or check the dumptable file

SYNOPSIS
     /etc/viwsb [ -c [ filename ... ] ]

DESCRIPTION
     With no arguments, viwsb locks the file /etc/dumptable,
     copies its contents to a temporary file, and invokes the
     editor (default = vi) on the temporary file.  After the
     editor is exited, the modified data is checked as described
     below.  If no problems are found, the temporary file
     replaces the old dumptable file, which is unlocked.  If only
     problems in the Warning category are found, the user may
     re-edit the file, quit without updating, or update the
     dumptable file, ignoring the warnings.  If any problems in
     the ERROR category are found, the user may re-edit the file
     or quit without updating.

     If called with the -c option, viwsb will check the named
     files as described below.  If no names are given,
     /etc/dumptable is checked.

     File Checking
     The following problems are considered Warnings.  When they
     occur, a message is printed giving the line number and a
     description of the problem.

     1    Workstation name longer than 32 characters

     2    Workstation name begins with non-alphabetic character

     3    Workstation name contains characters other than a-z,
          A-Z, 0-9, -, and _

     4    Dump level mask longer than 10 digits

     5    More than one group designator

     The following problems are considered ERRORs.  When they
     occur, a message is printed giving the line number and a
     description of the problem.

     1    Incorrect number of fields.

     2    Entry longer than 1024 characters.

     3    Empty file system field.

     4    Non-numeric or empty dump level field.

     5    Non-numeric or empty frequency field.



Printed 10/17/86                                                1





VIWSB(8n)               COMMAND REFERENCE               VIWSB(8n)



     6    Non-numeric or empty group load field.

     7    Non-alphabetic or empty group field.

OPTIONS
     -c                       Check the named files (default is
                              /etc/dumptable).  Do not edit the
                              dumptable file.

FILES
     /etc/dumptable           The dumptable file to edit or the
                              default file to check.

     /etc/wsbtmp              The temporary edit file.

VARIABLES
     EDIT           The editor to be used instead of vi.

RETURN VALUE
     [NO_ERRS]      Command completed without error.

     [USAGE]        Incorrect command line syntax. Execution
                    terminated.

     [1]            The file(s) contained errors.

     [NP_WARN]      An error warranting a warning message
                    occurred. Execution continues.

     [NP_ERR]       An error occurred that was not a system
                    error.  Execution terminated.

     [P_WARN]       A system error occurred. Execution continues.
                    See intro(2) for more information on system
                    errors.

     [P_ERR]        A system error occurred. Execution
                    terminated.  See intro(2) for more
                    information on system errors.

CAVEATS
     Viwsb can only be used by root to edit the dumptable file
     (any user can use viwsb with the -c option).

SEE ALSO
     wsdumptable(5n), wsdump(8n), wsrestore(8n)









Printed 10/17/86                                                2





































































%%index%%
na:72,80;
sy:152,186;
de:338,1999;2481,98;
op:2579,261;
fi:2840,252;
va:3092,134;
rv:3226,843;
ca:4069,236;
se:4305,169;
%%index%%000000000154

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