Rev | Author | # | Line |
---|---|---|---|
1 | perry | 1 | diskseekd |
2 | !!!diskseekd | ||
3 | Name | ||
4 | Note | ||
5 | Description | ||
6 | Options | ||
7 | Bugs | ||
8 | See Also | ||
9 | ---- | ||
10 | !!Name | ||
11 | |||
12 | |||
13 | diskseekd - disk seek daemon; simulates Messy Dos' drive cleaning effect | ||
14 | !!Note | ||
15 | |||
16 | |||
17 | This manpage has been automatically generated from fdutils's | ||
18 | texinfo documentation. However, this process is only | ||
19 | approximative, and some items, such as crossreferences, | ||
20 | footnotes and indices are lost in this translation process. | ||
21 | Indeed, these items have no appropriate representation in | ||
22 | the manpage format. Moreover, only the items specific to | ||
23 | each command have been translated, and the general | ||
24 | information about fdutils has been dropped in the manpage | ||
25 | version. Thus I strongly advise you to use the original | ||
26 | texinfo doc. | ||
27 | |||
28 | |||
29 | * | ||
30 | |||
31 | |||
32 | To generate a printable copy from the texinfo doc, run the | ||
33 | following commands: | ||
34 | |||
35 | |||
36 | __ ./configure; make dvi; dvips fdutils.dvi | ||
37 | __ | ||
38 | |||
39 | |||
40 | * | ||
41 | |||
42 | |||
43 | To generate a html copy, run: | ||
44 | |||
45 | |||
46 | __ ./configure; make html | ||
47 | __A premade html can be found at: `http://www.tux.org/pub/knaff/fdutils' | ||
48 | |||
49 | |||
50 | * | ||
51 | |||
52 | |||
53 | To generate an info copy (browsable using emacs' info mode), | ||
54 | run: | ||
55 | |||
56 | |||
57 | __ ./configure; make info | ||
58 | __ | ||
59 | |||
60 | |||
61 | The texinfo doc looks most pretty when printed or as html. | ||
62 | Indeed, in the info version certain examples are difficult | ||
63 | to read due to the quoting conventions used in | ||
64 | info. | ||
65 | !!Description | ||
66 | |||
67 | |||
68 | Several people have noticed that Linux has a bad tendency of | ||
69 | killing floppy drives. These failures remained completely | ||
70 | mysterious, until somebody noticed that they were due to | ||
71 | huge layers of dust accumulating in the floppy drives. This | ||
72 | cannot happen under Messy Dos, because this excuse for an | ||
73 | operating system is so unstable that it crashes roughly | ||
74 | every 20 minutes (actually less if you are running Windows). | ||
75 | When rebooting, the BIOS seeks the drive, and by doing this, | ||
76 | it shakes the dust out of the drive mechanism. | ||
77 | diskseekd simulates this effect by seeking the | ||
78 | drive periodically. If it is called as diskseek, | ||
79 | the drive is seeked only once. | ||
80 | !!Options | ||
81 | |||
82 | |||
83 | The syntax for diskseekd is as | ||
84 | follows: | ||
85 | |||
86 | |||
87 | diskseekd [[-d ''drive''] [[-i ''interval''] [[-p ''pidfile'' | ||
88 | |||
89 | |||
90 | ] | ||
91 | |||
92 | |||
93 | -d ''drive'' | ||
94 | |||
95 | |||
96 | Selects the drive to seek. By default, drive 0 | ||
97 | (`/dev/fd0') is seeked. | ||
98 | |||
99 | |||
100 | -i ''interval'' | ||
101 | |||
102 | |||
103 | Selects the cleaning interval, in seconds. If the interval | ||
104 | is 0, a single seek is done. This is useful when calling | ||
105 | diskseek from a crontab. The default is 1000 seconds (about | ||
106 | 16 minutes) for diskseekd and 0 for | ||
107 | diskseek. | ||
108 | |||
109 | |||
110 | -p ''pidfile'' | ||
111 | |||
112 | |||
113 | Stores the process id of the diskseekd daemon into | ||
114 | ''pidfile'' instead of the default | ||
115 | `/var/run/diskseekd.pid'. | ||
116 | !!Bugs | ||
117 | |||
118 | |||
119 | 1. | ||
120 | |||
121 | |||
122 | Other aspects of Messy Dos' flakiness are not | ||
123 | simulated. | ||
124 | |||
125 | |||
126 | 2. | ||
127 | |||
128 | |||
129 | This section lacks a few smileys. | ||
130 | !!See Also | ||
131 | |||
132 | |||
133 | Fdutils' texinfo doc | ||
134 | ---- |