免费注册 查看新帖 |

Chinaunix

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

菜鸟问题1 etc/vfstab是做什么的 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-11-08 09:05 |只看该作者 |倒序浏览
etc/vfstab这个文件是做什么的

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
2 [报告]
发表于 2010-11-08 09:29 |只看该作者
# man vfstab
正在重新格式化页面。请等待... 完成

File Formats                                            vfstab(4)

NAME
     vfstab - table of file system defaults

DESCRIPTION
     The file /etc/vfstab describes defaults for each  file  sys-
     tem. The information is stored in a table with the following
     column headings:

     device       device       mount      FS      fsck    mount      mount
     to mount     to fsck      point      type    pass    at boot    options

     The fields in the table are  space-separated  and  show  the
     resource  name  (device  to  mount),  the raw device to fsck
     (device to fsck), the default mount directory (mount point),
     the  name of the file system type (FS type), the number used
     by fsck to decide whether to check the file system automati-
     cally (fsck pass), whether the file system should be mounted
     automatically by mountall (mount at boot), and the file sys-
     tem  mount  options  (mount  options). (See respective mount
     file system man page below in SEE ALSO for mount options.) A
     '-'  is  used  to  indicate no entry in a field. This may be
     used when a field does  not  apply  to  the  resource  being
     mounted.

     The getvfsent(3C) family of routines is  used  to  read  and
     write to /etc/vfstab.

     /etc/vfstab can be used to specify swap areas. An  entry  so
     specified, (which can be a file or a device), will automati-
     cally be added as a swap area by  the  /sbin/swapadd  script
     when  the  system boots. To specify a swap area, the device-
     to-mount field contains the name of the swap file or device,
     the  FS-type  is "swap", mount-at-boot is "no" and all other
     fields have no entry.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP