成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

automount 中文man頁面

系統
automount 程序能用于配置autofs(Linux內嵌的自動裝填機)的掛載點。 automount 保存一個基本的 mount-point 文件以及對應的一系列 map 文件,通過這些文件(要與其它options合用),無論何時以何種方式訪問 mount-point 下的文件系統,automounter都能自動掛載它們。

名稱(NAME)

automount - 配置autofs的掛載點  

命令概要(SYNOPSIS)

automount [options] mount-point map-type[,format] map [map-options]  

描述(DESCRIPTION)

automount 程序能用于配置autofs(Linux內嵌的自動裝填機)的掛載點。 automount 保存一個基本的 mount-point 文件以及對應的一系列 map 文件,通過這些文件(要與其它options合用),無論何時以何種方式訪問 mount-point 下的文件系統,automounter都能自動掛載它們。文件系統在被掛載前是不可用的。(注:例如我把windows下的C盤用自動掛載器掛裝在/misc/C下面,系統啟動完畢后直接用ls /misc是看不見“C”這個目錄的。這跟mount的結果不一樣。但如果用cd /misc/C卻可以進入。而且不用預先建立/misc/C這個目錄,但/misc必須已經存在。這就是上面***一句話的真正意思。原文如下:The filesystems are then automounted after a period of inactivity)  

選項(OPTIONS)

-p, --pid-file
把進程號保存到一個指定的文件
-t, --timeout
以多少秒來設定一個最短卸載時間。默認值是5分鐘。把timeout設為0可以避免被自動卸載。
-v, --version
顯示程序版本信息并退出

參數(ARGUMENTS)

automount 命令至少需要三個參數。它們是 mount-point, map-typemap。下面詳細說明了必要的參數以及其它一些可選參數。

mount-point
為autofs準備的基本安裝點。這必須是一個系統中已經預先建立好的目錄名。
map-type
automount 準備的映射類型。以下這些都是有效的類型名字:
file
映射是一個常規文本文件
program
映射是一個可執行程序文件,被key以命令行方式傳送給程序。如果成功的話會在標準輸出設備上返回一個信息。
yp
映射是一個NIS(YP)數據庫(注:NIS為網絡信息服務,YP是yellow page的意思,這里還是不譯為好)
nisplus
映射是一個NIS+ 數據庫
hesiod
映射是一個包含 filsys (被映射使用)記錄的hesiod數據庫
ldap
映射名以 [servername:]basedn 的形式組合而成,可選項 servername 表示要查尋的LDAP服務器的名字,而 basedn 則是用于下層子樹查找的DN。那些在指定子樹下的automount對象就是我們要的記錄。記錄中的cn 就是key(通配符是“/”),而automounterInformation 含有能被automounter使用的信息。有關這一問題的文檔能從以下網址獲得 http://docs.iplanet.com/docs/manuals/directory/411ext/nis/mapping.htm.
format
映射文件的數據格式;目前只支持sun系統下的格式,它是Sun automounter map和 hesiod下的hesiod文件系統記錄的一個子集。如果未指明文件格式的話,系統默認這些映射文件全是sun系統下的格式,而不是hesiod
map
映射文件的位置。若映射類型是file 或者 program的話這將是一個UNIX 下的絕對路徑。若映射類型是ypnisplus或者是hesiod的話,這就是一個數據庫名。
options
其它沒有用連字號(-) 開始的命令行中的參數都被認為是mount的選項(-o)。以連字號開始的參數被視為送給上面map參數的選項。

注意(NOTES)

如果automount 進程捕獲信號 USR1,它會卸載當前所有未使用的與autofs有關的文件系統并繼續運行automount(即強制卸載)。如果捕獲信號 USR2,那會卸載當前所有未使用的與autofs 有關的文件系統,如果所有系統都卸載完畢,automount就退出。正在使用的文件系統不能被卸載。  

參看(SEE ALSO)

autofs(5), mount(8).  

#p#

NAME

automount - configure mount points for autofs  

SYNOPSIS

automount [options] mount-point map-type[,format] map [map-options]  

DESCRIPTION

The automount program is used to configure a mount point for autofs, the inlined Linux automounter. automount works by taking a base mount-point and map file, and using these (combined with other options) to automatically mount filesystems within the base mount-point when they are accessed in any way. The filesystems are then autounmounted after a period of inactivity.  

OPTIONS

-p, --pid-file
Write the pid of the daemon to the specified file.
-t, --timeout
Set the minimum timeout, in seconds, until directories are unmounted. The default is 5 minutes. Setting the timeout to zero disables unmounts completely.
-v, --verbose
Enables printing of general status and progress messages.
-d, --debug
Enables printing of general status and progress messages as well as debuging messages.
-g, --ghost
Request that directories in the automount be shown but not mounted until accesssed. The wildcard map is not ghosted.
-V, --version
Display the version number, then exit.

