public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
* [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

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