summaryrefslogtreecommitdiffstats
path: root/src/shared/fdisk-util.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* fdisk-util: Make fdisk_new_context_fd() more genericDaan De Meyer2023-08-141-1/+1
| | | | | Let's make this an openat() style function so we can also pass a device path.
* sysupdate: Move fdisk partition flags helpers to fdisk-util.cDaan De Meyer2023-08-011-0/+3
|
* homework: when creating/resizing GPT partitions, also set sector size explicitlyLennart Poettering2023-01-181-1/+1
|
* fdisk-util: add fdisk_partition_get_type_as_id128() helperLennart Poettering2022-11-291-0/+1
| | | | Let's also add an easy accessor for the other per-partition UUID.
* fdisk-util: add fdisk_partition_get_uuid_as_id128() helperLennart Poettering2022-11-291-0/+4
| | | | Inspired by: #25534
* fdisk: introduce common fdisk_new_context_fd() helperLennart Poettering2022-11-261-0/+2
| | | | | We do the same thing over and over again and it's a bit ugly, hence let's unify the code for it at one common place.
* repart,homed: split out disk cleanup macros into generic headerLennart Poettering2021-11-251-0/+15