From 132d0055158a8c1973897ef99c2c6459fc8e1e4f Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?= Date: Fri, 20 Jan 2012 14:22:56 +0000 Subject: [PATCH] stat: clarify the description of the %o stat format * src/stat.c (usage): Indicate this is a transfer size suggestion, rather than some persistent block size. * doc/coreutils.texi (stat invocation): Likewise. --- doc/coreutils.texi | 2 +- src/stat.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 685de20..2ada962 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -11031,7 +11031,7 @@ The valid @var{format} directives for files with @option{--format} and @item %m - Mount point (See note below) @item %n - File name @item %N - Quoted file name with dereference if symbolic link -@item %o - I/O block size +@item %o - Optimal I/O transfer size hint @item %s - Total size, in bytes @item %t - Major device type in hex @item %T - Minor device type in hex diff --git a/src/stat.c b/src/stat.c index 9ae2d5a..b2e1030 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1362,7 +1362,7 @@ The valid format sequences for files (without --file-system):\n\ %m mount point\n\ %n file name\n\ %N quoted file name with dereference if symbolic link\n\ - %o I/O block size\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\ -- 2.7.4