On Mon, Nov 25, 2019 at 12:16 PM Amir Goldstein <amir73il@xxxxxxxxx> wrote: > > It is already formatted as RST. > > Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> > --- > > Hi John, > > Not sure if this doc is up to standards, but it is already displayed > fairly well on github as .rst. > You'd probably want to apply the attached patch as well. I wasn't sure if those should go through documentation tree or overlayfs tree. Miklos, if you have any objections or would like to carry this though your tree please speak up. Thanks, Amir.
From 7570169cbfb96bb4f2ce2b62caa021c671d345cd Mon Sep 17 00:00:00 2001 From: Amir Goldstein <amir73il@xxxxxxxxx> Date: Mon, 25 Nov 2019 11:51:25 +0200 Subject: [PATCH] docs: filesystems: overlayfs: Fix restview warnings Fix only the obvious problems Signed-off-by: Amir Goldstein <amir73il@xxxxxxxxx> --- Documentation/filesystems/overlayfs.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/filesystems/overlayfs.rst b/Documentation/filesystems/overlayfs.rst index 845d689e0fd7..11339e2a04cd 100644 --- a/Documentation/filesystems/overlayfs.rst +++ b/Documentation/filesystems/overlayfs.rst @@ -181,7 +181,7 @@ Kernel config options: worried about backward compatibility with kernels that have the redirect_dir feature and follow redirects even if turned off. -Module options (can also be changed through /sys/module/overlay/parameters/*): +Module options (can also be changed through /sys/module/overlay/parameters/): - "redirect_dir=BOOL": See OVERLAY_FS_REDIRECT_DIR kernel config option above. @@ -263,7 +263,7 @@ top, lower2 the middle and lower3 the bottom layer. Metadata only copy up --------------------- +--------------------- When metadata only copy up feature is enabled, overlayfs will only copy up metadata (as opposed to whole file), when a metadata specific operation @@ -286,10 +286,10 @@ pointed by REDIRECT. This should not be possible on local system as setting "trusted." xattrs will require CAP_SYS_ADMIN. But it should be possible for untrusted layers like from a pen drive. -Note: redirect_dir={off|nofollow|follow(*)} conflicts with metacopy=on, and +Note: redirect_dir={off|nofollow|follow[*]} conflicts with metacopy=on, and results in an error. -(*) redirect_dir=follow only conflicts with metacopy=on if upperdir=... is +[*] redirect_dir=follow only conflicts with metacopy=on if upperdir=... is given. Sharing and copying layers -- 2.17.1