2011-06-03 16:51:23 +00:00
|
|
|
$OpenBSD: patch-doc_dbus-uuidgen_1,v 1.2 2011/06/03 16:51:23 ajacoutot Exp $
|
|
|
|
--- doc/dbus-uuidgen.1.orig Wed May 25 18:40:28 2011
|
|
|
|
+++ doc/dbus-uuidgen.1 Fri Jun 3 18:18:58 2011
|
2007-03-21 00:21:58 +00:00
|
|
|
@@ -30,7 +30,7 @@ script of a D-Bus package like this:
|
|
|
|
.fi
|
|
|
|
|
|
|
|
.PP
|
|
|
|
-This will ensure that /var/lib/dbus/machine-id exists and has the uuid in it.
|
2011-06-03 16:51:23 +00:00
|
|
|
+This will ensure that /var/db/dbus/machine-id exists and has the uuid in it.
|
2007-03-21 00:21:58 +00:00
|
|
|
It won't overwrite an existing uuid, since this id should remain fixed
|
|
|
|
for a single machine until the next reboot at least.
|
|
|
|
|
2011-06-03 16:51:23 +00:00
|
|
|
@@ -64,14 +64,14 @@ because there are two different kernels.
|
2007-03-21 00:21:58 +00:00
|
|
|
The following options are supported:
|
|
|
|
.TP
|
|
|
|
.I "--get[=FILENAME]"
|
|
|
|
-If a filename is not given, defaults to localstatedir/lib/dbus/machine-id
|
2011-06-03 16:51:23 +00:00
|
|
|
+If a filename is not given, defaults to localstatedir/db/dbus/machine-id.
|
|
|
|
(localstatedir is usually /var). If this file exists and is valid, the
|
2007-03-21 00:21:58 +00:00
|
|
|
uuid in the file is printed on stdout. Otherwise, the command exits
|
|
|
|
with a nonzero status.
|
|
|
|
|
|
|
|
.TP
|
|
|
|
.I "--ensure[=FILENAME]"
|
|
|
|
-If a filename is not given, defaults to localstatedir/lib/dbus/machine-id
|
2011-06-03 16:51:23 +00:00
|
|
|
+If a filename is not given, defaults to localstatedir/db/dbus/machine-id.
|
|
|
|
(localstatedir is usually /var). If this file exists then it will be
|
2007-03-21 00:21:58 +00:00
|
|
|
validated, and a failure code returned if it contains the wrong thing.
|
|
|
|
If the file does not exist, it will be created with a new uuid in it.
|