自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

automount 中文man頁面

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

名稱(NAME)

automount - 配置autofs的掛載點(diǎn)  

命令概要(SYNOPSIS)

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

描述(DESCRIPTION)

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

選項(xiàng)(OPTIONS)

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

參數(shù)(ARGUMENTS)

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

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

注意(NOTES)

如果automount 進(jìn)程捕獲信號 USR1,它會卸載當(dāng)前所有未使用的與autofs有關(guān)的文件系統(tǒng)并繼續(xù)運(yùn)行automount(即強(qiáng)制卸載)。如果捕獲信號 USR2,那會卸載當(dāng)前所有未使用的與autofs 有關(guān)的文件系統(tǒng),如果所有系統(tǒng)都卸載完畢,automount就退出。正在使用的文件系統(tǒng)不能被卸載。  

參看(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).  

責(zé)任編輯:韓亞珊 來源: CMPP.net
相關(guān)推薦

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-15 15:02:31

usleep中文man

2011-09-23 13:59:40

find中文man

2011-08-12 09:17:57

deallocvt中文man

2011-08-25 17:24:54

puts中文man

2011-07-15 16:58:36

ac中文man

2011-08-11 18:32:21

cp中文man

2011-08-23 11:34:26

ipcs中文man

2011-08-25 10:16:02

lmhosts中文man

2011-08-24 15:29:06

grant中文man

2011-08-25 17:32:40

setbuffer中文man

2011-08-25 16:50:08

getc中文man

2011-08-25 16:52:54

getchar中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 16:22:29

fputc中文man

2011-08-25 16:28:50

fread中文man

2011-08-25 17:27:58

rewind中文man
點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號