标签 erofs 下的文章

转:EROFS ztailpacking 特性实现详解

EROFS ztailpacking 是 Linux kernel 5.17 合入的一个新特性,它完成了 tail-packing inline 对压缩文件的支持,从而节省更多空间提升性能。这篇文章主要介绍此特性的实现过程,包括 mkfs 侧 和 Kernel 侧。阅读全文

EROFS on-disk compact index 生成分析

compact index是EROFS默认使用的压缩布局,内核提交描述如下: staging: erofs: add compacted ondisk compression indexes This patch introduces new compacted compression indexes. In contract to legacy...阅读全文

分析erofs-utils canned fs_config查找失败问题

H的erofs已经支持Android,QC/droid 10下生成镜像有如下错误:failed to find [app] in canned fs_configcode在system/core/libcutils/canned_fs_config.cpp:void canned_fs_config(const char* path, int dir, const cha...阅读全文

如何制作和挂载erofs格式vendor镜像

Android P环境,mkfs.erofs is required firstly. Let's build vendor.img with erofs format.build process for vendor with ext4看下vendor image with ext4过程:core/main.mk:1111:vendorimage: $(INSTALLE...阅读全文

erofs代码分析: on-disk inode layout

参考staging erofs,on-disk inode layout相关实现是erofs_fs.h + super.c + inode.c。data mappings先看文档介绍:- Metadata & data could be mixed by design;Different from other read-only file systems, an EROF...阅读全文