unmount filesystems or partitions (UNIX)
umount block_special_file umount mount_point
Unmount a filesystem mounted on your primary QNX partition:
umount /dev/hd0t77
Unmount all partitions mounted on your primary hard disk:
umount /dev/hd0
Mount a read-only floppy filesystem, unmount it, and remount it as a read/write filesystem:
mount /dev/fd0 /floppy -r umount /floppy mount /dev/fd0 /floppy
The umount utility unmounts filesystems (i.e. mount points) or partitions mounted on the named block special file.
Executing umount will fail if the named file isn't a mount point. It will also fail if the block special file is not mounted or if it is busy (a filesystem is busy if there are any files in use).
Since it effectively functions like sync, but doesn't return until all the filesystem data has been successfully updated, you should execute umount on floppy devices or other removable media before removing the disk (or diskette) from the drive. This will help prevent unusual errors or possible file corruption.