subscribe iconSubscribe to this information
POWER7 information

unmount command

Purpose

Unmounts a previously mounted file system, directory, or file.

Syntax

unmount { Directory | File | FileSystem }

Description

The unmount command unmounts a previously mounted directory, file, or file system. Processing on the file system, directory, or file completes and it is unmounted.

To unmount local mounts you can specify the device, directory, file, or file system on which it is mounted.

Exit Status

See Exit status for Virtual I/O Server commands.

Examples

  1. To unmount files and directories, type the following command:
    unmount /home/user/test
    This unmounts the filesystem mounted at /home/user/test.


Send feedback Rate this page

Last updated: Wed, June 03, 2015