TOADD(8)

NAME
toadd - optical medium detection daemon for toad(8)

SYNOPSIS
toadd [-d] [-w wait]

DESCRIPTION
toadd is an optical medium detection daemon that works in conjunction with the toad(8) automounter. It will detect the insertion of a medium in the optical drives of the machine (maximum 2) by periodically reading their disklabel(8).

The options are as follows:

-d  Do not daemonize. If this option is specified, toadd will run in the foreground and log to stderr.

-w wait
    Pause wait seconds between each device poll (max: 60). If this option is omitted toadd will poll every 8 seconds.

When a medium is inserted or ejected, toadd will call toad(8) with the attach or detach argument respectively.

SEE ALSO
toad(8)

AUTHORS
Antoine Jacoutot <antoine@mtier.org>

CAVEATS
Some drives are not meant to be polled this frequently and it may be possible to damage them by using toadd.