Penguin
Annotated edit history of diskd(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 diskd
2 !!!diskd
3 Name
4 Note
5 Description
6 Warning
7 Options
8 Bugs
9 See Also
10 ----
11 !!Name
12
13
14 diskd - disk daemon; wait for disk to be inserted
15 !!Note
16
17
18 This manpage has been automatically generated from fdutils's
19 texinfo documentation. However, this process is only
20 approximative, and some items, such as crossreferences,
21 footnotes and indices are lost in this translation process.
22 Indeed, these items have no appropriate representation in
23 the manpage format. Moreover, only the items specific to
24 each command have been translated, and the general
25 information about fdutils has been dropped in the manpage
26 version. Thus I strongly advise you to use the original
27 texinfo doc.
28
29
30 *
31
32
33 To generate a printable copy from the texinfo doc, run the
34 following commands:
35
36
37 __ ./configure; make dvi; dvips fdutils.dvi
38 __
39
40
41 *
42
43
44 To generate a html copy, run:
45
46
47 __ ./configure; make html
48 __A premade html can be found at: `http://www.tux.org/pub/knaff/fdutils'
49
50
51 *
52
53
54 To generate an info copy (browsable using emacs' info mode),
55 run:
56
57
58 __ ./configure; make info
59 __
60
61
62 The texinfo doc looks most pretty when printed or as html.
63 Indeed, in the info version certain examples are difficult
64 to read due to the quoting conventions used in
65 info.
66 !!Description
67
68
69 The diskd command has the following syntax:
70
71
72 diskd [[-d ''drive''] [[-i ''msdosfiles''] [[-e ''command''
73
74
75 ]
76
77
78 Diskd waits for a disk to be inserted into a given
79 ''drive'', and then either executes the ''command'' or
80 exits. This program can be used to automatically mount a
81 disk as soon as it is inserted.
82 !!Warning
83
84
85 This program works by switching the motor on for a very
86 short interval, and then seeking to track -1. This might
87 damage hardware in the long run. Amigas, which also use
88 these techniques, are known for having problems with their
89 disk drives no longer spinning up properly after a few month
90 of usage.
91 !!Options
92
93
94 -d ''drive''
95
96
97 Selects the drive to observe for disk insertion. By default,
98 drive 0 (/dev/fd0) is observed.
99
100
101 -i ''interval''
102
103
104 Selects the polling interval. The interval is given in
105 tenths of seconds. Default is 10 (one second).
106
107
108 -e ''command''
109
110
111 Gives the command to be executed when a disk is inserted. If
112 no command is given the program simply exits. Typically, the
113 command mounts the disk. It can be a shell scripts which
114 probes for several filesystems and disk geometries until it
115 succeeds.
116 !!Bugs
117
118
119 *
120
121
122 Automatic unmounting cannot yet be handled. It is indeed not
123 enough to scan for disk removal, because when the disk is
124 removed, it is already too late: There might be some buffers
125 needing flushing. However, the fdmountd program
126 allows automatic unmounting by using the SYNC mount
127 options, which switches off write buffering (see section
128 fdmount).
129
130
131 *
132
133
134 The drive motor is running all the time, and on some
135 computers, the drive led flickers at each time the drive is
136 polled.
137 !!See Also
138
139
140 Fdutils' texinfo doc
141 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.