>From 611b2b12ec7f6ae4ee276adfe74efe41602d27d7 Mon Sep 17 00:00:00 2001 From: Assaf Gordon Date: Mon, 21 Apr 2014 14:31:23 -0400 Subject: [PATCH 1/2] doc: clarify stat's mtime vs ctime in usage(), doc Change "modification time" to "data modification time", "change time" to "status change time". * src/stat.c: improve usage() * doc/coreutils.texi: ditto --- doc/coreutils.texi | 8 ++++---- src/stat.c | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 6c49385..b21a4fd 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -11829,10 +11829,10 @@ The valid @var{format} directives for files with @option{--format} and @item %W - Time of file birth as seconds since Epoch, or @samp{0} @item %x - Time of last access @item %X - Time of last access as seconds since Epoch -@item %y - Time of last modification -@item %Y - Time of last modification as seconds since Epoch -@item %z - Time of last change -@item %Z - Time of last change as seconds since Epoch +@item %y - Time of last data modification +@item %Y - Time of last data modification as seconds since Epoch +@item %z - Time of last status change +@item %Z - Time of last status change as seconds since Epoch @end itemize The @samp{%t} and @samp{%T} formats operate on the st_rdev member of diff --git a/src/stat.c b/src/stat.c index fffebe3..7d43eb5 100644 --- a/src/stat.c +++ b/src/stat.c @@ -1457,10 +1457,10 @@ The valid format sequences for files (without --file-system):\n\ %W time of file birth, seconds since Epoch; 0 if unknown\n\ %x time of last access, human-readable\n\ %X time of last access, seconds since Epoch\n\ - %y time of last modification, human-readable\n\ - %Y time of last modification, seconds since Epoch\n\ - %z time of last change, human-readable\n\ - %Z time of last change, seconds since Epoch\n\ + %y time of last data modification, human-readable\n\ + %Y time of last data modification, seconds since Epoch\n\ + %z time of last status change, human-readable\n\ + %Z time of last status change, seconds since Epoch\n\ \n\ "), stdout); -- 1.9.1