免费注册 查看新帖 |

Chinaunix

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

The /var filesystem [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-06-18 15:35 |只看该作者 |倒序浏览
The /var filesystem
The /var contains data that is
        changed when the system is running normally.  It is specific for each
        system, i.e., not shared over the network with other computers.
       
/var/cache/man
A cache for man pages that are formatted on
                demand.  The source for manual pages is usually stored in
                /usr/share/man/man?/
                 
                (where ? is the manual section.  See the manual page for
                man
                 in section 7); some manual pages
                might come with a pre-formatted version, which might be
                stored in /usr/share/man/cat*
                . Other
                manual pages need to be formatted when they are first
                viewed; the formatted version is then stored in
                /var/cache/man so that the next person
                to view the same page won't have to wait for it to be
                formatted.
/var/games
Any variable data belonging to games in
                /usr should be placed here.  This is in
                case /usr is mounted read only.
               
/var/lib
Files that change while the system is
                running normally.
/var/local
Variable data for programs that are
                installed in /usr/local
                 (i.e.,
                programs that have been installed by the system
                administrator).  Note that even locally installed
                programs should use the other /var
                directories if they are appropriate, e.g.,
                /var/lock.
/var/lock
Lock files.  Many programs
                follow a convention to create a lock file in
                /var/lock to indicate that they
                are using a particular device or file.        Other programs
                will notice the lock file and won't attempt to use the
                device or file.
/var/log
Log files from various programs, especially
                login(/var/log/wtmp, which logs all logins and logouts into the system) and
                syslog(/var/log/messages, where all kernel
                and system program message are usually stored). Files in
                /var/log can often grow indefinitely,
                and may require cleaning at regular
                intervals.
/var/mail
This is the FHS approved location for user
                mailbox files.  Depending on how far your distribution has
                gone towards FHS compliance, these files may still be held
                in /var/spool/mail.
               
/var/run
Files that contain information about the
                system that is valid until the system is next booted.
                For example, /var/run/utmp
               
                contains information about people currently logged
                in.
/var/spool
Directories for news, printer queues, and
                other queued work. Each different spool has its own
                subdirectory below /var/spool, e.g.,
                the news spool is in /var/spool/news
                .
                Note that some installations which are not fully compliant
                with the latest version of the FHS may have user mailboxes
                under /var/spool/mail.
               
/var/tmp
Temporary files that are large
                or that need to exist for a longer time than
                what is allowed for /tmp
                .
                (Although the system administrator might not allow
                very old files in /var/tmp
                either.)
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/13918/showart_129554.html
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP