Re: [PATCH v2,2/2] doc: zh_CN: add translation for virtiofs
From: Alex Shi
Date: Mon Mar 16 2020 - 03:45:12 EST
Reviewed-by: Alex Shi <alex.shi@xxxxxxxxxxxxxxxxx>
å 2020/3/15 äå11:52, Wang Wenhu åé:
> Translate virtiofs.rst in Documentation/filesystems/ into Chinese.
>
> Acked-by: Stefan Hajnoczi <stefanha@xxxxxxxxxx>
> Signed-off-by: Wang Wenhu <wenhu.wang@xxxxxxxx>
> ---
> Changelog v2:
> - add a blank line in the end of index.rst to index virtiofs.rst
> - Asked-by Stefan Hajnoczi
> - added SPDX header and Copyright info
> ---
> Documentation/filesystems/virtiofs.rst | 2 +
> .../translations/zh_CN/filesystems/index.rst | 2 +
> .../zh_CN/filesystems/virtiofs.rst | 61 +++++++++++++++++++
> 3 files changed, 65 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
>
> ===================================================
> diff --git a/Documentation/translations/zh_CN/filesystems/index.rst b/Documentation/translations/zh_CN/filesystems/index.rst
> index 0a2cabfeaf7b..fd3700a4db6d 100644
> --- a/Documentation/translations/zh_CN/filesystems/index.rst
> +++ b/Documentation/translations/zh_CN/filesystems/index.rst
> @@ -27,3 +27,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..cd836a9b2ac4
> --- /dev/null
> +++ b/Documentation/translations/zh_CN/filesystems/virtiofs.rst
> @@ -0,0 +1,61 @@
> +.. SPDX-License-Identifier: GPL-2.0
> +.. 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>
> +
> +===========================================
> +virtiofs: virtio-fs äæ<->åæåäæäçç
> +===========================================
> +
> +- Copyright (C) 2020 Vivo Communication Technology Co. Ltd.
> +
> +äç
> +====
> +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â\
> +ïéäåçïèæéåïäéçäæåäæéèæçéäåçèæã
>