mounting(7)

mounting7

Event signalling that a filesystem is mounting

Usage

mounting DEVICE=DEVICE MOUNTPOINT=MOUNTPOINT TYPE=TYPE OPTIONS=OPTIONS [ENV]...

Overview

The mounting event is generated by the mountall(8) daemon when it is about to mount 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 proceeding with mounting the filesystem.

The DEVICE, MOUNTPOINT, TYPE and OPTIONS environment variables contain the values of the fstab(5) fields for this mountpoint.

Examples

A tool that should be run before mounting the /var filesystem might use:

start on mounting MOUNTPOINT=/var
task

Releases

Unchanged in 2 releases since Debian 7 (Wheezy).

  1. 7–8

From mountall 2.54 in Debian 8 (Jessie). Parsed by carta from the page's man source.