dc1fd4df73
Mounting a bdev directly tries to auto-detect the filesystem and if none is found an OSError(19,) should be raised. The fourth parameter of readblocks() and writeblocks() must be optional to support ports with MICROPY_VFS_FAT=1. Otherwise mounting a bdev may fail because looking for a FATFS will call readblocks() with only 3 parameters.
17 lines
248 B
Plaintext
17 lines
248 B
Plaintext
test <class 'VfsLfs1'>
|
|
OSError(19,)
|
|
hello from lfs
|
|
package
|
|
hello from lfs
|
|
lfsmod2.py: print("hello from lfs")
|
|
|
|
OSError(30,)
|
|
test <class 'VfsLfs2'>
|
|
OSError(19,)
|
|
hello from lfs
|
|
package
|
|
hello from lfs
|
|
lfsmod2.py: print("hello from lfs")
|
|
|
|
OSError(36,)
|