Closed communix closed 2 years ago
can't access file system if one file system is unmounted.
and block device unmount is not called in the fs.unmount function
fs.mount('/', bd1, 'lfs', true); fs.mount('/flash', bd2, 'lfs', true); fs.mount('/sd', bd3, 'lfs', true); fs.unmount('/flash'); files = fs.readdir("/"); // Error in this line
can't access file system if one file system is unmounted.
and block device unmount is not called in the fs.unmount function