linux内核文件翻译-Mount options for ADFS

来源:互联网 发布:妈妈比女儿漂亮 知乎 编辑:程序博客网 时间:2024/06/05 20:04
Chinese translated version of Documentation/namespaces/resource-control.txt
 
If you have any comment or update to the content, please contact the
original document maintainer directly.  However, if you have a problem
communicating in English you can also ask the Chinese maintainer for
help.  Contact the Chinese maintainer if this translation is outdated
or if there is a problem with the translation.




Chinese maintainer: 田雨 479103577@qq.com
---------------------------------------------------------------------
Documentation/namespaces/resource-control.txt 的中文翻译
如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
译存在问题,请联系中文版维护者。
中文版维护者: 田雨 479103577@qq.com
中文版翻译者: 田雨 479103577@qq.com
中文版校译者: 田雨 479103577@qq.com
Mount options for ADFS
  2 -ADFS挂载选项---------------------
  3 
  4   uid=nnn       All files in the partition will be owned by
  5                 user id nnn.  Default 0 (root).
  6   gid=nnn       All files in the partition will be in group
  7                 nnn.  Default 0 (root).
  8   ownmask=nnn   The permission mask for ADFS 'owner' permissions
  9                 will be nnn.  Default 0700.
 10   othmask=nnn   The permission mask for ADFS 'other' permissions
 11                 will be nnn.  Default 0077.
 12   ftsuffix=n    When ftsuffix=0, no file type suffix will be applied.
 13                 When ftsuffix=1, a hexadecimal suffix corresponding to
 14                 the RISC OS file type will be added.  Default 0.
 15 UID = NNN将所拥有的所有分区中的文件
  用户ID NNN。默认0(根)。
   GID = nnn的所有分区中的文件将在组
   NNN。默认0(根)。
   ownmask= nnn此权限掩码为ADFS'主人'的权限
   NNN。默认值为0700。
  othmask= nnn此权限掩码ADFS其它的权限
  NNN。默认值为0077。
  ftsuffix= n当= 0 ftsuffix,无后缀的文件类型将被应用。
  ftsuffix= 1,对应于一个十六进制的后缀
 的RISC OS的文件类型将被添加。默认为0。
 


 16 Mapping of ADFS permissions to Linux permissions
 17 ------------------------------------------------
 18 
 19   ADFS permissions consist of the following:
 20 
 21         Owner read
 22         Owner write
 23         Other read
 24         Other write
 25 ADFS的权限映射到Linux权限
 ---------- --------------------------------------
 
  ADFS权限包括以下内容:
 
 业主读
 业主写
 其他读
 其他写
 
 26   (In older versions, an 'execute' permission did exist, but this
 27    does not hold the same meaning as the Linux 'execute' permission
 28    and is now obsolete).
 29 (在旧版本中,'执行'权限确实存在,但这种
      未持有相同涵义Linux的“执行”权限
 ,   现在已经过时了)。
 30   The mapping is performed as follows:
 31 
 32         Owner read                              -> -r--r--r--
 33         Owner write                             -> --w--w---w
 34         Owner read and filetype UnixExec        -> ---x--x--x
 35     These are then masked by ownmask, eg 700    -> -rwx------
 36         Possible owner mode permissions         -> -rwx------
 37 
 38         Other read                              -> -r--r--r--
 39         Other write                             -> --w--w--w-
 40         Other read and filetype UnixExec        -> ---x--x--x
 41     These are then masked by othmask, eg 077    -> ----rwxrwx
 42         Possible other mode permissions         -> ----rwxrwx
 43 
 44   Hence, with the default masks, if a file is owner read/write, and
 45   not a UnixExec filetype, then the permissions will be:
 46 执行映射,如下所示:
 
 业主读 - >-R - R - R - 
 业主写 - > - W - W---瓦特
 拥有者读取和文件格式UnixExec - >--- X - X - X
 ownmask - >的rwx------
 可能的所有者模式权限 - >的rwx------
 
 其他的读 - >-R - R - R - 
 其他写 - > - W - W - W-
 其他读取和文件格式UnixExec - >--- X - X - X
 然后这些所掩盖,如othmask077 - >---- rwxrwx
 其他可能的模式权限 - >---- rwxrwx
 
 因此,与默认口罩,如果一个文件是业主读/写,并
 不一个UnixExec的文件类型,然后将权限:
 
 47                         -rw-------
 48 
 49   However, if the masks were ownmask=0770,othmask=0007, then this would
 50   be modified to:但是,如果掩模ownmask=0770,othmask=0007,那么这会
 50被修正为:
 51                         -rw-rw----
 52 
 53   There is no restriction on what you can do with these masks.  You may
 54   wish that either read bits give read access to the file for all, but
 55   keep the default write protection (ownmask=0755,othmask=0577):
 56 没有任何限制,你可以做什么与这些口罩。您可以
 希望,无论是读位读访问的所有文件,但
 保持默认的写保护(ownmask=0755,othmask=0577):
 57                         -rw-r--r--
 58 
 59   You can therefore tailor the permission translation to whatever you
 60   desire the permissions should be under Linux.
 61 你可以因此调整权限翻译,无论你
 60欲望的权限应该是在Linux下。
 62 RISC OS file type suffix
 63 -RISC OS文件类型后缀-----------------------
 64 
 65   RISC OS file types are stored in bits 19..8 of the file load address.
 66   RISC OS文件类型存储在文件加载地址位19 ..8。
 67   To enable non-RISC OS systems to be used to store files without losing
 68   file type information, a file naming convention was devised (initially
 69   for use with NFS) such that a hexadecimal suffix of the form ,xyz
 70   denoted the file type: e.g. BasicFile,ffb is a BASIC (0xffb) file.  This
 71   naming convention is now also used by RISC OS emulators such as RPCEmu.
 72 为了使非RISC OS系统被用来存储文件不失
 文件类型信息,文件命名约定(最初设计
 使用NFS)这样一个十六进制后缀的形式,XYZ
 表示的文件类型例如:以BasicFile,FFB是一个基本(0xffb)的文件。这
 命名约定,现在也用于RISC OS模拟器如RPCEmu。
 73   Mounting an ADFS disc with option ftsuffix=1 will cause appropriate file
 74   type suffixes to be appended to file names read from a directory.  If the
 75   ftsuffix option is zero or omitted, no file type suffixes will be added.
      安装ADFS的光盘与期权ftsuffix= 1将导致相应的文件
      要追加到74个类型的后缀从目录中读取的文件名。如果
      ftsuffix选项为零或省略,没有文件类型的后缀将被添加。
原创粉丝点击