volcheck - checks for media in a drive and by default checks all floppy media
volcheck [-v] [-i secs] [-t secs] pathname
The volcheck utility tells volume management to look at each dev/pathname 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.
The following options are supported:
-i secs
-t secs
-v
The following operands are supported:
pathname
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).
/dev/volctl
See attributes(5) for descriptions of the following attributes:
|
eject(1), rmmount(1M), attributes(5)
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.
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |