sfdisk_N


Description:

[ 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

Note:

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

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error