[LTP] [PATCH v3 16/16] doc: Update device flags in test-writing-guidelines

Sandeep Patil sspatil@google.com
Thu Nov 9 19:51:57 CET 2017

On Wed, Oct 11, 2017 at 04:41:30PM +0200, Cyril Hrubis wrote:
> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> ---
>  doc/test-writing-guidelines.txt | 19 +++++++++++++++++--
>  1 file changed, 17 insertions(+), 2 deletions(-)
> diff --git a/doc/test-writing-guidelines.txt b/doc/test-writing-guidelines.txt
> index 15d418954..133cb9372 100644
> --- a/doc/test-writing-guidelines.txt
> +++ b/doc/test-writing-guidelines.txt
> @@ -914,12 +914,27 @@ then.
>  If '.format_device' flag is set the device is formatted with a filesystem as
>  well. You can use '.dev_fs_type' to override the default filesystem type if
>  needed and pass additional options to mkfs via '.dev_fs_opts' and
> -'.dev_extra_opt' pointers.
> +'.dev_extra_opt' pointers. Note that '.format_device' implies '.needs_device'
> +there is no need to set both.
>  If '.mount_device' is set, the device is mounted at '.mntpoint' which is used
>  to pass a directory name that will be created and used as mount destination.
>  You can pass additional flags and data to the mount command via '.mnt_flags'
> -and '.mnt_data' pointers.
> +and '.mnt_data' pointers. Note that '.mount_device' implies '.needs_device'
> +and '.format_device' so there is no need to set the later two.
> +
> +If '.needs_rofs' is set, read-only filesystem is mounted at '.mntpoint' this
> +one is supposed to be used for 'EROFS' tests.

I probably should have done this with the patches. :(


Acked-by: Sandeep Patil <sspatil@google.com>

More information about the ltp mailing list