免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1193 | 回复: 3
打印 上一主题 下一主题

mountall -r [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-06-02 16:58 |只看该作者 |倒序浏览
提示: 作者被禁止或删除 内容自动屏蔽

论坛徽章:
0
2 [报告]
发表于 2003-06-02 17:01 |只看该作者

mountall -r

mount 所有写在vfstab里的nfs文件系统

论坛徽章:
0
3 [报告]
发表于 2003-06-02 17:10 |只看该作者

mountall -r

你可以用man 命令看一看不就明白了吗?

论坛徽章:
0
4 [报告]
发表于 2003-06-02 17:17 |只看该作者

mountall -r

Reformatting page.  Wait... done

Maintenance Commands                                 mountall(1M)

NAME
     mountall, umountall - mount, unmount multiple file systems

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

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

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

DESCRIPTION
     mountall  is used to mount file systems specified in a  file
     system  table.   The  file system table must be in vfstab(4)
     format. If no  file_system_table is  specified,  /etc/vfstab
     will  be  used.   If  `-' is specified as file_system_table,
     mountall  will read the file system table from the  standard
     input.   mountall   only  mounts those file systems with the
     mount at boot field set to yes in the file_system_table.

     Each file system which has an  fsckdev  entry  specified  in
     the  file  system  table  will  be checked using fsck(1M) in
     order to determine if it may be safely mounted. 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 will be mounted without first
     being checked.

     umountall  causes all  mounted  file  systems  except  root,
     /proc,   /var,  and  /usr  to be unmounted. If the FSType is
     specified, mountall  and umountall  limit their  actions  to
     the  FSType specified. There is no guarantee that  umountall
     will unmount busy filesystems, even if  the   -k  option  is
     specified.

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

     -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 may not show up  immediately.  There
               is no guarantee that  umountall  will unmount busy
               filesystems, even if the  -k option is specified.

     -l        Limit the action to local file systems.

     -r        Limit the action to remote file system types.
SunOS 5.7           Last change: 10 Jun 1997                    1

Maintenance Commands                                 mountall(1M)

     -s        Do not perform the umount  operation in parallel.

FILES
     /etc/mnttab
               mounted file system table

     /etc/vfstab
               table of file system defaults

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:
     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|

SEE ALSO
     fsck(1M), fuser(1M), mount(1M), mnttab(4), vfstab(4), attri-
     butes(5)

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

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

SunOS 5.7           Last change: 10 Jun 1997                    2     
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP