Problem
I want to view information about my disks, partitions, and divisions. I also want to record this information.
Solution
There is a public domain utility for this purpose, called "divisions", which is available for downloading from:
ftp://ftp.armory.com/pub/admin/divisionsTo use divisions, you will also need gawk.
For SCO XENIX and SCO UNIX Release 3.2 Version 4.x, download:
ftp://ftp.armory.com/pub/scobins/3.2v4/gawkFor SCO OpenServer Release 5.0.x, download:ftp://ftp.armory.com/pub/scobins/gawkPlace the files under /local/bin/, and make them executable: (Note that "#" indicates the root command line prompt.)
# chmod 700 divisions# chmod 755 gawkTo view instructions for using divisions, use the -h flag:
# divisions -hIt is a good idea to check that you have current hardcopy output of divisions in your system log any time changes are going to be made to your disk or filesystem configuration, and to make new hardcopy when the changes are completed:
# divisions | pr | lp -d<printer> -t<user>NOTE: Divisions and gawk are public domain software, and not part of any
SCO-supported product. See also
The manual pages for awk(C), chmod(C), crash(ADM), divvy(ADM), fdisk(ADM), dparam(ADM), lp(C), and mscsi(F).
TA103327, "Minor numbers for first 4 hard disks, fdisk partitions,
divvy divisions."TA103862, "Explanation of the hard drive minor number scheme."
TA104863, "How do I add a SCSI disk that has data I want to keep?"
Documentation for gawk can be found at:
http://hill.ucs.ualberta.ca/Documentation/Info/by-node/gawk-3.0.3/gawk_toc.htmlFor a more detailed understanding of the divisions utility, see the comments in the program:
# view /local/bin/divisions