The
mounted
event is generated by the
mountall(8)
daemon after it has mounted a filesystem.
mountall(8)
will wait for all services started by this event to be running, all tasks
started by this event to have finished and all jobs stopped by this event
to be stopped before continuing with other filesystems.
The
DEVICE, MOUNTPOINT, TYPE and OPTIONS
environment variables contain the values of the
fstab(5)
fields for this mountpoint.
EXAMPLE
A tool that should be run after mounting the
/tmp
filesystem might use: