Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ volcheck(1) — SunOS 5.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

eject(1)

volcancel(1)

volmissing(1)

rmmount(1M)

vold(1M)

rmmount.conf(4)

vold.conf(4)

volfs(7)

volcheck(1)

NAME

volcheck − check for media in a drive. Default checks for floppy. 

SYNOPSIS

volcheck [ −i secs ] [ −t secs ] pathname

DESCRIPTION

volcheck() tells Volume Management to look at each pathname in sequence and determine if new media has been inserted in the drive. 

The default action is to volcheck() the floppy drive pointed to by /dev/diskette. 

OPTIONS

−t secs
Check the named device(s) for the next secs seconds.  The maximum number of seconds allowed is 28800, which is 8 hours.  The frequency of checking is specified by -i.  There is no default total time. 

−i secs
Set the frequency of device checking to secs seconds.  The default is 2 seconds.  The minimum frequency is 1 second. 

EXAMPLES

example% volcheck /dev/diskette

asks Volume Management to examine the floppy drive for new media. 

example% volcheck -i 2 -t 600 /dev/diskette &

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

/dev/diskette default device to "volcheck"

SEE ALSO

eject(1), volcancel(1), volmissing(1) rmmount(1M), vold(1M), rmmount.conf(4), vold.conf(4), volfs(7)

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. 

Sun Microsystems  —  Last change: 23 Feb 1993

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