fe7f405fc7
These allow accessing the filesystem label. For instance, in boot.py, you can set the label on the built-in storage with: storage.remount('/', False) storage.getmount('/').label = "NEWLABEL" storage.remount('/', True) Users with multiple CIRCUITPY boards may find it desirable to choose a different label for each board they own.
18 lines
316 B
Plaintext
18 lines
316 B
Plaintext
True
|
|
True
|
|
label: LABEL TEST
|
|
statvfs: (512, 512, 16, 16, 16, 0, 0, 0, 0, 255)
|
|
getcwd: /
|
|
True
|
|
[('foo_file.txt', 32768, 0)]
|
|
stat root: (16384, 0, 0, 0, 0, 0, 0, 0, 0, 0)
|
|
stat file: (32768, 0, 0, 0, 0, 0, 6)
|
|
True
|
|
True
|
|
getcwd: /foo_dir
|
|
[]
|
|
True
|
|
getcwd: /
|
|
[(b'foo_file.txt', 32768, 0), (b'foo_dir', 16384, 0)]
|
|
ENOENT: True
|