Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 257265 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)


diskd - disk daemon; wait for disk to be inserted


This manpage has been automatically generated from fdutils's texinfo documentation. However, this process is only approximative, and some items, such as crossreferences, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate representation in the manpage format. Moreover, only the items specific to each command have been translated, and the general information about fdutils has been dropped in the manpage version. Thus I strongly advise you to use the original texinfo doc.
To generate a printable copy from the texinfo doc, run the following commands:
     ./configure; make dvi; dvips fdutils.dvi

To generate a html copy, run:
     ./configure; make html

  A premade html can be found at: ∞
To generate an info copy (browsable using emacs' info mode), run:
     ./configure; make info


The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info.


The diskd command has the following syntax:


 diskd [-d drive] [-i interval] [-e command]


Diskd waits for a disk to be inserted into a given drive, and then either executes the command or exits. This program can be used to automatically mount a disk as soon as it is inserted.


This program works by switching the motor on for a very short interval, and then seeking to track -1. This might damage hardware in the long run. Amigas, which also use these techniques, are known for having problems with their disk drives no longer spinning up properly after a few month of usage.


-d drive 
Selects the drive to observe for disk insertion. By default, drive 0 (/dev/fd0) is observed.
-i interval 
Selects the polling interval. The interval is given in tenths of seconds. Default is 10 (one second).
-e command 
Gives the command to be executed when a disk is inserted. If no command is given the program simply exits. Typically, the command mounts the disk. It can be a shell scripts which probes for several filesystems and disk geometries until it succeeds.


Automatic unmounting cannot yet be handled. It is indeed not enough to scan for disk removal, because when the disk is removed, it is already too late: There might be some buffers needing flushing. However, the fdmountd program allows automatic unmounting by using the SYNC mount options, which switches off write buffering (see section fdmount).
The drive motor is running all the time, and on some computers, the drive led flickers at each time the drive is polled.

See Also

Fdutils' texinfo doc
Ouais, y est hué !

Hier lion doué, pionnier louable,
Fier dieu rieur skiant cieux quiets,
Nuit puis lueur, juin fruitier,
Sioux bien pieux, douanier fiable ;

Hui vieux chien, truie point viable,
Buandier cuit, tuilier niais,
Huissier fui, noueux buis scié,
Suant pion muet puis huant diable...

Hier jouissions, puisions miel ;
Hui suis rien - pouah, suif, fiel !
Couard pioupiou boueux, puant zouave...

Puisse Io m'ouïr mieux qu'Ian Jouet !
Viens via l'ouest, viens pluie suave
Bruir cuir mien, ruer huit fouets !

-- Esposito-Farese, Gilles