X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Fos-release.xml;h=1e4c067c1bddde7eaa10037dd6a4b67e7eb51a05;hp=c6eb28f395f3d2112192ad845e87182248426f14;hb=0b4ebf07bcdf9ca684424b72f2e5a19cacea42c5;hpb=e17fb72914e328f962e5df1bf88f301c0e7fa6e1
diff --git a/man/os-release.xml b/man/os-release.xml
index c6eb28f39..1e4c067c1 100644
--- a/man/os-release.xml
+++ b/man/os-release.xml
@@ -167,19 +167,25 @@
If you interpreting this file from code or a
shell script, use the ID and VERSION_ID fields. When
- looking for an OS indetification string for
+ looking for an OS identification string for
presentation to the user use the PRETTY_STRING
field.
+
+ Note that operating system vendors may choose
+ not to provide version information, for example to
+ accommodate for rolling releases. In this case VERSION
+ and VERSION_ID may be unset. Applications should not
+ rely on these fields to be set.
Example
NAME=Fedora
-VERSION=15 (Rawhide)
+VERSION="15 (Rawhide)"
ID=fedora
VERSION_ID=15
-PRETTY_NAME=Fedora 15 (Rawhide)
+PRETTY_NAME="Fedora 15 (Rawhide)"
ANSI_COLOR=0;34
@@ -187,7 +193,10 @@ ANSI_COLOR=0;34
See Also
systemd1,
- lsb_release1
+ lsb_release1,
+ hostname5,
+ machine-id5,
+ machine-info5