From 7383c1d762c50c83832a8d11b48d75e5cad0042a Mon Sep 17 00:00:00 2001 From: Hendrik Schwartke Date: Wed, 25 Jul 2012 09:43:37 +0200 Subject: Added timestamps to storage volumes The access, birth, modification and change times are added to storage volumes and corresponding xml representations. This shows up in the XML in this format: 1341933637.027319099 1341933637.027319099 Signed-off-by: Eric Blake --- docs/formatstorage.html.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'docs/formatstorage.html.in') diff --git a/docs/formatstorage.html.in b/docs/formatstorage.html.in index d0e4319c5..9f93db810 100644 --- a/docs/formatstorage.html.in +++ b/docs/formatstorage.html.in @@ -141,6 +141,11 @@ <mode>0744</mode> <label>virt_image_t</label> </permissions> + <timestamps> + <atime>1341933637.273190990</atime> + <mtime>1341930622.047245868</mtime> + <ctime>1341930622.047245868</ctime> + </timestamps> <encryption type='...'> ... </encryption> @@ -172,6 +177,19 @@ contains the MAC (eg SELinux) label string. Since 0.4.1 +
timestamps
+
Provides timing information about the volume. Up to four + sub-elements are present, + where atime, btime, ctime + and mtime hold the access, birth, change and + modification time of the volume, where known. The used time + format is <seconds>.<nanoseconds> since the + beginning of the epoch (1 Jan 1970). If nanosecond resolution + is 0 or otherwise unsupported by the host OS or filesystem, + then the nanoseconds part is omitted. This is a readonly + attribute and is ignored when creating a volume. + Since 0.10.0 +
encryption
If present, specifies how the volume is encrypted. See the Storage Encryption page -- cgit v1.2.3-65-gdbad