|
1.
|
|
|
Usage:
%s [options] <device> [<label>]
Mount <device> to a directory below %s if policy requirements
are met (see pmount(1) for details). If <label> is given, the mount point
will be %s /<label>, otherwise it will be %s <device>.
If the mount point does not exist, it will be created.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
用法:
%s [选项] <设备> [<卷标>]
如果已经满足了 policy 要求(参见 pmount(1) 以获得更多细节),
就将 <设备> 挂载到 %s 下的一个目录中。如果给定了 <卷标>,
挂载点就是 %s /<卷标>,否则将使用 %s <设备>。如果挂载点尚不存在,
程序将会创建它。
|
|
Translated and reviewed by
Carlos Z.F. Liu
|
|
|
|
Located in
../src/pmount.c:51
|
|
2.
|
|
|
%s --lock <device> <pid>
Prevent further pmounts of <device> until it is unlocked again. <pid>
specifies the process id the lock holds for. This allows to lock a device
by several independent processes and avoids indefinite locks of crashed
processes (nonexistant pids are cleaned before attempting a mount).
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
%s --lock <device> <pid>
在<device>被解锁之前,阻止其被进一步pmount。 <pid>
指定锁住的进程号。这样做将允许
几个独立的进程锁定设备,避免对死掉的进程
进行无休止的锁定。(在尝试挂载前,不存在的进程号将被清除。)
|
|
Translated and reviewed by
Hugh SH
|
|
|
|
Located in
../src/pmount.c:58
|
|
3.
|
|
|
%s --unlock <device> <pid>
Remove the lock on <device> for process <pid> again.
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
%s --unlock <设备> <pid>
再次为进程 <pid> 删除 <设备> 上的锁。
|
|
Translated and reviewed by
Carlos Z.F. Liu
|
|
|
|
Located in
../src/pmount.c:65
|
|
4.
|
|
|
Options:
-r : force <device> to be mounted read-only
-w : force <device> to be mounted read-write
-s, --sync : mount <device> with the 'sync' option (default: 'async')
--noatime : mount <device> with the 'noatime' option (default: 'atime')
-e, --exec : mount <device> with the 'exec' option (default: 'noexec')
-t <fs> : mount as file system type <fs> (default: autodetected)
-c <charset>: use given I/O character set (default: 'utf8' if called
in an UTF-8 locale, otherwise mount default)
-u <umask> : use specified umask instead of the default (only for
file sytems which actually support umask setting)
--passphrase <file>
read passphrase from file instead of the terminal
(only for LUKS encrypted devices)
-d, --debug : enable debug output (very verbose)
-h, --help : print help message and exit successfuly
--version : print version number and exit successfully
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
represents a space character.
Enter a space in the equivalent position in the translation.
|
|
|
|
选项:
-r : 强制<设备>挂载为只读模式
-w : 强制<设备>挂载为写读模式
-s,--sync : 使用'sync'选项挂载<设备> (默认:'async')
--noatime : 使用'noatime'选项挂载<设备> (默认:'atime')
--e,-exec : 使用'exec'选项挂载<设备> (默认:'noexec')
-t<fs> : 使用<fs>文件系统格式挂载<设备> (默认:自动识别)
-c<charset> : 使用特定I/O字符集 (默认:在UTF-8环境为'utf8',否则使用默认)
-u<umask> : 使用指定umask代替默认值(只支持有umask设置功能的文件系统)
--passphrase <file> : 从文件读取密码短语代替从终端读取(只支持LUKS加密设备)
-d,-debug : 允许输出调试(非常详细)
-h,--help : 打印帮助信息并成功返回
--version : 打印版本号并成功返回
|
|
Translated and reviewed by
Hugh SH
|
|
|
|
Located in
../src/pmount.c:68
|
|
5.
|
|
|
Error: label must not be empty
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
错误:卷标不能为空
|
|
Translated and reviewed by
Carlos Z.F. Liu
|
|
|
|
Located in
../src/pmount.c:134
|
|
6.
|
|
|
Error: label too long
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
错误:卷标太长
|
|
Translated and reviewed by
Carlos Z.F. Liu
|
|
|
|
Located in
../src/pmount.c:138
|
|
7.
|
|
|
Error: '/' must not occur in label name
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
错误:“/”不能出现在卷标名中
|
|
Translated and reviewed by
Carlos Z.F. Liu
|
|
|
|
Located in
../src/pmount.c:143
|
|
8.
|
|
|
Error: device name too long
|
|
|
represents a line break.
Start a new line in the equivalent position in the translation.
|
|
|
|
错误:设备名太长
|
|
Translated and reviewed by
Carlos Z.F. Liu
|
|
|
|
Located in
../src/pmount.c:150
|
|
9.
|
|
|
Error: could not drop all uid privileges
|
|
|
|
错误:无法撤消所有 uid 特权
|
|
Translated and reviewed by
Carlos Z.F. Liu
|
|
|
|
Located in
../src/pmount.c:181 ../src/pumount.c:100
|
|
10.
|
|
|
Error: could not execute mount
|
|
|
|
错误:无法执行挂载
|
|
Translated and reviewed by
Hugh SH
|
|
|
|
Located in
../src/pmount.c:186
|