ARGUMENTS

automount takes at least three arguments. Mandatory arguments include mount-point, map-type and map. Both mandatory and optional arguments are described below.

mount-point
Base location for autofs-mounted filesystems to be attached. This is a directory name which must already exist.
map-type
Type of map used for this invocation of automount. The following are valid map types:
file
The map is a regular text file.
program
The map is an executable program, which is passed a key on the command line and returns an entry on stdout if successful.
yp
The map is a NIS (YP) database.
nisplus
The map is a NIS+ database.
hesiod
The map is a hesiod database whose filsys entries are used for maps.
ldap
map names are of the form [//servername/]basedn, where the optional servername is the name of the LDAP server to query, and basedn is the DN to do a subtree search under. Two LDAP schema are supported. The i automountMap and the nisMap (RFC 2307) object classes. Entries in the automountMap schema are automount objects in the specified subtree, where the cn attribute is the key (the wildcard key is "/"), and the automountInformation attribute contains the information used by the automounter. Documentation on the schema used by this module is available online at http://docs.sun.com/source/806-4251-10/mapping.htm. RFC 2307 schema entries are nisObject objects and use the cn attribute as the key and the nisMapEntry contains information used by the automounter. Format of the map data; currently the only formats
format
recognized are sun, which is a subset of the Sun automounter map format, and hesiod, for hesiod filesys entries. If the format is left unspecified, it defaults to sun for all map types except hesiod.
map
Location of mapfile to use. This is an absolute UNIX pathname in the case for maps of types file or program, and the name of a database in the case for maps of type yp, nisplus, or hesiod.
options
Any remaining command line arguments without leading dashes (-) are taken as options (-o) to mount. Arguments with leading dashes are considered options for the maps.

The sun format supports the following options:

-Dvariable=value
Replace variable with value in map substitutions.
-strict
Treat errors when mounting file systems as fatal. This is important when multiple file systems should be mounted (`multimounts'). If this option is given, no file system is mounted at all if at least one file system can't be mounted.

NOTES

If the automount daemon catches signal USR1, it will unmount all currently unused autofs-mounted filesystems and continue running (forced expire). If it catches signals TERM or USR2 it will unmount all unused autofs-mounted filesystems and exit if all filesystems were unmounted. Busy filesystems will not be unmounted. The daemon also responds to a HUP signal which triggers an update of maps for which ghosting is implemented (currently FILE and NIS maps). If the autofs directory itself is busy when the daemon is signalled with an exit signal then the daemon will exit without unmounting the autofs filesystem. The filesystem is left in a catatonic (non-functional) state, and can be unmounted when it becomes unused.  

SEE ALSO

autofs(5), mount(8).  

責任編輯:韓亞珊 來源: CMPP.net
相關推薦

2011-08-15 10:21:09

man中文man

2011-08-24 16:48:36

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-11 15:03:21

ACCESS中文man

2011-08-11 15:28:43

ali中文man

2011-08-11 16:31:49

biff中文man

2011-08-11 17:16:43

cce中文man

2011-08-11 18:05:04

chvt中文man

2011-08-11 18:13:07

clear中文man

2011-08-12 09:13:02

df中文man

2011-08-12 09:38:06

dircolors中文man

2011-08-12 09:44:37

dirname中文man

2011-08-12 10:20:02

echo中文man

2011-08-12 10:25:55

eject中文man

2011-08-12 11:07:19

git中文man

2011-08-12 13:18:19

head中文man

2011-08-12 13:49:23

hostid中文man

2011-08-12 13:54:46

hostname中文man

2011-08-12 14:53:56

kill中文man
點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 国产一区黄色 | a级网站| 久久综合一区二区三区 | 91看片免费 | 亚洲一区影院 | 欧美性成人 | 国产激情第一页 | 午夜免费福利影院 | 91在线中文字幕 | 国产91av视频| 亚洲三区在线播放 | 国产一区视频在线 | 一级毛片在线视频 | 亚洲国产精品一区二区久久 | 69av网 | 欧美区日韩区 | 久久夜色精品国产 | 日韩欧美在线播放 | 欧美日韩成人在线 | 四虎影院在线播放 | 91视频在线看 | 黄网址在线观看 | 国产激情视频在线 | 国产免费看 | 亚洲狠狠 | 国产精久久久久久久妇剪断 | 国产精品久久国产精品 | 欧美日韩三区 | 污污免费网站 | 91欧美 | 欧美精品99 | 99精品视频在线 | caoporn国产精品免费公开 | 国产在线视频一区 | 国产日韩精品久久 | 中文字幕亚洲精品 | 超碰在线97国产 | 精品久久久久久一区二区 | 免费国产一区二区 | 美女一区二区在线观看 | 国产日韩中文字幕 |