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
相关推荐
晚风予卿云月4 分钟前
【C++高并发内存池】 1.定长内存池的实现
开发语言·c++·内存管理
devilnumber26 分钟前
Lambda 表达式(Java)优缺点清晰分析
java·开发语言·python
开开心心就好1 小时前
电脑小说阅读器,支持朗读和自定义皮肤
服务器·开发语言·javascript·算法·pdf·c#·音视频
Smoothcloud润云1 小时前
GPU远程纳管节点频繁离线?心跳、DNS与时钟排障实战
运维·服务器·开发语言·人工智能·php·gpu算力
class心平气和1 小时前
ADB 工具函数 Python 使用教程
开发语言·python·adb
滕州市燕猫虎计算机科技工作室个体工商户1 小时前
Java,Java NIO,Java NIO2,Java AIO,AsynchronousServerSocketChannel
java·开发语言·nio·aio·nio2
古城小栈2 小时前
Rust 学习路线,供初学者参考
开发语言·rust
喵了几个咪2 小时前
GoWind CMS 拆解:给 NL2SQL 上四把锁——智能问数的安全边界
开发语言·后端·安全·微服务·golang·gowind
多弗朗皮卡丘2 小时前
C++的类型转换
开发语言·c++
FLJwu2 小时前
运动相机图像传感器选型实战|第二篇:参数看着一模一样,为什么骑行录像疯狂果冻、拖影翻车?
android·c语言·开发语言·数码相机·运动相机·oem 量产