[ Version ( deprecated = true , since = "1.0.26" ) ]
public bool sfdisk_N (string device, int32 partnum, int32 cyls, int32 heads, int32 sectors, string line) throws Error
Warning: sfdisk_N is deprecated.
modify a single partition on a block device
In new code, use part_add instead
This runs sfdisk(8) option to modify just the single partition n
(note: n
counts from 1).
For other parameters, see sfdisk. You should usually pass @0 for the cyls/heads/sectors parameters.
See also: part_add
this |
A GuestfsSession object |
true on success, false on error |