*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> mountall (1m)              
Title
Content
Arch
Section
 

Contents


 mountall(1M)                                                   mountall(1M)




 NAME    [Toc]    [Back]
      mountall, umountall - mount and unmount multiple file systems

 SYNOPSIS    [Toc]    [Back]
      /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    [Toc]    [Back]
      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    [Toc]    [Back]
      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    [Toc]    [Back]
      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    [Toc]    [Back]




 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003






 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    [Toc]    [Back]
      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    [Toc]    [Back]
      /etc/fstab          Static information about the file systems
      /etc/mnttab         Mounted file system table

 SEE ALSO    [Toc]    [Back]
      fsck(1M), mount(1M), fuser(1M), mnttab(4), fstab(4), signal(2)


 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
umount_nfs HP-UX mount and unmount NFS file systems
umount_hfs HP-UX mount and unmount HFS file systems
mount_hfs HP-UX mount and unmount HFS file systems
pfs_umount HP-UX mount and unmount CD-ROM file systems
pfs_mount HP-UX mount and unmount CD-ROM file systems
mount HP-UX mount and unmount file systems
mount_nfs HP-UX mount and unmount NFS file systems
umount HP-UX mount and unmount file systems
mount_cdfs HP-UX mount and unmount CDFS file systems
umount_vxfs HP-UX mount and unmount VxFS file systems
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service