#define DEFAULT_PARTITIONS_COUNT 15
enum device_type {
- UNKNOWN,
- CLASS,
- BLOCK,
- NET,
- PHYSDEV,
+ DEV_UNKNOWN,
+ DEV_CLASS,
+ DEV_BLOCK,
+ DEV_NET,
+ DEV_DEVICE,
};
struct udevice {
char devpath[PATH_SIZE];
char subsystem[NAME_SIZE];
+ char action[NAME_SIZE];
+ enum device_type type;
char name[PATH_SIZE];
char devname[PATH_SIZE];
struct list_head symlink_list;
char owner[USER_SIZE];
char group[USER_SIZE];
mode_t mode;
- char type;
dev_t devt;
+ struct list_head run_list;
char tmp_node[PATH_SIZE];
int partitions;
+ int ignore_device;
int ignore_remove;
int config_line;
char config_file[PATH_SIZE];
extern char udev_db_path[PATH_SIZE];
extern char udev_config_filename[PATH_SIZE];
extern char udev_rules_filename[PATH_SIZE];
-extern int udev_log;
+extern int udev_log_priority;
+extern int udev_run;
extern int udev_dev_d;
extern int udev_hotplug_d;