summaryrefslogtreecommitdiff
path: root/src/shared/id128-print.c
Commit message (Collapse)AuthorAgeFilesLines
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* systemd-id128: add new verb to print GPT partitions UUIDsZbigniew Jędrzejewski-Szmek2020-01-231-19/+23
|
* id128: drop "MESSAGE_" prefix of pretty outputLennart Poettering2019-11-151-2/+2
| | | | | | Using these IDs for message identication is one use case, but there are others, hence let's drop the prefix, it only made sense to have while the tool was part of journalctl.
* id128: add new "-u" switch for outputting Ids in UUID formatLennart Poettering2019-11-151-5/+12
| | | | | | | | For some unrelated stuff I wanted the machine ID in UUID format, and it was annoying doing that manually. So let's add a switch for this, so that this works: systemd-id128 machine-id -u
* tree-wide: use SD_ID128_UUID_FORMAT_STR as appropriateZbigniew Jędrzejewski-Szmek2019-04-051-1/+1
|
* Split out pretty-print.c and move pager.c and main-func.h to shared/Zbigniew Jędrzejewski-Szmek2018-11-201-0/+1
| | | | | This is high-level functionality, and fits better in shared/ (which is for our executables), than in basic/ (which is also for libraries).
* Prettify printing of uuidsZbigniew Jędrzejewski-Szmek2018-10-021-10/+26
| | | | I know this a bit over the top, but I'm following reviewers' requests.
* systemd-id128: a new tool to print machine/boot/invocation/app-specific idsZbigniew Jędrzejewski-Szmek2018-10-021-6/+17
| | | | | | | | | | | | | | The raison d'etre for this program is printing machine-app-specific IDs. We provide a library function for that, but not a convenient API. We can hardly ask people to quickly hack their own C programs or call libsystemd through CFFI in python or another scripting language if they just want to print an ID. Verb 'new' was already available as 'journalctl --new-id128', but this makes it more discoverable. v2: - rename binary to systemd-id128 - make --app-specific= into a switch that applies to boot-id and machine-id
* journalctl: move generate_new_id128() to sharedZbigniew Jędrzejewski-Szmek2018-10-021-0/+37