Welcome to NYCU CSIT Mirror site

BSD: libfdisk Reference Manual

BSD

BSD — disk label specific functions

Description

Functions

fdisk_bsd_edit_disklabel ()

int
fdisk_bsd_edit_disklabel (struct fdisk_context *cxt);

Edits fields in BSD disk label.

Parameters

cxt

context

 

Returns

0 on success, <0 on error


fdisk_bsd_link_partition ()

int
fdisk_bsd_link_partition (struct fdisk_context *cxt);

Links partition from parent (DOS) to nested BSD partition table.

Parameters

cxt

context

 

Returns

0 on success, <0 on error


fdisk_bsd_write_bootstrap ()

int
fdisk_bsd_write_bootstrap (struct fdisk_context *cxt);

Install bootstrap file to the BSD device

Parameters

cxt

context

 

Types and Values