xref: /minix/minix/commands/umount/umount.1 (revision ebfedea0)
UMOUNT 1
NAME
umount - unmount a mounted file system
SYNOPSIS
umount name

\\\$1\ \\$2 ..

20 \\\$1\ # \\$2 ..

EXAMPLES

20 umount /dev/fd1 # Unmount diskette 1

20 umount /mnt # Unmount the file system mounted on /mnt

DESCRIPTION

This command unmounts a file system identified by name . This name may be either a block special file, or the path name of a mount point. A mounted file system is unmounted after the cache has been flushed to disk. A diskette should never be removed while it is mounted. If this happens, and is discovered before another diskette is inserted, the original one can be replaced without harm. Attempts to unmount a file system holding working directories or open files will be rejected with a 'device busy' message.

"SEE ALSO"
mount (1), umount (2).