[Go to CFHT Home Page] Man Pages
Back to Software Index  BORDER=0Manpage Top Level
    volcheck(1) manual page Table of Contents

Name

volcheck - checks for media in a drive and by default checks all floppy media

Synopsis

volcheck [ -v ] [ -i secs ] [ -t secs ] pathname

Availability

SUNWvolu

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 all floppy drives pointed to by volume management.

Options

-v
Verbose.
-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 -v /dev/diskette
    /dev/diskette has media

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


    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

See Also

eject(1) , volcancel(1) , volmissing(1) rmmount(1M) , vold(1M) , rmmount.conf(4) , vold.conf(4) , 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.


Table of Contents