fsck.erofs: support --extract=X like fsck.cramfs to extract to path X
Igor Eisberg
igoreisberg at gmail.com
Fri Dec 10 11:48:30 AEDT 2021
* Extracts dirs, regular files and symlinks (overwrite enabled with a
erofs_warn, mainly for use with WSL, in case certain files in img exist in
different letter cases under the same dir, i.e. "path/to/file/alarm" and
"path/to/file/Alarm").
* Raw and compressed data chunks are handled with a unified function to
avoid repeats, compressed data is verified lineary
(with EROFS_GET_BLOCKS_FIEMAP) instead of lookback, as it's problematic to
extract data when looping backwards.
* Also refactored some function names and strings for consistency.
Please let me know if anything has to be changed.
Best regards to Mr. Xiang!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20211210/8dcf52ad/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: erofs-utils-fsck.patch
Type: application/octet-stream
Size: 21315 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linux-erofs/attachments/20211210/8dcf52ad/attachment.obj>
More information about the Linux-erofs
mailing list