UBI文件系统介绍 & ubi image制作及加载

下文中前面五个章节是介绍UBI相关的知识点,在第六章会详细介绍UBI image相关的操作。包括从UBI image解压,UBI Image 挂在等。

1. Raw flash 和 FTL devices 的区别

在很早以前Linux系统里有一个专门的FTL软件,用来抽象存储设备成为块设备(块设备的定义在下面)。但在现今的很多存储设备里FTL这个功能已经通过硬件实现了,且集成在了存储设备里,这样在liux看来带FTL的设备都是块设备。
块设备:whole device is represented as an linear array of (usually 512-byte) blocks. Each block may be read or written.

虽然大多数存储设备里都有FTL了,但是还是有一些厂家出于各种各样的原因在继续使用raw flash。 they have tighter constraints and more issues than block devices. In case of FTL devices these constraints and issues are hidden, but in case of raw flash the software has to deal with them.

UBIFS file system就是为了faw flash设备设计的,it assumes the device has eraseblocks。 UBIFS takes care of writing all data out-of-place, doing garbage-collection and so on. UBIFS utilizes UBI, which is doing stuff like wear-leveling and bad erase

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

yiqingyang2012

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值