Welcome to NYCU CSIT Mirror site
DOS (MBR): libfdisk Reference Manual
DOS (MBR)
DOS (MBR) — disk label specific functions
|
|
Functions
fdisk_dos_enable_compatible ()
int
fdisk_dos_enable_compatible (struct fdisk_label *lb,
int enable);
Enables deprecated DOS compatible mode, in this mode library checks for
cylinders boundary, cases about CHS addressing and another obscure things.
Returns
0 on success, <0 on error.
fdisk_dos_is_compatible ()
int
fdisk_dos_is_compatible (struct fdisk_label *lb);
Returns
0 if DOS compatibility disabled, 1 if enabled
fdisk_dos_move_begin ()
int
fdisk_dos_move_begin (struct fdisk_context *cxt,
size_t i);
Types and Values
DOS_FLAG_ACTIVE
#define DOS_FLAG_ACTIVE 1