stat.2: Not filesystem support for nanosecond timestamps

Add some detail on which native filesystems do and don't
support nanosecond timestamps.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2013-10-25 15:27:33 +13:00
parent e9e9e87ecf
commit 96f92a7cb6
1 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,7 @@
.\" 2007-06-08 mtk: Added example program
.\" 2007-07-05 mtk: Added details on underlying system call interfaces
.\"
.TH STAT 2 2012-11-11 "Linux" "Linux Programmer's Manual"
.TH STAT 2 2013-10-25 "Linux" "Linux Programmer's Manual"
.SH NAME
stat, fstat, lstat \- get file status
.SH SYNOPSIS
@ -539,8 +539,10 @@ then the nanosecond values are exposed with names of the form
.IR st_atimensec .
On filesystems that do not support subsecond timestamps,
the nanosecond fields are returned with the value 0.
.\" As at kernel 2.6.25, XFS and JFS support nanosecond timestamps,
.\" but ext2, ext3, and Reiserfs do not.
Nanosecond timestamps are supported on XFS, JFS, Btrfs, and
ext4 (since Linux 2.6.23).
.\" commit ef7f38359ea8b3e9c7f2cae9a4d4935f55ca9e80
Nanosecond timestamps are not supported in ext2, ext3, and Resierfs.
On Linux,
.BR lstat ()