[PATCH 5/5] doc: setterm will truncate over long dump file paths

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

 



Signed-off-by: Sami Kerola <kerolasa@xxxxxx>
---
 term-utils/setterm.1 |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/term-utils/setterm.1 b/term-utils/setterm.1
index ceff57f..6a09fff 100644
--- a/term-utils/setterm.1
+++ b/term-utils/setterm.1
@@ -158,7 +158,8 @@ it.  Only works if no \fB\-dump\fP options are given.
 .BI \-file " dumpfilename"
 Sets the snapshot file name for any \fB\-dump\fP or \fB\-append\fP options
 on the same command line.  If this option is not present, the default is
-screen.dump in the current directory.
+screen.dump in the current directory.  A path name that exceeds system
+maximum will be truncated, see PATH_MAX from linux/limits.h for the value.
 .TP
 .BR \-msg " [" on | off "] (virtual consoles only)"
 Enables or disables the sending of kernel \fBprintk()\fP messages to the
-- 
1.7.4.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux