diff options
author | Karel Zak | 2019-06-07 12:20:53 +0200 |
---|---|---|
committer | Karel Zak | 2019-06-17 15:46:10 +0200 |
commit | bfdca6d7287bedb8c40c9750fc3523544bbf5022 (patch) | |
tree | 035d95e35e912b4e6d3bda4747584e719e0dff08 /libfdisk/docs/libfdisk-sections.txt | |
parent | lscpu: add a new columns to --cache (diff) | |
download | kernel-qcow2-util-linux-bfdca6d7287bedb8c40c9750fc3523544bbf5022.tar.gz kernel-qcow2-util-linux-bfdca6d7287bedb8c40c9750fc3523544bbf5022.tar.xz kernel-qcow2-util-linux-bfdca6d7287bedb8c40c9750fc3523544bbf5022.zip |
libfdisk: add fdisk_script_set_table()
This small change improves possibility to modify by script described
PT and use script API in another tools as primary way to create
partitions.
All you need is to compose script by fdisk_script_set_header() and
fdisk_script_set_table() and than apply by fdisk_apply_script().
Requested-by: Lennart Poettering <lennart@poettering.net>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/docs/libfdisk-sections.txt')
-rw-r--r-- | libfdisk/docs/libfdisk-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libfdisk/docs/libfdisk-sections.txt b/libfdisk/docs/libfdisk-sections.txt index f6675fe46..d0d362f60 100644 --- a/libfdisk/docs/libfdisk-sections.txt +++ b/libfdisk/docs/libfdisk-sections.txt @@ -132,6 +132,7 @@ fdisk_ref_script fdisk_script_enable_json fdisk_script_get_header fdisk_script_get_nlines +fdisk_script_set_table fdisk_script_get_table fdisk_script_has_force_label fdisk_script_read_context |