disksecn.1m (2010 09)

d
disksecn(1M)
Servers Only disksecn(1M)
This adjustment also takes place when the disk name is known and an assumed sector size (block size) is
passed in as the argument of the
-b switch which is not DEV_BSIZE bytes, the assumed sector size (block
size) used to create the
etc/disktab file.
RETURN VALUE
disksecn returns the following values:
0 Successful completion.
1 Usage error.
2 User did not input parameters for an unknown disk.
3 Disk too small or an invalid block size.
disksecn aborts and prints an error message under the following conditions:
disksecn was invoked without specifying a disk name.
Requested both -p and -d
switch.
Illegal block size requested.
Unknown disk name was specified and user did not supply disk information.
Disks maximum storage space is less than approximately 44 MB.
WARNINGS
Alternate names are not included in the output when the
-d switch is used.
Blanks are required in the command line between each of the switches when invoking
disksecn.
A blank is required between the
-n switch and the disk name argument to that switch. For example:
disksecn -p -b 1024 -n hp9712
disksecn does not save the block size used to generate the /etc/disktab disk description file. The
system assumes that the block size used was DEV_BSIZE when it reads the information stored in the
etc/disktab file.
AUTHOR
disksecn was developed by the University of California, Berkeley.
FILES
/etc/disktab
SEE ALSO
disktab(4).
2 Hewlett-Packard Company 2 HP-UX 11i Version 3: September 2010