Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

hd_data_t::flag_struct Struct Reference

Special flags. More...

#include <hd.h>


Data Fields

unsigned internal:1
 hd_scan() has been called internally

unsigned dformat:2
 Alternative output format.

unsigned no_parport:1
 Don't do parport probing: parport modules (used to) crash pmacs.

unsigned iseries:1
 Set if we are on an iSeries machine.

unsigned list_all:1
 Return even devices with status 'not available'.

unsigned fast:1
 Don't check tricky hardware.

unsigned list_md:1
 Report md & lvm devices from /proc/partitions.

unsigned nofork:1
 don't run potentially hanging code in a subprocess

unsigned nosysfs:1
 don't ask sysfs

unsigned forked:1
 we're running in a subprocess

unsigned cpuemu:1
 use CPU emulation to run BIOS code (i386 only)

unsigned udev:1
 return first udev symlink as device name

unsigned edd_used:1
 internal: edd info has been used


Detailed Description

Special flags.

Influence hardware probing in some strange ways with these. You normally do not want to use them.


Field Documentation

unsigned hd_data_t::flag_struct::cpuemu
 

use CPU emulation to run BIOS code (i386 only)

unsigned hd_data_t::flag_struct::dformat
 

Alternative output format.

unsigned hd_data_t::flag_struct::edd_used
 

internal: edd info has been used

unsigned hd_data_t::flag_struct::fast
 

Don't check tricky hardware.

unsigned hd_data_t::flag_struct::forked
 

we're running in a subprocess

unsigned hd_data_t::flag_struct::internal
 

hd_scan() has been called internally

unsigned hd_data_t::flag_struct::iseries
 

Set if we are on an iSeries machine.

unsigned hd_data_t::flag_struct::list_all
 

Return even devices with status 'not available'.

unsigned hd_data_t::flag_struct::list_md
 

Report md & lvm devices from /proc/partitions.

unsigned hd_data_t::flag_struct::no_parport
 

Don't do parport probing: parport modules (used to) crash pmacs.

unsigned hd_data_t::flag_struct::nofork
 

don't run potentially hanging code in a subprocess

unsigned hd_data_t::flag_struct::nosysfs
 

don't ask sysfs

unsigned hd_data_t::flag_struct::udev
 

return first udev symlink as device name


The documentation for this struct was generated from the following file: