在linux mount ubifs
tango3[~]# cat /sys/class/misc/ubi_ctrl/dev
10:62
tango3[~]# mknod /dev/ubi_ctrl c 10 62 (如果没有的话)
./ubiattach /dev/ubi_ctrl -m 1
./ubinfo /dev/ubi0_0
./ubinfo /dev/ubi0_1
./ubinfo /dev/ubi0_2
./ubimkvol /dev/ubi0 -m -N rootfs //在ubi device 上面create volume
./ubiupdatevol /dev/ubi0_3 /ubifs.img //把ubi volume image写到volume上面
mount ubifs 的三种格式:
mount -t ubifs ubi0_3 /mnt/
mount -t ubifs ubi:rootfs /mnt/
mount -t ubifs ubi:rootfs /mnt
阅读(1454) | 评论(0) | 转发(0) |