Node: unmount, Forrige: tidy, Opp: Command reference



unmount

The unmount function unmounts non-required filesystems and removes the appropriate entry from the filesystem table (/etc/fstab or equivalent). The syntax is simply
     unmount:
     
        class::
     
           mounthost:filesystem
     
             deletedir=true/false
             deletefstab=true/false
             force=true/false
     
     

The options allow you to temporarily unmount a directory without actually removing it from the filesystem table. The option force is not currently implemented and will likely have to be system dependent. For example:

     unmount:
     
        physics::
     
           libraryserver:/$(site)/libraryserver/data
     
     

If the device is busy then the actual unmount will not take place until it becomes free, or the machine is rebooted. This feature should work on AIX systems, in spite of these machines inherent peculiarities in the form of the filesystem table.

Some users do not mount filesystems on a directory of the same name as the source directory. This can lead to confusion. Note, if you have problems removing a mounted filesystem, try using the mountpoint of the filesystem, rather than the name of the filesystem itself, in the unmount command.