1volcheck(1) User Commands volcheck(1)
2
3
4
6 volcheck - checks for media in a drive and by default checks all floppy
7 media
8
10 volcheck [-v] [-i secs] [-t secs] pathname
11
12
14 The volcheck utility tells volume management to look at each dev/path‐
15 name in sequence and determine if new media has been inserted in the
16 drive.
17
18
19 The default action is to volcheck all checkable media managed by volume
20 management.
21
23 The following options are supported:
24
25 -i secs Set the frequency of device checking to secs seconds. The
26 default is 2 seconds. The minimum frequency is 1 second.
27
28
29 -t secs Check the named device(s) for the next secs seconds. The
30 maximum number of seconds allowed is 28800, which is 8
31 hours. The frequency of checking is specified by -i. There
32 is no default total time.
33
34
35 -v Verbose.
36
37
39 The following operands are supported:
40
41 pathname The path name of a media device.
42
43
45 Example 1 A sample of the volcheck command.
46
47
48 The following example
49
50
51 example% volcheck −v /dev/diskette
52 /dev/diskette has media
53
54
55
56
57 asks volume management to examine the floppy drive for new media.
58
59
60
61 The following example
62
63
64 example% volcheck −i 2 −t 600 /dev/diskette1 &
65
66
67
68
69 asks volume management if there is a floppy in the floppy drive every 2
70 seconds for 600 seconds (10 minutes).
71
72
74 /dev/volctl volume management control port
75
76
78 See attributes(5) for descriptions of the following attributes:
79
80
81
82
83 ┌─────────────────────────────┬─────────────────────────────┐
84 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
85 ├─────────────────────────────┼─────────────────────────────┤
86 │Availability │SUNWvolu │
87 └─────────────────────────────┴─────────────────────────────┘
88
90 eject(1), rmmount(1M), attributes(5)
91
93 Due to a hardware limitation in many floppy drives, the act of checking
94 for media causes mechanical action in the floppy drive. Continuous
95 polling of the floppy drive will cause the drive to wear out. It is
96 recommended that polling the drive only be performed during periods of
97 high use.
98
99
100
101SunOS 5.11 28 Feb 2007 volcheck(1)