Re: [PATCH 1.5/5] mkfs: clarify valid "inherit" option values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 27, 2020 at 12:24:29PM -0500, Eric Sandeen wrote:
> Clarify which values are valid for the various *inherit= mkfs
> options.
> 
> Signed-off-by: Eric Sandeen <sandeen@xxxxxxxxxx>
> ---
> 
> diff --git a/man/man8/mkfs.xfs.8 b/man/man8/mkfs.xfs.8
> index 0a785874..a2be066b 100644
> --- a/man/man8/mkfs.xfs.8
> +++ b/man/man8/mkfs.xfs.8
> @@ -377,21 +377,21 @@ This option disables automatic geometry detection and creates the filesystem
>  without stripe geometry alignment even if the underlying storage device provides
>  this information.
>  .TP
> -.BI rtinherit= value
> -If set, all inodes created by
> +.BI rtinherit= [0|1]
> +If set to 1, all inodes created by
>  .B mkfs.xfs
>  will be created with the realtime flag set.
>  Directories will pass on this flag to newly created regular files and
>  directories.
>  .TP
> -.BI projinherit= value
> +.BI projinherit= projid
>  All inodes created by
>  .B mkfs.xfs
>  will be assigned this project quota id.
>  Directories will pass on the project id to newly created regular files and
>  directories.
>  .TP
> -.BI extszinherit= value
> +.BI extszinherit= extentsize

Hmm... if you're going to make this change to extszinherit, you might as
well do the same for cowextsize.

With that fixed,
Reviewed-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>

--D

>  All inodes created by
>  .B mkfs.xfs
>  will have this extent size hint applied.
> @@ -399,8 +399,8 @@ The value must be provided in units of filesystem blocks.
>  Directories will pass on this hint to newly created regular files and
>  directories.
>  .TP
> -.BI daxinherit= value
> -If set, all inodes created by
> +.BI daxinherit= [0|1]
> +If set to 1, all inodes created by
>  .B mkfs.xfs
>  will be created with the DAX flag set.
>  Directories will pass on this flag to newly created regular files and
> 



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux