check_sane_dev(const char *dev)
{
   struct stat st;

   if (strncmp(dev, "/dev/", 5)) return EINA_FALSE; // not a /dev file
   if (!check_sane_path(dev)) return EINA_FALSE;
   if (stat(dev, &st)) return EINA_FALSE; // must actually exist
   return EINA_TRUE;
}
check_sane_dev(const char *dev)
{
   struct stat st;

   if (strncmp(dev, "/dev/", 5)) return EINA_FALSE;  
   if (!check_sane_path(dev)) return EINA_FALSE;
   if (stat(dev, &st)) return EINA_FALSE;  
   return EINA_TRUE;
}