diff options
author | Pádraig Brady <P@draigBrady.com> | 2013-03-12 13:43:08 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2013-03-22 08:58:30 +0000 |
commit | 33242826650b8ed4ea5cfca646cb63bd0ff96d3e (patch) | |
tree | d2c409648a4c87933b7687adbaa6ca3cff260f38 /src/stat.c | |
parent | 2c2d0b3644c2ce2fb723b7f888e3da3a1e4e3bca (diff) | |
download | coreutils-33242826650b8ed4ea5cfca646cb63bd0ff96d3e.tar.xz |
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
Diffstat (limited to 'src/stat.c')
-rw-r--r-- | src/stat.c | 4 |
1 files changed, 2 insertions, 2 deletions
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\ |