Re: [PATCH 2/2] doc: zh_CN: add translation for virtiofs
From: Mauro Carvalho Chehab
Date: Sun Mar 15 2020 - 09:28:38 EST
Em Sun, 15 Mar 2020 02:28:00 -0700
Wang Wenhu <wenhu.wang@xxxxxxxx> escreveu:
> Translate virtiofs.rst in Documentation/filesystems/ into Chinese.
>
> Signed-off-by: Wang Wenhu <wenhu.wang@xxxxxxxx>
> ---
> Documentation/filesystems/virtiofs.rst | 2 +
> .../translations/zh_CN/filesystems/index.rst | 2 +
> .../zh_CN/filesystems/virtiofs.rst | 62 +++++++++++++++++++
> 3 files changed, 66 insertions(+)
> create mode 100644 Documentation/translations/zh_CN/filesystems/virtiofs.rst
>
> diff --git a/Documentation/filesystems/virtiofs.rst b/Documentation/filesystems/virtiofs.rst
> index 4f338e3cb3f7..7c4301d962f8 100644
> --- a/Documentation/filesystems/virtiofs.rst
> +++ b/Documentation/filesystems/virtiofs.rst
> @@ -1,3 +1,5 @@
> +.. _virtiofs_index:
> +
> .. SPDX-License-Identifier: GPL-2.0
Please place the SPDX header at the top of the document.
Regards,
Mauro
>
> ===================================================
> diff --git a/Documentation/translations/zh_CN/filesystems/index.rst b/Documentation/translations/zh_CN/filesystems/index.rst
> index a47dd86d6196..205680ec790d 100644
> --- a/Documentation/translations/zh_CN/filesystems/index.rst
> +++ b/Documentation/translations/zh_CN/filesystems/index.rst
> @@ -25,3 +25,5 @@ Linux Kerneläçæäçç
>
> .. toctree::
> :maxdepth: 2
> +
> + virtiofs
> diff --git a/Documentation/translations/zh_CN/filesystems/virtiofs.rst b/Documentation/translations/zh_CN/filesystems/virtiofs.rst
> new file mode 100644
> index 000000000000..2a36cd417f8b
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/filesystems/virtiofs.rst
> @@ -0,0 +1,62 @@
> +.. raw:: latex
> +
> + \renewcommand\thesection*
> + \renewcommand\thesubsection*
> +
> +.. include:: ../disclaimer-zh_CN.rst
> +
> +:Original: :ref:`Documentation/filesystems/virtiofs.rst <virtiofs_index>`
> +
> +èè
> +::
> +
> + äæççæèï çæè Wang Wenhu <wenhu.wang@xxxxxxxx>
> + äæççèèï çæè Wang Wenhu <wenhu.wang@xxxxxxxx>
> + äæçæèè: çæè Wang Wenhu <wenhu.wang@xxxxxxxx>
> +
> +.. SPDX-License-Identifier: GPL-2.0
> +
> +===========================================
> +virtiofs: virtio-fs äæ<->åæåäæäçç
> +===========================================
> +
> +- Copyright (C) 2019 Red Hat, Inc. ïèèæïèæççæäæï
> +
> +äç
> +====
> +LinuxçvirtiofsæäççåçäääåèæåVIRTIOçåâvirtio-fsâèåçéåïéèè\
> +çåèååçåæ<->äææäççåäãååèåææèääåçåååäæççåã
> +
> +åæéåéèèéäææèèçççäçæäãäçåæåæïåæåæåèæèæäåå\
> +åèïääæäçææäççååïåæçææäæåææäæäåååååæäéåäçåã
> +
> +åçåæääååèéèäçåæçççæäççåæïäæåéèéåéäèååçéç\
> +æéïäåååççæéçåæãèvirtio-fsèåéèæääçèçççæäççèéæä\
> +çèèæåèåäèäééã
> +
> +ååïvirto-fsèååæääåæååçäçæéäæèïåäæääççæäççæäåå
> +çääèäåèã
> +
> +çæ
> +====
> +ä``myfs``æçåæäççæèå``/mnt``:
> +
> +.. code-block:: sh
> +
> + guest# mount -t virtiofs myfs /mnt
> +
> +èæé https://virtio-fs.gitlab.io/ äèéçQEMUåvirtiofsdåæçåçèçäæã
> +
> +åå
> +====
> +çävirtio-fsèååFUSEåèçäæäççèæïåæLinuxçvirtiofsæäççäFUSEæ\
> +äççåæççåéæåäèãåæååFUSEåæçèäæååFUSEæååïåæäçæç\
> +éäéç/dev/fuseæåçvirtio-fsèåæåäæã
> +
> +FUSEèæèçäèæéåäçäæåçãäæååçååäçååéåïèåæåçèæçåæéåã
> +
> +å/dev/fuseæååèæéåéèèå/dev/fuseåèæéåäéèääçååãææèå\
> +/dev/fuseèåæïFUSEåæçéåäéæèäèçèæïäèåääæäèæäåäåä\
> +èæãèæéåæåéåèäïææææååéèæçéåãåèæéååæçæåäå
> +ååéïåäææäåèååéäåççèæãääèåæååïvirtio-fsèåéçâhiprioâ\
> +ïéäåçïèæéåïäéçäæåäæéèæçéäåçèæã
Thanks,
Mauro