---
name: "mounting"
section: "7"
platform: "linux"
package: "mountall"
version: "2.54"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mounting"
---

# mounting(7)

event signalling that a filesystem is mounting

## NAME

mounting - event signalling that a filesystem is mounting

## SYNOPSIS

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

## DESCRIPTION

The **mounting** event is generated by the [**mountall**(8)](/mountall/8.md) daemon when it is about to mount a filesystem. [**mountall**(8)](/mountall/8.md) 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)](/fstab/5.md) fields for this mountpoint.

## EXAMPLE

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

```
start on mounting MOUNTPOINT=/var
task
```

## SEE ALSO

[**mounted**(7)](/mounted/7.md) [**virtual-filesystems**(7)](/virtual-filesystems/7.md) [**local-filesystems**(7)](/local-filesystems/7.md) [**remote-filesystems**(7)](/remote-filesystems/7.md) [**all-swaps**(7)](/all-swaps/7.md) [**filesystem**(7)](/filesystem/7.md)
