SUN

SUN — disk label specific functions

Functions

Description

Functions

fdisk_sun_set_alt_cyl ()

int
fdisk_sun_set_alt_cyl (struct fdisk_context *cxt);

Sets number of alternative cylinders. This function uses libfdisk Ask API for dialog with user.

Parameters

cxt

context

 

Returns

0 on success, <0 on error.


fdisk_sun_set_ilfact ()

int
fdisk_sun_set_ilfact (struct fdisk_context *cxt);

Sets interleave factor. This function uses libfdisk Ask API for dialog with user.

Parameters

cxt

context

 

Returns

0 on success, <0 on error.


fdisk_sun_set_pcylcount ()

int
fdisk_sun_set_pcylcount (struct fdisk_context *cxt);

Sets number of physical cylinders. This function uses libfdisk Ask API for dialog with user.

Parameters

cxt

context

 

Returns

0 on success, <0 on error.


fdisk_sun_set_rspeed ()

int
fdisk_sun_set_rspeed (struct fdisk_context *cxt);

Sets rotation speed. This function uses libfdisk Ask API for dialog with user.

Parameters

cxt

context

 

Returns

0 on success, <0 on error.


fdisk_sun_set_xcyl ()

int
fdisk_sun_set_xcyl (struct fdisk_context *cxt);

Sets number of extra sectors per cylinder. This function uses libfdisk Ask API for dialog with user.

Parameters

cxt

context

 

Returns

0 on success, <0 on error.