ubi文件系统挂载

ubi官方文档

kernel配置

配置linux内核选上

1)Device Drivers --->Memory Technology Device (MTD) support --->UBI - Unsorted blockimages --->Enable UBI

2)File systems --->Miscellaneous filesystems --->UBIFS file system support

第二条的内核配置打印输出如下:

UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 1117
UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "program"
UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
UBIFS (ubi0:0): FS size: 93073408 bytes (88 MiB, 733 LEBs), journal size 4698112 bytes (4 MiB, 37 LEBs)
UBIFS (ubi0:0): reserved for root: 4396086 bytes (4293 KiB)
UBIFS (ubi0:0): media format: w5/r0 (latest is w5/r0), UUID 9CF794A9-B195-465A-BAA8-21DA249026D3, small LPT model

在此之前一直挂载不上,没有提示错误一直以为内核已经给配置好,少配置了第二项

######start app####

mount ubifs
ubi0: attaching mtd3
ubi0: scanning is finished
ubi0: attached mtd3 (name "app_filesystem", size 100 MiB)
ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
ubi0: good PEBs: 800, bad PEBs: 0, corrupted PEBs: 0
ubi0: user volume: 2, internal volumes: 1, max. volumes count: 128
ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 78507198
ubi0: available PEBs: 11, total reserved PEBs: 789, PEBs reserved for bad PEB handling: 40
ubi0: background thread "ubi_bgt0d" started, PID 1113
相关推荐
不爱学习的小枫18 分钟前
scala的集合
开发语言·scala
梦醒沉醉18 分钟前
Scala的初步使用
开发语言·后端·scala
小白学大数据24 分钟前
Fuel 爬虫:Scala 中的图片数据采集与分析
开发语言·爬虫·scala
贩卖纯净水.38 分钟前
《React 属性与状态江湖:从验证到表单受控的实战探险》
开发语言·前端·javascript·react.js
JouJz42 分钟前
Java基础系列:深入解析反射机制与代理模式及避坑指南
java·开发语言·代理模式
白羊不吃白菜1 小时前
PAT乙级(1101 B是A的多少倍)C语言解析
c语言·开发语言
一号言安1 小时前
牛客python蓝桥杯11-32(自用)
开发语言·python
鸽鸽程序猿1 小时前
【JavaEE】SpringIoC与SpringDI
java·开发语言·java-ee
maybe啊2 小时前
js 使用 Web Workers 来实现一个精确的倒计时,即使ios手机锁屏或页面进入后台,倒计时也不会暂停。
开发语言·前端·javascript
Ljw...2 小时前
序列化和反序列化(Linux)
linux·开发语言·网络·c++·tcp/ip·序列化反序列化