chiark / gitweb /
[PATCH] add NAME{ignore_remove} attribute
[elogind.git] / namedev.h
index 7a98d66c24ca42c2b5f964c2751c6eac8610ab8d..8e552c85684ba580a3f43ffc55ace21b5a089bd3 100644 (file)
--- a/namedev.h
+++ b/namedev.h
@@ -52,6 +52,7 @@ struct sysfs_class_device;
 #define FIELD_MODE             "MODE"
 
 #define ATTR_PARTITIONS                "all_partitions"
+#define ATTR_IGNORE_REMOVE     "ignore_remove"
 #define PARTITIONS_COUNT       15
 
 #define MAX_SYSFS_PAIRS                5
@@ -90,6 +91,7 @@ struct config_device {
        char group[GROUP_SIZE];
        unsigned int mode;
        int partitions;
+       int ignore_remove;
        char config_file[NAME_SIZE];
        int config_line;
 };