挂载jffs2映像文件


[root@localhost linux-2.4]# mkdir /mnt/mtd
[root@localhost linux-2.4]# ls
blob  junk.jffs2  xscale_fs.jffs2  zImage
[root@localhost linux-2.4]# modprobe mtdblock
[root@localhost linux-2.4]# modprobe mtdram total_size=18432 erase_size=128  //两个参数的单位是 KB
[root@localhost linux-2.4]# dd if=xscale_fs.jffs2 of=/dev/mtdblock0
[root@localhost linux-2.4]# mount -t jffs2 /dev/mtdblock0 /mnt/mtd


<script>window._bd_share_config={"common":{"bdSnsKey":{},"bdText":"","bdMini":"2","bdMiniList":false,"bdPic":"","bdStyle":"0","bdSize":"16"},"share":{}};with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?v=89860593.js?cdnversion='+~(-new Date()/36e5)];</script>
阅读(471) | 评论(0) | 转发(5) |
0

上一篇:烧写BLOB KERNEL FS

下一篇:制作jffs2文件系统

给主人留下些什么吧!~~
评论热议
posted @ 2016-02-01 00:00  张同光  阅读(671)  评论(0编辑  收藏  举报