Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #98
Difficulty: Easy
Unix was the first operating system that was written in a high-level programming language (C Language).
True or False?
Linux & Unix Commands - Search Man Pages

umount(8) [bsd man page]

UMOUNT(8)						      System Manager's Manual							 UMOUNT(8)

NAME
umount - unmount file systems SYNOPSIS
umount [ -fv ] special | node umount -a [ -fv ] [ -t ufs | external_type ] DESCRIPTION
The umount command calls the umount(2) system call to remove a special device from the file system tree at the point node. If either spe- cial or node are not provided, the appropriate information is taken from the fstab(5) file. The options are as follows: -a All of the file systems described in fstab(5) are unmounted. -f The file system is forcibly unmounted. Active special devices continue to work, but all other files return errors if further accesses are attempted. The root file system cannot be forcibly unmounted. This is not currently implemented in 2.11BSD. -t ufs | external type Is used to indicate the actions should only be taken on filesystems of the specified type. More than one type may be specified in a comma separated list. The list of filesystem types can be prefixed with no to specify the filesystem types for which action should not be taken. For example, the umount command: umount -a -t nfs,mfs umounts all filesystems of the type NFS and MFS. NOTE: Only UFS is supported by 2.11BSD. The example is for illustrative purposes only. -v Verbose, additional information is printed out as each file system is unmounted. FILES
/etc/fstab file system table SEE ALSO
umount(2), fstab(5), mount(8) HISTORY
A umount command appeared in Version 6 AT&T UNIX. 4.4 Berkeley Distribution January 16, 1996 UMOUNT(8)

Check Out this Related Man Page

UMOUNT(8)						    BSD System Manager's Manual 						 UMOUNT(8)

NAME
umount -- unmount filesystems SYNOPSIS
umount [-fv] special | node umount -a | -A [-fv] [-h host] [-t type] DESCRIPTION
The umount command calls the unmount(2) system call to remove a special device or the remote node (rhost:path) from the filesystem tree at the point node. If either special or node are not provided, the appropriate information is taken from the list of filesystems provided by getfsent(3). The options are as follows: -a All the filesystems described via getfsent(3) are unmounted. -A All the currently mounted filesystems except the root are unmounted. -f The filesystem is forcibly unmounted. Active special devices continue to work, but all other files return errors if further accesses are attempted. The root filesystem cannot be forcibly unmounted. -h host Only filesystems mounted from the specified host will be unmounted. This option implies the -A option and, unless otherwise speci- fied with the -t option, will only unmount NFS filesystems. -t type Is used to indicate the actions should only be taken on filesystems of the specified type. More than one type may be specified in a comma separated list. The list of filesystem types can be prefixed with ``no'' to specify the filesystem types for which action should not be taken. For example, the umount command: umount -A -t nfs,hfs umounts all currently-mounted filesystems of the type NFS and HFS. (The -a option only unmounts entries in the /etc/fstab list.) -v Verbose, additional information is printed out as each filesystem is unmounted. NOTES
Due to the complex and interwoven nature of Mac OS X, umount may fail often. It is recommended that diskutil(1) (as in, ``diskutil unmount /mnt'') be used instead. SEE ALSO
unmount(2), getfsent(3), mount(8), diskutil(1) HISTORY
A umount command appeared in Version 6 AT&T UNIX. 4th Berkeley Distribution May 8, 1995 4th Berkeley Distribution

11 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ufsdump

I want to try using Ufsdump for backups . The man pages state that the file systems should be inactive or be in the unmounted state . But for that system should be in single User mode. My query is that can we perform Ufsdump in run-level 3 ? And if no should I have to reboot it in Single user... (3 Replies)
Discussion started by: DPAI
3 Replies

2. HP-UX

more than one fs type on the same file system

hi is it possible to have more than one file system types on the same file system. if yes then how do we do it, can veritas be used to achieve this (1 Reply)
Discussion started by: livemyway
1 Replies

3. SCO

filesystem not getting unmounted

Hi, I'm working on SCO 2.1. I had a problem with my datadrive & I had replaced it lastly. Now one of the installed filesystems is not getting unmounted at the time of shutting down the system (I guess):confused: after the installation of new tape drive. If I try to unmount it forciblyby writing... (1 Reply)
Discussion started by: nensee7
1 Replies

4. SCO

file system under /dev have been unmounted

Dear all, i am running SCO unix 7.1, and i had a problem with the system file that was full thus some application wasn't able to be executed; then i've done the following: - move some core files from / directory - Increase the system parameter FLCKREC, then rebuild the system. - after... (1 Reply)
Discussion started by: Athos19
1 Replies

5. Solaris

Filesystem - umount the / (root) file system

Hi all Is it ok to umount the / (root) file system? Because recently i had extend the swap space by add the cylinders, now only found that the cylinders is overlap with the root. Is it ok for future server operation? partition> print Current partition table (original): Total disk... (6 Replies)
Discussion started by: SmartAntz
6 Replies

6. AIX

remove pv from vg without varyoff

hi, I've a little problem... I'm on aix 5.3TL9. I've a Vg with 5 pv, 90% of this vg was used by a FS, which has been removed. Can i remove some PV from VG without umount other FS? How? Thanks, (4 Replies)
Discussion started by: Trax
4 Replies

7. UNIX for Dummies Questions & Answers

fstab

hi , i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of unmounted partitions. thanks (4 Replies)
Discussion started by: Linux001
4 Replies

8. UNIX for Dummies Questions & Answers

accidentally umount -a

Hi all, I accidentally unmounted filesystems using umount -a command. How to recover from this. Please help. Thanks in advance! when i try to use mount -a i got the following output. # mount -a mount: /dev/vg00/lvol05 already mounted or /opt busy mount: /dev/vg00/lvol07 already... (4 Replies)
Discussion started by: lramsb4u
4 Replies

9. AIX

at command in aix

Hi I use this "at" command to unmount 12 filesystems in my aix server echo "ksh /usr/local/bin/umount.sh" | at now i want to schedule it on a daily basis. I know that it can be done via crontab. But Im just curious to know if daily wise scheduling can also be done via the "at" command ?... (1 Reply)
Discussion started by: samsungsamsung
1 Replies

10. HP-UX

Remove a package forcibly in HPUX

In HPUX, I want remove a package forcibly on which some other packages are depended. On Linux following command is used to remove a package forcibly. rpm -e package_name --nodeps I want the samething in HPUX through swremove command. (1 Reply)
Discussion started by: snreddy_gopu
1 Replies

11. AIX

Can't mount a partition

Hello, today i get some aix errors (can't lock files and strange things) then i umount FS to do a fsck but i get these errors root@omega / > fsck -p /dev/fslv06 The current volume is: /dev/fslv06 Unable to read primary superblock. Unable to read either superblock. I readed on this page... (9 Replies)
Discussion started by: thorin666
9 Replies

Featured Tech Videos