dosfstools  4.2
About: dosfstools are utilities to create, check and label (MS-DOS) FAT filesystems.
  Fossies Dox: dosfstools-4.2.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

device_info.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  device_info
 

Enumerations

enum  device_type {
  TYPE_UNKNOWN , TYPE_BAD , TYPE_FILE , TYPE_VIRTUAL ,
  TYPE_REMOVABLE , TYPE_FIXED
}
 

Functions

int get_device_info (int fd, struct device_info *info)
 
int is_device_mounted (const char *path)
 

Variables

int device_info_verbose
 

Enumeration Type Documentation

◆ device_type

Enumerator
TYPE_UNKNOWN 
TYPE_BAD 
TYPE_FILE 
TYPE_VIRTUAL 
TYPE_REMOVABLE 
TYPE_FIXED 

Definition at line 4 of file device_info.h.

Function Documentation

◆ get_device_info()

int get_device_info ( int  fd,
struct device_info info 
)

◆ is_device_mounted()

int is_device_mounted ( const char *  path)

Definition at line 321 of file device_info.c.

Referenced by check_mount().

Variable Documentation

◆ device_info_verbose

int device_info_verbose
extern

Definition at line 68 of file device_info.c.

Referenced by main().