#include <sys/types.h>
#include <sys/param.h>
#include "libsysfs/sysfs/libsysfs.h"
+#include "list.h"
#define ALARM_TIMEOUT 120
#define COMMENT_CHARACTER '#'
#define DEFAULT_PARTITIONS_COUNT 15
+enum device_type {
+ UNKNOWN,
+ CLASS,
+ BLOCK,
+ NET,
+ PHYSDEV,
+};
+
struct udevice {
char devpath[DEVPATH_SIZE];
char subsystem[SUBSYSTEM_SIZE];