From 33242826650b8ed4ea5cfca646cb63bd0ff96d3e Mon Sep 17 00:00:00 2001 From: Pádraig Brady Date: Tue, 12 Mar 2013 13:43:08 +0000 Subject: doc: clarify stat the meaning of --format="%t %T" * src/stat.c (usage): Mention that the values are only defined for character and block special files. * doc/coreutils.texi (stat invocation): Likewise. Also mention st_rdev. Reported in http://bugs.gnu.org/13927 --- src/stat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/stat.c b/src/stat.c index 232669811..a1938a7d4 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1393,8 +1393,8 @@ The valid format sequences for files (without --file-system):\n\ %N quoted file name with dereference if symbolic link\n\ %o optimal I/O transfer size hint\n\ %s total size, in bytes\n\ - %t major device type in hex\n\ - %T minor device type in hex\n\ + %t major device type in hex, for character/block device special files\n\ + %T minor device type in hex, for character/block device special files\n\ "), stdout); fputs (_("\ %u user ID of owner\n\ -- cgit v1.2.3-54-g00ecf