mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
c6c266a85d76dc2db90460202415790c585ac625
sfdisk can now do everything with GPT that sgdisk was needed for before. In particular we are able to reimplement the following functions using sfdisk: - part_set_disk_guid (replace with sfdisk --disk-id) - part_get_disk_guid - part_set_disk_guid_random - part_set_gpt_attributes (sfdisk --part-attrs) - part_get_gpt_attributes - part_set_gpt_guid (sfdisk --part-uuid) - part_get_gpt_guid - part_set_gpt_type (sfdisk --part-type) - part_get_gpt_type This allows us to drop the requirement for gdisk in many cases. There is only one API remaining which requires gdisk, part_expand_gpt, which we do not use in our tools. In a prior commit I already moved this solitary function to a new source file (daemon/gdisk.c). Fixes: https://issues.redhat.com/browse/RHEL-35998
…
…
…
…
Libguestfs is tools and a library for accessing and modifying guest disk images. For more information see the home page: http://libguestfs.org/ For discussion, development, patches, etc. please use the mailing list: https://lists.libguestfs.org To find out how to build libguestfs from source, read: docs/guestfs-building.pod http://libguestfs.org/guestfs-building.1.html man docs/guestfs-building.1 Copyright (C) 2009-2023 Red Hat Inc. The library is distributed under the LGPLv2+. The programs are distributed under the GPLv2+. Please see the files COPYING and COPYING.LIB for full license information. The examples are under a very liberal license.
Description
Languages
C
42.7%
OCaml
35.5%
Shell
7.1%
Makefile
4%
Perl
2.6%
Other
8%