| udev.h | | udev.h | |
| | | | |
| skipping to change at line 50 | | skipping to change at line 50 | |
| | | | |
| #define DEFAULT_PARTITIONS_COUNT 15 | | #define DEFAULT_PARTITIONS_COUNT 15 | |
| #define UDEV_EVENT_TIMEOUT 180 | | #define UDEV_EVENT_TIMEOUT 180 | |
| | | | |
| #define UDEV_MAX(a,b) ((a) > (b) ? (a) : (b)) | | #define UDEV_MAX(a,b) ((a) > (b) ? (a) : (b)) | |
| | | | |
| /* pipes */ | | /* pipes */ | |
| #define READ_END 0 | | #define READ_END 0 | |
| #define WRITE_END 1 | | #define WRITE_END 1 | |
| | | | |
|
| | | #define UDEV_ROOT "/dev" | |
| #define DB_DIR ".udev/db" | | #define DB_DIR ".udev/db" | |
| #define DB_NAME_INDEX_DIR ".udev/names" | | #define DB_NAME_INDEX_DIR ".udev/names" | |
|
| | | #define RULES_LIB_DIR "/lib/udev/rules.d" | |
| #define RULES_DYN_DIR ".udev/rules.d" | | #define RULES_DYN_DIR ".udev/rules.d" | |
|
| | | #define RULES_ETC_DIR "/etc/udev/rules.d" | |
| | | | |
| struct udev_rules; | | struct udev_rules; | |
| | | | |
| struct sysfs_device { | | struct sysfs_device { | |
| struct list_head node; /* for device cache */ | | struct list_head node; /* for device cache */ | |
| struct sysfs_device *parent; /* already cached parent*/ | | struct sysfs_device *parent; /* already cached parent*/ | |
| char devpath[PATH_SIZE]; | | char devpath[PATH_SIZE]; | |
| char subsystem[NAME_SIZE]; /* $class, $bus, drivers, mo
dule */ | | char subsystem[NAME_SIZE]; /* $class, $bus, drivers, mo
dule */ | |
| char kernel[NAME_SIZE]; /* device instance name */ | | char kernel[NAME_SIZE]; /* device instance name */ | |
| char kernel_number[NAME_SIZE]; | | char kernel_number[NAME_SIZE]; | |
| | | | |
End of changes. 3 change blocks. |
| 0 lines changed or deleted | | 3 lines changed or added | |
|