Sortix 1.1dev ports manual
This manual documents Sortix 1.1dev ports. You can instead view this document in the latest official manual.
dbus-uuidgen(1) | General Commands Manual | dbus-uuidgen(1) |
NAME
dbus-uuidgen - Utility to generate UUIDsSYNOPSIS
dbus-uuidgen [--version] [--ensure[=FILENAME]] [--get[=FILENAME]]DESCRIPTION
The dbus-uuidgen command generates or reads a universally unique ID.dbus-uuidgen --ensure
OPTIONS
The following options are supported:- --get[=FILENAME]
- If a filename is not given, defaults to
localstatedir/lib/dbus/machine-id (localstatedir is usually /var). If this
file exists and is valid, the uuid in the file is printed on stdout.
Otherwise, the command exits with a nonzero status.
- --ensure[=FILENAME]
- If a filename is not given, defaults to
localstatedir/lib/dbus/machine-id (localstatedir is usually /var). If this
file exists then it will be 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. On success, prints no output.
- --version
- Print the version of dbus-uuidgen