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
This commit is contained in:
Carsten Haitzler 2020-04-22 14:53:25 +01:00
parent 800ff4e24f
commit d8130a741c
1 changed files with 4 additions and 1 deletions

View File

@ -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