libhd  5.0
Data Fields
hd_data_t::flag_struct Struct Reference

Special flags. More...

#include <hd.h>

Data Fields

unsigned internal:1
 hd_scan() has been called internally. More...
 
unsigned dformat:2
 Alternative output format. More...
 
unsigned no_parport:1
 Don't do parport probing: parport modules (used to) crash pmacs. More...
 
unsigned iseries:1
 Set if we are on an iSeries machine. More...
 
unsigned list_all:1
 Return even devices with status 'not available'. More...
 
unsigned fast:1
 Don't check tricky hardware. More...
 
unsigned list_md:1
 Report md & lvm devices from /proc/partitions. More...
 
unsigned nofork:1
 don't run potentially hanging code in a subprocess More...
 
unsigned nosysfs:1
 don't ask sysfs More...
 
unsigned forked:1
 we're running in a subprocess More...
 
unsigned cpuemu:1
 use CPU emulation to run BIOS code (i386 only) More...
 
unsigned udev:1
 return first udev symlink as device name More...
 
unsigned edd_used:1
 internal: edd info has been used More...
 
unsigned keep_kmods:2
 internal: don't reread kmods More...
 
unsigned nobioscrc:1
 internal: don't check VBIOS crc More...
 
unsigned biosvram:1
 internal: map Video BIOS RAM (128k at 0xa0000) More...
 
unsigned nowpa:1
 no longer used More...
 
unsigned pata:1
 use new libata modules instead of classical ide modules More...
 
unsigned vbox:1
 running in virtual box More...
 
unsigned vmware:1
 running in vmware More...
 
unsigned vmware_mouse:1
 has vmware mouse More...
 

Detailed Description

Special flags.

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

Field Documentation

◆ biosvram

unsigned hd_data_t::flag_struct::biosvram

internal: map Video BIOS RAM (128k at 0xa0000)

Referenced by hd_scan().

◆ cpuemu

unsigned hd_data_t::flag_struct::cpuemu

use CPU emulation to run BIOS code (i386 only)

Referenced by hd_scan().

◆ dformat

unsigned hd_data_t::flag_struct::dformat

Alternative output format.

Referenced by dump_normal(), and hd_dump_entry().

◆ edd_used

unsigned hd_data_t::flag_struct::edd_used

internal: edd info has been used

◆ fast

unsigned hd_data_t::flag_struct::fast

Don't check tricky hardware.

Referenced by hd_list(), hd_list2(), and hd_set_probe_feature_hw().

◆ forked

unsigned hd_data_t::flag_struct::forked

we're running in a subprocess

Referenced by hd_fork(), hd_fork_done(), hd_scan_braille(), hd_scan_modem(), hd_scan_mouse(), and progress().

◆ internal

unsigned hd_data_t::flag_struct::internal

hd_scan() has been called internally.

Referenced by hd_is_uml(), hd_scan(), and hd_smp_support().

◆ iseries

unsigned hd_data_t::flag_struct::iseries

Set if we are on an iSeries machine.

Referenced by hd_scan_sys().

◆ keep_kmods

unsigned hd_data_t::flag_struct::keep_kmods

internal: don't reread kmods

Referenced by hd_scan_int(), hd_scan_manual(), and read_kmods().

◆ list_all

unsigned hd_data_t::flag_struct::list_all

Return even devices with status 'not available'.

Referenced by hd_list(), and hd_list2().

◆ list_md

unsigned hd_data_t::flag_struct::list_md

Report md & lvm devices from /proc/partitions.

Referenced by read_partitions().

◆ no_parport

unsigned hd_data_t::flag_struct::no_parport

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

Referenced by hd_scan_misc(), hd_scan_no_hal(), and hd_scan_sys().

◆ nobioscrc

unsigned hd_data_t::flag_struct::nobioscrc

internal: don't check VBIOS crc

Referenced by hd_scan().

◆ nofork

unsigned hd_data_t::flag_struct::nofork

don't run potentially hanging code in a subprocess

Referenced by hd_fork(), hd_fork_done(), hd_scan(), and hd_shm_init().

◆ nosysfs

unsigned hd_data_t::flag_struct::nosysfs

don't ask sysfs

Referenced by hd_scan().

◆ nowpa

unsigned hd_data_t::flag_struct::nowpa

no longer used

◆ pata

unsigned hd_data_t::flag_struct::pata

use new libata modules instead of classical ide modules

Referenced by hd_scan(), and match_modinfo().

◆ udev

unsigned hd_data_t::flag_struct::udev

return first udev symlink as device name

Referenced by hd_scan(), and int_udev().

◆ vbox

unsigned hd_data_t::flag_struct::vbox

running in virtual box

Referenced by int_mouse().

◆ vmware

unsigned hd_data_t::flag_struct::vmware

running in vmware

Referenced by add_scsi_sysfs_info(), and int_mouse().

◆ vmware_mouse

unsigned hd_data_t::flag_struct::vmware_mouse

has vmware mouse

Referenced by int_mouse().


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