If called with out an argument report s on the Primary Roadtech Filesystesm.
If first arg is -All report devices that are defined as well as Available.
rotate <base file> <set size>
moves <base file> to <base file>.0,
<base file>.0 to <base file>.1
and so on.
Depending on the outcome it either sets the Environment variable BACKUP_FLAG="GO" or loops for user input.
Options available to user depend on the features selected in rr.var
Backup flag will be left for the calling program to cleanup if it is deamed safe to backup.
Note this is global accross all datasets on the server.
If no process were found returns status 0.
If processes found, returns status 1. Weth the Environment variables STOPLIST, and KILLLIST. Respectivly set to point to files containing a list of the process names that were checked, and the PID's of the processes found.
sortdev1 is a subfunction of sortdev, do not call directly.