raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=d8130a741c819d96e5b1c25a5fc28842bed3d77b

commit d8130a741c819d96e5b1c25a5fc28842bed3d77b
Author: Carsten Haitzler (Rasterman) <ras...@rasterman.com>
Date:   Wed Apr 22 14:53:25 2020 +0100

    e sys storage - disable it effectively by failing all devices
    
    all devices will fail the check for now as i have no filter to only
    check for block + removable devices etc.
    
    fixes T8672
---
 src/bin/system/e_system_storage.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/bin/system/e_system_storage.c 
b/src/bin/system/e_system_storage.c
index f9e5ff1ac..c243d276e 100644
--- a/src/bin/system/e_system_storage.c
+++ b/src/bin/system/e_system_storage.c
@@ -37,7 +37,10 @@ _store_device_verify(const char *dev)
      }
    // must exist as a file - if not - nope
    if (stat(dev, &st) != 0) return EINA_FALSE;
-   return EINA_TRUE;
+   // XXX: must check it's a block device, that is removable etc. etc.
+   // XXX: for now we have no code for this so always fail until we do
+   return EINA_FALSE;
+//   return EINA_TRUE;
 }
 
 static Eina_Bool

-- 


Reply via email to