anjiahao1 opened a new pull request, #10804:
URL: https://github.com/apache/nuttx/pull/10804

   ## Summary
   we can mount a zipfile in nuttx use mount command like this:
   
   mount -t zipfs -o /data/test.zip /zip
   
   The zipfs is a read only file system,The advantage is that it does not 
occupy additional space when reading the decompressed file.
   
   When used, reading and decompression operations are simultaneous. The known 
disadvantage is that when using seek to read forward, it will reopen and cause 
slow speed problems.
   ## Impact
   fs
   ## Testing
   ```
   ./tools/configure.sh sim:zipfs
   ./nuttx
   nsh> mount -t hostfs -o /home/ajh/work /host
   nsh> mount -t zipfs -o /home/ajh/work/test.zip /zip
   nsh> ls /zip
   nsh> ls /zip
   /zip:
    a/1
    a/2
   nsh> cat /zip/a/1
   this is zipfs test 1
   nsh> cat /zip/a/2
   this is zipfs test 2
   ```
   
   
![image](https://github.com/apache/nuttx/assets/75056955/ca8cd6fa-37f9-44fd-a5bb-94f7c108c274)
   sikp the error
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to