NAME
macmntd - Macintosh removable media mount daemon

SYNOPSIS
/usr/etc/macmntd

DESCRIPTION
macmntd automatically mounts floppies (and other removable media)
when they are inserted into the floppy drive. macmntd waits for
disk inserted events by opening the disk inserted device,
/dev/diskinsert. This open request blocks until the next disk is
inserted into the floppy drive, at which time the open completes
and macmntd issues an ioctl to glean the disk’s Macintosh volume
name from the disk inserted device. This name is passed as a
parameter to mount which uses /etc/fstab to determine where to
mount the volume. (In MachTen, /etc/fstab may contain entries of
the form ’Macintosh volume name’,’directory’.) If there is no entry
in the /etc/fstab for this volume, macmntd makes a directory in
/floppy with the same name as the volume name and mounts the volume
there.

FILES
/dev/diskinsert
/floppy

SEE ALSO
mount(8), fstab(5)

NOTES
Only one process can be waiting for the disk inserted event.
Subsequent open requests fail with EBUSY.