volcheck(1) User Commands volcheck(1)NAMEvolcheck - checks for media in a drive and by default checks all floppy
media
SYNOPSISvolcheck [-v] [-i secs] [-t secs] pathname
DESCRIPTION
The volcheck utility tells Volume Management to look at each dev/path‐
name in sequence and determine if new media has been inserted in the
drive.
The default action is to volcheck all checkable media managed by volume
management.
OPTIONS
The following options are supported:
-i secs Set the frequency of device checking to secs seconds. The
default is 2 seconds. The minimum frequency is 1 second.
-t secs Check the named device(s) for the next secs seconds. The max‐
imum number of seconds allowed is 28800, which is 8 hours. The
frequency of checking is specified by -i. There is no default
total time.
-v Verbose.
OPERANDS
The following operands are supported:
pathname The path name of a media device.
EXAMPLES
Example 1: A sample of the volcheck command.
The following example
example% volcheck −v /dev/diskette
/dev/diskette has media
asks Volume Management to examine the floppy drive for new media.
The following example
example% volcheck −i 2 −t 600 /dev/diskette1 &
asks Volume Management if there is a floppy in the floppy drive every 2
seconds for 600 seconds (10 minutes).
FILES
/dev/volctl Volume Management control port
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │SUNWvolu │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOeject(1), volcancel(1), volmissing(1)rmmount(1M), vold(1M),
rmmount.conf(4), vold.conf(4), attributes(5), volfs(7FS)WARNINGS
Due to a hardware limitation in many floppy drives, the act of checking
for media causes mechanical action in the floppy drive. Continuous
polling of the floppy drive will cause the drive to wear out. It is
recommended that polling the drive only be performed during periods of
high use.
SunOS 5.10 21 Feb 1997 volcheck(1)