libfdisk: add comment
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
ea0acfc335
commit
0d034857f2
|
@ -1474,6 +1474,9 @@ int fdisk_delete_all_partitions(struct fdisk_context *cxt)
|
|||
* @cxt: context
|
||||
* @n: partition number (0 is the first partition)
|
||||
*
|
||||
* Check if the partition number @n is used by partition table. This function
|
||||
* does not check if the device is used (e.g. mounted) by system!
|
||||
*
|
||||
* This is faster than fdisk_get_partition() + fdisk_partition_is_used().
|
||||
*
|
||||
* Returns: 0 or 1
|
||||
|
|
Loading…
Reference in New Issue