unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 mountall(1M)							mountall(1M)




 NAME
      mountall, umountall - mount and unmount multiple file systems

 SYNOPSIS
      /sbin/mountall [-F FStype] [-l|-r] [file_system_table | -]
      /sbin/mountall [-l|-r] [-m]
      /sbin/mountall [-n]
      /sbin/umountall [-F FStype] [-k] [-l|-r]

 DESCRIPTION
      mountall is used to mount file systems according to file_system_table.
      By default, /etc/fstab is the file_system_table.	If a dash (-) is
      specified, mountall reads file_system_table from the standard input;
      the standard input must be in the same format as the /etc/fstab.

      Before each file system is mounted, a check is done using fsck (see
      fsck(1M)) to ensure that the file system is mountable. If the file
      system is not mountable, it is repaired by fsck before the mount is
      attempted.

      umountall causes all mounted file systems except the non-removable
      file systems such as root to be unmounted.

    Options
      mountall and umountall recognize the following options:

	   -F FStype	  Specify the file system type (FStype) to be
			  mounted or unmounted.

	   -l		  Specify action on local file systems only.

	   -r		  Specify action on remote file systems only.

	   -k		  Send a SIGKILL signal to processes that have files
			  opened.

	   -m		  Attempt to mount all the unmounted file systems.
			  This option will not perform the file system
			  consistency check and repair.

	   -n		  Perform the file system consistency check and
			  repair on all unmounted file system. This option
			  will not mount the file systems.

 DIAGNOSTICS
      Error and warning messages may originate from fsck, mount, fuser, or
      umount.  See fsck(1M), mount(1M), or fuser(1M) to interpret the error
      and warning messages.

 EXAMPLES




 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000






 mountall(1M)							mountall(1M)




      Mount all unmounted file systems listed in /etc/fstab:

	   mountall

      Mount all local file systems listed in /etc/fstab:

	   mountall -l

      Mount all remote file systems listed in /etc/fstab:

	   mountall -r

      Mount all local hfs file systems:

	   mountall -F hfs -l

      Unmount all NFS file systems and kill any processes that have files
      opened in the file system:

	   umountall -F nfs -k

 WARNINGS
      umountall, especially with the -k option, should be used with extreme
      caution, because it can cause severe damage.

      The -n option may not be available in future releases.

      mountall may not be effective with some cases of LOFS file systems.

 FILES
      /etc/fstab	  Static information about the file systems
      /etc/mnttab	  Mounted file system table

 SEE ALSO
      fsck(1M), mount(1M), fuser(1M), mnttab(4), fstab(4), signal(2)



















 Hewlett-Packard Company	    - 2 -   HP-UX Release 11i: November 2000