mountall(1m) 맨 페이지 - 윈디하나의 솔라나라


맨 페이지 이름


System Administration Commands                                    mountall(1M)

       mountall, umountall - mount, unmount multiple file systems

       mountall [-F FSType] [-l | -r] [file_system_table]

       umountall [-k] [-s] [-F FSType] [-l | -r] [-n]  [-Z]

       umountall [-k] [-s] [-h host] [-n] [-Z]

       mountall  is  used to mount file systems specified in a file system ta‐
       ble. The file system table must be in vfstab(4) format. If no file_sys‐
       tem_table  is  specified,  /etc/vfstab  is  used.  If − is specified as
       file_system_table, mountall reads the file system table from the  stan‐
       dard  input.  mountall mounts only those file systems with the mount at
       boot field set to yes in the file_system_table.

       For each file system in the file system table, the following  logic  is
       executed:  if  there  exists  a  file/usr/lib/fs/FSType/fsckall,  where
       FSType is the type of the file system, save that file system in a  list
       to   be   passed   later,   and  all  at  once,  as  arguments  to  the
       /usr/lib/fs/FSType/fsckall   script.   The   /usr/lib/fs/FSType/fsckall
       script checks all of the file systems in its argument list to determine
       whether they can be safely mounted.  If  no  /usr/lib/fs/FSType/fsckall
       script  exists  for  the  FSType of the file system, the file system is
       individually checked using fsck(1M). If the file system does not appear
       mountable,  it  is fixed using fsck before the mount is attempted. File
       systems with a − entry in the fsckdev field are mounted  without  first
       being checked.

       umountall  causes  all  mounted file systems in the current zone except
       root,  /usr,  /var,  /var/adm,  /var/run,  /proc,  and  /dev/fd  to  be
       unmounted.  If  the  FSType  is specified, mountall and umountall limit
       their actions to the FSType  specified.  There  is  no  guarantee  that
       umountall  unmounts  busy file systems, even if the -k option is speci‐

       The following options are supported:

       -F         Specify the FSType of the  file  system  to  be  mounted  or

       -h host    Unmount  all  file  systems  listed  in /etc/mnttab that are
                  remote-mounted from host.

       -k         Use the fuser -k mount-point command. See the fuser(1M)  for
                  details.  The  -k  option  sends  the SIGKILL signal to each
                  process using the file. As this option spawns kills for each
                  process,  the  kill  messages might not show up immediately.
                  There is no guarantee that umountall unmounts busy file sys‐
                  tems, even if the -k option is specified.

       -l         Limit the action to local file systems.

       -n         List  the  actions that would be performed for the specified
                  options, but do not actually execute these actions.  Repeat‐
                  ing  the  command  without the -n option executes the listed
                  actions, assuming that the /etc/mnttab file has not  changed
                  in the interval prior to repeating the command.

       -r         Limit the action to remote file system types.

       -s         Do not perform the umount operation in parallel.

       -Z         Apply  the  action(s)  only  to the file systems  mounted in
                  non-global zones. By default, umountall unmounts  only  file
                  systems mounted in the current zone. Option -Z is ignored if
                  used in a non-global zone.


           Mounted file system table


           Table of file system defaults


           Script called by mountall to perform the file system check  of  all
           file systems of type FSType

       See attributes(5) for descriptions of the following attributes:

       tab()   box;   cw(2.75i)  |cw(2.75i)  lw(2.75i)  |lw(2.75i)  ATTRIBUTE
       TYPEATTRIBUTE VALUE _ Availabilitysystem/core-os _ Interface  Stabil‐
       ityCommitted _ Output StabilityUncommitted

       fsck(1M), fuser(1M), mount(1M), mnttab(4), vfstab(4), attributes(5)

       No messages are printed if the file systems are mountable and clean.

       Error and warning messages come from fsck(1M) and mount(1M).

       At  this  time, NFS is the only remote file system supported by the -l,
       -r, and -h options.

SunOS 5.11                        17 Dec 2008                     mountall(1M)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.