Dit deel is nog niet vertaald. Je ziet de Engelse tekst.
Wat het doet
Zo schrijf je het
umount [OPTION]... DIRECTORY|DEVICE
umount -a [-t TYPE] [-O OPTIONS]Opties 18
Meest gebruikt
Niets past bij dit filter.
Voorbeelden 10
$ als gewone gebruiker# als root (of met sudo)
1Unmount a folder
umount /dataOr
umount /dev/vdb1.2Target is busy
Shows the processes; often a shell that is still in /data.
3Leave the folder yourself
cd /; umount /dataThe most common cause.
4Lazy unmount
umount -l /dataDisappears now; really freed when the last user is gone.
5Hanging NFS share
umount -f -l /mnt/nfsWhen the server is gone.
6Unmount a tree
umount -R /mnt/chrootAlso /mnt/chroot/proc, dev, sys …
7Unmount an ISO and free the loop device
umount -d /repoCleans the loop device too.
8Remount read-only if busy
umount -r /dataAt least no more writes.
9Unmount all NFS mounts
umount -a -t nfs,nfs4Before a network change.
10Check that it is gone
findmnt returns 1 when nothing is mounted.
Niets past bij dit filter.
Exitcodes
0 | Done. |
1 | Error. |
32 | Unmount failure. |
64 | Some worked (with -a). |