diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c index f6ade7cbba..2eff0b47aa 100644 --- a/supervisor/shared/filesystem.c +++ b/supervisor/shared/filesystem.c @@ -122,6 +122,7 @@ bool filesystem_init(bool create_allowed, bool force_create) { return false; } + #if CIRCUITPY_USB // inhibit file indexing on MacOS res = f_mkdir(&vfs_fat->fatfs, "/.fseventsd"); if (res != FR_OK) { @@ -134,7 +135,7 @@ bool filesystem_init(bool create_allowed, bool force_create) { make_empty_file(&vfs_fat->fatfs, "/.Trashes"); // MacOS make_empty_file(&vfs_fat->fatfs, "/.Trash-1000"); // Linux, XDG trash spec: // https://specifications.freedesktop.org/trash-spec/trashspec-latest.html - + #endif #if CIRCUITPY_OS_GETENV make_empty_file(&vfs_fat->fatfs, "/settings.toml");