summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEric Blake <eblake@redhat.com>2010-10-05 09:02:37 -0600
committerEric Blake <eblake@redhat.com>2010-10-05 09:07:58 -0600
commitb7459696dca96015688e82c81eaefad756b63ddc (patch)
tree9161b78ce6f91cb170aee4a0f0a3645a390a9dab /NEWS
parent4c286d341a5443ca9044ac3aca3b69d941f5e531 (diff)
downloadcoreutils-b7459696dca96015688e82c81eaefad756b63ddc.tar.xz
stat: drop %C support when printing file system details
* src/stat.c (print_statfs, usage): Drop %C, since it applies to files, not file systems. (out_file_context): Match style of other out_* functions. (print_stat): Update caller. * doc/coreutils.texi (stat invocation): Document %C. * NEWS: Document the change.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS8
1 files changed, 6 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 719ac9c47..22f257ba6 100644
--- a/NEWS
+++ b/NEWS
@@ -76,10 +76,14 @@ GNU coreutils NEWS -*- outline -*-
stat no longer accepts the --context (-Z) option. Initially it was
merely accepted and ignored, for compatibility. Starting two years
ago, with coreutils-7.0, its use evoked a warning. Printing the
- SELinux context can be done with the %C format directive, and the
- default output when no format is specified now automatically
+ SELinux context of a file can be done with the %C format directive,
+ and the default output when no format is specified now automatically
includes %C when context information is available.
+ stat no longer accepts the %C directive when the --file-system
+ option is in effect, since security context is a file attribute
+ rather than a file system attribute.
+
stat now outputs the full sub-second resolution for the atime,
mtime, and ctime values since the Epoch, when using the %X, %Y, and
%Z directives of the --format option. This matches the fact that