Skip to content

Commit cde8000

Browse files
authored
Merge pull request adafruit#1948 from cpforbes/issue1937
Create a /lib directory when creating the filesystem.
2 parents 6d388a3 + 99bcb4e commit cde8000

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

supervisor/shared/filesystem.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ void filesystem_init(bool create_allowed, bool force_create) {
9999
make_empty_file(&vfs_fat->fatfs, "/.Trashes");
100100
make_empty_file(&vfs_fat->fatfs, "/.fseventsd/no_log");
101101

102+
// create empty lib directory
103+
f_mkdir(&vfs_fat->fatfs, "/lib");
104+
102105
// and ensure everything is flushed
103106
supervisor_flash_flush();
104107
} else if (res != FR_OK) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy