diff options
author | Eric Blake <eblake@redhat.com> | 2010-10-05 09:02:37 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2010-10-05 09:07:58 -0600 |
commit | b7459696dca96015688e82c81eaefad756b63ddc (patch) | |
tree | 9161b78ce6f91cb170aee4a0f0a3645a390a9dab /NEWS | |
parent | 4c286d341a5443ca9044ac3aca3b69d941f5e531 (diff) | |
download | coreutils-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-- | NEWS | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 |