mounted (7) - Linux Manuals
mounted: event signalling that a filesystem has been mounted
mounted - event signalling that a filesystem has been mounted
SYNOPSISmounted DEVICE=DEVICE MOUNTPOINT=MOUNTPOINT TYPE=TYPE OPTIONS=OPTIONS [ENV]...
DESCRIPTIONThe 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 emitting any other events related to this filesystem or continuing with other filesystems depending on this one.
The DEVICE, MOUNTPOINT, TYPE and OPTIONS environment variables contain the values of the fstab(5) fields for this mountpoint.
EXAMPLEA tool that should be run after mounting the /tmp filesystem might use:
start on mounted MOUNTPOINT=/tmp task
SEE ALSOmounting(7) virtual-filesystems(7) local-filesystems(7) remote-filesystems(7) all-swaps(7) filesystem(7)