天天看點

【AIX 學習】檔案系統--監視

/etc/filesystems 存放這許多檔案系統的所有資訊,許多元護檔案系統的指令都是從這個檔案中擷取的檔案系統的預設屬性。此檔案的格式是stanza 格式的。包含檔案系統的名字和屬性。

ufserver[/]#cat /etc/filesystems

* @(#)filesystems @(#)29        1.22  src/bos/etc/filesystems/filesystems, cmdfs, bos530 9/8/00 13:57:45

* IBM_PROLOG_BEGIN_TAG

* This is an automatically generated prolog.

* bos530 src/bos/etc/filesystems/filesystems 1.22

* IBM_PROLOG_END_TAG

* COMPONENT_NAME: CMDFS

* FUNCTIONS: none

* ORIGINS: 27

*

* US Government Users Restricted Rights - Use, duplication or

* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.

* This version of /etc/filesystems assumes that only the root file system

* is created and ready.  As new file systems are added, change the check,

* mount, free, log, vol and vfs entries for the appropriate stanza.

/:

        dev             = /dev/hd4   --檔案對應的邏輯裝置,邏輯卷

        vfs             = jfs2       -- mount的類型

        log             = /dev/hd8   ---檔案系統的日志裝置。該項隻對jfs 和jfs2 有用。

        mount           = automatic  --檔案系統預設安裝方式 

                                        1 automatic

                                        2 true  用mount all 指令安裝,用unmount all 解除安裝檔案,系統初始化時自動執行  mount all。

                                        3 false 檔案系統不會自動安裝,必須手動安裝(用mount 指令單獨安裝)

                                        4 readonly 檔案系統以隻讀的方式安裝

        check           = false      --檔案系統是否由fsck 指令在預設情況下檢查。   

        type            = bootfs     --檔案系統類型,用于按類型分組安裝檔案系統。mount -t type

        vol             = root       --檔案系統的卷标

        free            = true       --

/home:

        dev             = /dev/hd1

        vfs             = jfs2

        log             = /dev/hd8

        mount           = true

        check           = true

        vol             = /home

        free            = false

/usr:

        dev             = /dev/hd2

        mount           = automatic

        check           = false

        type            = bootfs

        vol             = /usr

/var:

        dev             = /dev/hd9var

        vol             = /var

/opt:

        dev             = /dev/hd10opt

        vol             = /opt

/ora10g:

        dev             = /dev/ora10g

        log             = /dev/loglv00

        options         = rw

        account         = false

/db2data:

        dev             = /dev/db2data

ufserver[/]#cat /etc/vfs

# @(#)vfs  @(#)77       1.30  src/bos/etc/vfs/vfs, cmdfs, bos530 2/26/04 10:48:56

# IBM_PROLOG_BEGIN_TAG

# This is an automatically generated prolog.

# bos530 src/bos/etc/vfs/vfs 1.30

# IBM_PROLOG_END_TAG

# COMPONENT_NAME: CFGETC

# FUNCTIONS:

# ORIGINS: 27

# this file describes the known virtual file system implementations.

# format: (the name and vfs_number should match what is in )

# The standard helper directory is /etc/helpers

# name  vfs_number mount_helper filsys_helper

# Uncomment the following line to specify the local or remote default vfs.

%defaultvfs     jfs2    nfs

#

#名稱 虛拟檔案  vfs類型的安裝助手           vfs類型的檔案系統助手

      系統類型  程式路徑                    程式路徑名

      代碼

cdrfs   5       none                            none

procfs  6       none                            none

jfs     3       none                           /sbin/helpers/v3fshelper

jfs2    0       /sbin/helpers/jfs2              none

nfs     2       /sbin/helpers/nfsmnthelp        none                    remote

sfs     16      none                            none

nfs3    18      /sbin/helpers/nfsmnthelp        none                    remote

nfs4    35      /sbin/helpers/nfsmnthelp        none                    remote

cachefs 17      /sbin/helpers/cfsmnthelp        none                    remote

udfs    34      /sbin/helpers/udfmnthelp        none

cifs    37      /sbin/helpers/mount_cifs        none

autofs  19      /sbin/helpers/aufsmnthelp       none

ufserver[/]#

%defaultvfs --控制辨別

jfs2        --預設的本地虛拟檔案系統的類型

nfs         --預設的遠端虛拟檔案系統類型