]> git.ozlabs.org Git - petitboot/blobdiff - lib/types/types.h
Recognise storage devices on USB bus
[petitboot] / lib / types / types.h
index e5c7e3e00225daa162c7850eb1d302da63074f7a..6a2c25810fff5c80a07ad2f11af44924b225f469 100644 (file)
@@ -8,6 +8,7 @@
 enum device_type {
        DEVICE_TYPE_NETWORK,
        DEVICE_TYPE_DISK,
+       DEVICE_TYPE_USB,
        DEVICE_TYPE_OPTICAL,
        DEVICE_TYPE_ANY,
        DEVICE_TYPE_UNKNOWN,
@@ -146,9 +147,12 @@ struct config {
        unsigned int            ipmi_bootdev;
        bool                    ipmi_bootdev_persistent;
 
+       bool                    allow_writes;
+
        char                    *lang;
 
        /* not user-settable */
+       bool                    disable_snapshots;
        bool                    safe_mode;
        bool                    debug;
 };