@@ -3459,6 +3459,11 @@ msgid ""
34593459":attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`, "
34603460":attr:`f_flag`, :attr:`f_namemax`, :attr:`f_fsid`."
34613461msgstr ""
3462+ "在所给的路径上执行 :c:func:`statvfs` 系统调用。返回值是一个对象,其属性描述了所给路径上的文件系统,并且与 "
3463+ ":c:type:`statvfs` 结构体的成员相对应,即::attr:`f_bsize`, :attr:`f_frsize`, "
3464+ ":attr:`f_blocks`, :attr:`f_bfree`, :attr:`f_bavail`, :attr:`f_files`, "
3465+ ":attr:`f_ffree`, :attr:`f_favail`, :attr:`f_flag`, :attr:`f_namemax`, "
3466+ ":attr:`f_fsid`。"
34623467
34633468#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2675
34643469msgid ""
@@ -3467,6 +3472,8 @@ msgid ""
34673472"only, and if :const:`ST_NOSUID` is set, the semantics of setuid/setgid bits "
34683473"are disabled or not supported."
34693474msgstr ""
3475+ "为 :attr:`f_flag` 属性位定义了两个模块级常量:如果存在 :const:`ST_RDONLY` 位,则文件系统以只读挂载;如果存在 "
3476+ ":const:`ST_NOSUID` 位,则文件系统禁用或不支持 setuid/setgid 位。"
34703477
34713478#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2680
34723479msgid ""
@@ -3480,10 +3487,16 @@ msgid ""
34803487":const:`ST_NODIRATIME` (do not update directory access times), "
34813488":const:`ST_RELATIME` (update atime relative to mtime/ctime)."
34823489msgstr ""
3490+ "为基于 GNU/glibc 的系统还定义了额外的模块级常量。它们是 :const:`ST_NODEV` "
3491+ "(禁止访问设备专用文件),:const:`ST_NOEXEC` (禁止执行程序),:const:`ST_SYNCHRONOUS` "
3492+ "(写入后立即同步),:const:`ST_MANDLOCK` (允许文件系统上的强制锁定),:const:`ST_WRITE` "
3493+ "(写入文件/目录/符号链接),:const:`ST_APPEND` (仅追加文件),:const:`ST_IMMUTABLE` "
3494+ "(不可变文件),:const:`ST_NOATIME` (不更新访问时间),:const:`ST_NODIRATIME` "
3495+ "(不更新目录访问时间),:const:`ST_RELATIME` (相对于 mtime/ctime 更新访问时间)。"
34833496
34843497#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2693
34853498msgid "The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added."
3486- msgstr ""
3499+ msgstr "添加了 :const:`ST_RDONLY` 和 :const:`ST_NOSUID` 常量。 "
34873500
34883501#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2699
34893502msgid ""
@@ -3492,10 +3505,13 @@ msgid ""
34923505":const:`ST_IMMUTABLE`, :const:`ST_NOATIME`, :const:`ST_NODIRATIME`, and "
34933506":const:`ST_RELATIME` constants were added."
34943507msgstr ""
3508+ "添加了 "
3509+ ":const:`ST_NODEV`、:const:`ST_NOEXEC`、:const:`ST_SYNCHRONOUS`、:const:`ST_MANDLOCK`、:const:`ST_WRITE`、:const:`ST_APPEND`、:const:`ST_IMMUTABLE`、:const:`ST_NOATIME`、:const:`ST_NODIRATIME`"
3510+ " 和 :const:`ST_RELATIME` 常量。"
34953511
34963512#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2708
34973513msgid "Added :attr:`f_fsid`."
3498- msgstr ""
3514+ msgstr "添加了 :attr:`f_fsid`。 "
34993515
35003516#: /home/travis/build/python/cpython-doc-catalog/Doc/library/os.rst:2714
35013517msgid ""
0 commit comments