check if devoptab exists. if yes, return false.

This commit is contained in:
tantricity 2010-06-18 23:40:44 +00:00
parent fd85021971
commit 77fecb0cd9

View File

@ -74,6 +74,11 @@ bool fatMount (const char* name, const DISC_INTERFACE* interface, sec_t startSec
if(!name || !interface)
return false;
char devname[10];
sprintf(devname, "%s:", name);
if(FindDevice(devname))
return false;
if(!interface->startup())
return false;