discover: Allow for already-mounted devices
[petitboot] / discover / device-handler.h
index 854be48dab48176e925e985eb56cf0a936fe48c6..9d477db9979dc249841ff52822d53c8d6fae7024 100644 (file)
@@ -33,8 +33,10 @@ struct discover_device {
        const char              *uuid;
        const char              *label;
 
-       const char              *mount_path;
+       char                    *mount_path;
        const char              *device_path;
+       bool                    mounted;
+       bool                    unmount;
 
        bool                    notified;