tantan的博客

Notes, ideas, and observations

以下参考 Core on-disk format

EROFS 硬盘布局由Super block + inode区 + data区三部分组成。

#代码仓库

  • EROFS 内核驱动仓库: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
  • erofs-utils 仓库: https://github.com/erofs/erofs-utils
  • 其他相关项目: https://github.com/erofs

#软链接更新

ln有个-f,--force更新链接,再也不用rm再重建了。

#erofs in-tree 驱动

in-tree 的代码也是模块的形式,以 module_init 开始

Jaro-Winkler similarity 是由 Matthew A. Jaro 在 1989 年提出,William E. Winkler 在 1990 年又进行了改进的算法,用于评估两个序列之间的编辑距离。

对于字符串s1s1s2s2,Jaro 相似度的计算公式为:

0%