All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alejandro Colomar <alx@kernel.org>
To: Zeno Sebastian Endemann <zeno.endemann@mailbox.org>
Cc: linux-man@vger.kernel.org
Subject: Re: [PATCH] man/man2/truncate.2: ERRORS: Add ENOSPC
Date: Sun, 12 Apr 2026 16:52:39 +0200	[thread overview]
Message-ID: <aduxaV1xheQ5A6op@debian> (raw)
In-Reply-To: <20260412144007.27323-1-zeno.endemann@mailbox.org>

[-- Attachment #1: Type: text/plain, Size: 1110 bytes --]

Hi Zeno,

On 2026-04-12T16:40:07+0200, Zeno Sebastian Endemann wrote:
> This error can be observed for example on a vfat file system that
> does not support extending a file without allocating the space.
> 
> Signed-off-by: Zeno Sebastian Endemann <zeno.endemann@mailbox.org>

Thanks!  I've applied the patch.

> ---
>  man/man2/truncate.2 | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/man/man2/truncate.2 b/man/man2/truncate.2
> index 946d6aaf0..c576b8329 100644
> --- a/man/man2/truncate.2
> +++ b/man/man2/truncate.2
> @@ -98,6 +98,11 @@ The argument
>  is larger than the maximum file size.
>  (XSI)
>  .TP
> +.B ENOSPC
> +There is not enough space left on the device for extending the
> +file size to the given
> +.I length .

This should be IR (italics roman) instead of I (italics), since the
period should be in roman.  I've amended the patch. 


Have a llovely day!
Alex

> +.TP
>  .B EINTR
>  While blocked waiting to complete,
>  the call was interrupted by a signal handler;
> -- 
> 2.53.0
> 
> 

-- 
<https://www.alejandro-colomar.es>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

      reply	other threads:[~2026-04-12 14:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-04-12 14:40 [PATCH] man/man2/truncate.2: ERRORS: Add ENOSPC Zeno Sebastian Endemann
2026-04-12 14:52 ` Alejandro Colomar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aduxaV1xheQ5A6op@debian \
    --to=alx@kernel.org \
    --cc=linux-man@vger.kernel.org \
    --cc=zeno.endemann@mailbox.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.