On Apr  8 13:51, Christian Franke wrote:
> From 3944b5b21502e65821a4c30d568207273320347a Mon Sep 17 00:00:00 2001
> From: Christian Franke <christian.fra...@t-online.de>
> Date: Tue, 8 Apr 2025 13:34:02 +0200
> Subject: [PATCH] Cygwin: faq: add lssparse to sparse file example
> 
> Signed-off-by: Christian Franke <christian.fra...@t-online.de>
> ---
>  winsup/doc/faq-using.xml | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/winsup/doc/faq-using.xml b/winsup/doc/faq-using.xml
> index e5e4479f5..111702c6f 100644
> --- a/winsup/doc/faq-using.xml
> +++ b/winsup/doc/faq-using.xml
> @@ -855,6 +855,11 @@ possible to preset the sparse attribute with 
> <literal>chattr</literal>.
>       ---a-S-------- 2/is_sparse
>       ---a-S-------- 2/maybe_sparse
>       ---a-S-------- 2/not_sparse
> +     $ lssparse -H 0/is_sparse # from cygutils-extra package
> +     Hole range[1]: offset=0x0,      length=0x100000
> +     Data range[2]: offset=0x100000, length=0x4
> +     $ lssparse -H 0/not_sparse
> +     Data range[1]: offset=0x0,      length=0x100004
>  </screen>
>  <para>With <literal>sparse</literal> mount option or a SSD, all
>  <literal>?/maybe_sparse</literal> files would be sparse.

LGTM, please push.

Thanks,
Corinna

Reply via email to