* [PATCH] man/man2/truncate.2: ERRORS: Add ENOSPC
@ 2026-04-12 14:40 Zeno Sebastian Endemann
2026-04-12 14:52 ` Alejandro Colomar
0 siblings, 1 reply; 2+ messages in thread
From: Zeno Sebastian Endemann @ 2026-04-12 14:40 UTC (permalink / raw)
To: Alejandro Colomar; +Cc: linux-man, Zeno Sebastian Endemann
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>
---
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 .
+.TP
.B EINTR
While blocked waiting to complete,
the call was interrupted by a signal handler;
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] man/man2/truncate.2: ERRORS: Add ENOSPC
2026-04-12 14:40 [PATCH] man/man2/truncate.2: ERRORS: Add ENOSPC Zeno Sebastian Endemann
@ 2026-04-12 14:52 ` Alejandro Colomar
0 siblings, 0 replies; 2+ messages in thread
From: Alejandro Colomar @ 2026-04-12 14:52 UTC (permalink / raw)
To: Zeno Sebastian Endemann; +Cc: linux-man
[-- 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 --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-04-12 14:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-12 14:40 [PATCH] man/man2/truncate.2: ERRORS: Add ENOSPC Zeno Sebastian Endemann
2026-04-12 14:52 ` Alejandro Colomar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox