sfdiskM


Description:

[ Version ( deprecated = true , since = "1.0.55" ) ]
public bool sfdiskM (string device, string[] lines) throws Error

Warning: sfdiskM is deprecated.

create partitions on a block device

Note:

In new code, use part_add instead

This is a simplified interface to the sfdisk command, where partition sizes are specified in megabytes only (rounded to the nearest cylinder) and you don't need to specify the cyls, heads and sectors parameters which were rarely if ever used anyway.

See also: sfdisk, the sfdisk(8) manpage and part_disk

Parameters:

this

A GuestfsSession object

lines

an array of strings

Returns:

true on success, false on error