summaryrefslogtreecommitdiff
path: root/udev_rules.h
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2005-03-12 22:55:08 +0100
committerGreg KH <gregkh@suse.de>2005-04-26 23:53:17 -0700
commit3b6ed8bb06d18a2855d530dcb9034e9d37114827 (patch)
treea277f9484ba8098e6fa9af293ee0e33e28407ae5 /udev_rules.h
parente5e322bc627a07d29a07e08f7c96bd644a3ae057 (diff)
[PATCH] add OPTION="last_rule" to skip any later rule
Diffstat (limited to 'udev_rules.h')
-rw-r--r--udev_rules.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/udev_rules.h b/udev_rules.h
index 71c510bce5..42552cfa41 100644
--- a/udev_rules.h
+++ b/udev_rules.h
@@ -43,6 +43,7 @@
#define FIELD_MODE "MODE"
#define FIELD_OPTIONS "OPTIONS"
+#define OPTION_LAST_RULE "last_rule"
#define OPTION_IGNORE_DEVICE "ignore_device"
#define OPTION_IGNORE_REMOVE "ignore_remove"
#define OPTION_PARTITIONS "all_partitions"
@@ -74,9 +75,10 @@ struct udev_rule {
char group[USER_SIZE];
mode_t mode;
- int partitions;
+ int last_rule;
int ignore_device;
int ignore_remove;
+ int partitions;
char config_file[PATH_SIZE];
int config_line;