Change default filesystem name to /default

"/fs" is a tautology - not a good name for the default filing system, as
whereever we use it, we know we're specifying a filing system. Rename to
"/default".
pull/7924/head
Kevin Bracey 2018-09-04 11:45:58 +03:00
parent a67f09851b
commit fd4b3879be
2 changed files with 199 additions and 199 deletions

File diff suppressed because it is too large Load Diff

View File

@ -80,13 +80,13 @@ MBED_WEAK FileSystem *FileSystem::get_default_instance()
{ {
#if COMPONENT_SPIF || COMPONENT_DATAFLASH #if COMPONENT_SPIF || COMPONENT_DATAFLASH
static LittleFileSystem default_fs("fs", BlockDevice::get_default_instance()); static LittleFileSystem default_fs("default", BlockDevice::get_default_instance());
return &default_fs; return &default_fs;
#elif COMPONENT_SD #elif COMPONENT_SD
static FATFileSystem default_fs("fs", BlockDevice::get_default_instance()); static FATFileSystem default_fs("default", BlockDevice::get_default_instance());
return &default_fs; return &default_fs;