diff options
author | Carlos Maiolino <cmaiolino@redhat.com> | 2017-08-04 16:33:45 -0500 |
---|---|---|
committer | Eric Sandeen <sandeen@redhat.com> | 2017-08-04 16:33:45 -0500 |
commit | b4056fed6eda8180153fb274733aec8ff5dd14c9 (patch) | |
tree | ff78b76d77cf0520d4b7c201433bccaed3709ac7 | |
parent | 15a8bccc9403c0ab1dbe869aa3afce7be9e1dd49 (diff) | |
download | xfsprogs-dev-b4056fed6eda8180153fb274733aec8ff5dd14c9.tar.gz |
xfs_io: Print filesystem statfs flags in 'statfs' command
Sometimes printing the flags from the statfs structure is useful, so,
make statfs command print them.
Signed-off-by: Carlos Maiolino <cmaiolino@redhat.com>
Reviewed-by: Bill O'Donnell <billodo@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
-rw-r--r-- | io/stat.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -199,6 +199,7 @@ statfs_f( printf(_("statfs.f_bavail = %lld\n"), (long long) st.f_bavail); printf(_("statfs.f_files = %lld\n"), (long long) st.f_files); printf(_("statfs.f_ffree = %lld\n"), (long long) st.f_ffree); + printf(_("statfs.f_fflags = 0x%llx\n"), (long long) st.f_flags); } if (file->flags & IO_FOREIGN) return 0; |