GNU/Linux Command – UMOUNT

umount — UnMount File System

Summary:

The umount command detaches the file system(s) mentioned from the file hierarchy. A file system cannot be unmounted when it is `busy’, for
example, when there are open files on it, or when some process has its working directory there, or when a swap file on it is in use.

Examples:
# umount /mnt/cdrom -- Unmount the CDROM, using mount point. # umount -v /dev/cdrom -- Unmount the CDROM, using device file and show verbose messages. # umount -f /nfs/home -- Force unmount (Useful in case of an unreachable NFS system). # umount -l /media/floppy -- Lazy unmount (I don't care, why the device is busy). # umount -n /mnt/cdrom -- Unmount without updating the /etc/mtab, which contains the list of currently mounted FSs.
Read: man umount

Advertisements
Tagged with: ,
Posted in Uncategorized

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: