umount.nilfs2(8)

umount.nilfs28

Unmount nilfs2 file systems

Usage

umount {[-t nilfs2] [-dfilnrv] device | dir []}

umount.nilfs2 [-nrv] dir []

umount.nilfs2 [-V]

Overview

umount.nilfs2 detaches the NILFS2 file system(s) mentioned from the file hierarchy. This is the umount helper for NILFS2 to shut down the garbage collector nilfs_cleanerd(8) before detaching the file system. Usually it should be invoked through umount(8).

Options

See umount(8) for the full set of options. Commonly used options with NILFS2 are as follows:

-V

Print version and exit.

-i

Don't call umount.nilfs2. Valid for umount(8).

-n

Unmount without writing in /etc/mtab. This option must be used carefully because mount.nilfs2 and umount.nilfs2 use the table to store the process ID of nilfs_cleanerd(8).

-r

In case unmounting fails, try to remount read-only.

-v

Verbose mode.

The loop device

umount.nilfs2 will free the loop device (if any) associated with the mount, in case it finds the option `loop=...' in /etc/mtab. The -d option, which also allows umount(8) to free the loop device without the `loop=...' option, is not supported.

Releases

10 releases since Debian 5.0 (Lenny); the text changed 4 times.

  1. 5.0–6.0
  2. 7
  3. 8–10
  4. 11–13
  5. Arch

-V since Debian 7 (Wheezy).

Author

umount.nilfs2 is written by Ryusuke Konishi <[email protected]> for NILFS2, based on the umount program included in the util-linux package.

Availability

umount.nilfs2 is part of the nilfs-utils package and is available from https://nilfs.sourceforge.io.

From nilfs-utils 2.3.1-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.