chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] rename namedev_dev to udev_rule
[elogind.git]
/
udev.h
diff --git
a/udev.h
b/udev.h
index 7eb07bf125c375d7eeed2b68cbcd5bf80caa0151..6e41bb5d26770d288d1e522b3a76454be7eb6d39 100644
(file)
--- a/
udev.h
+++ b/
udev.h
@@
-48,24
+48,24
@@
#define DEFAULT_PARTITIONS_COUNT 15
enum device_type {
#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];
};
struct udevice {
char devpath[PATH_SIZE];
char subsystem[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 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;
char tmp_node[PATH_SIZE];
dev_t devt;
char tmp_node[PATH_SIZE];