发现他们调试应用居然每次都要重新烧写cramfs根文件系统!

     虽然cramfs文件系统是不可写文件系统,但是完全可以用NFS 来mount 其上面的目录。  为什么

不用nfs来调试呢?可以省去烧录的时间。   

   

      此外,在试图不重新编译内核,就把cramfs根文件系统改成nfs 根文件系统的时候,发现一个有趣的现象:

                    在pc上 , mount  -o loop  xxx.cramfs   /rootfs

                    在开发板上, mount   192.168.x.x:/rootfs  /root/temp1111

       结果发现mount失败!! 查了一下,发现redhat   NFS EXPORT不支持 cramfs   :-( ,不知是redhat版本太老还是NFS不支持。

On Monday April 29, dmason sarg ryerson ca wrote:
> Sorry this is off-topic, but I'm scrambling to get this system in,
> google didn't help, and I'm sure someone on this list knows the answer
> cold.
>
> I'm trying to nfs-export a tmpfs disk.  I saw a hint from a response
> about ram disks... which leads to my guess that tmpfs simply doesn't
> implement some method that nfsd needs.
>
> I can probably survive without tmpfs, but I'd like to know if I'm just
> missing something.

Nop, you're not missing anything.  tmpfs doesn't support nfs
exporting.  Maybe later in 2.5...

NeilBrown

       幸好我有制作cramfs的原始文件, 将其拷贝到/rootfs下, 然后再mount, 成功。然后 chroot  /root/temp1111   , OK. 

       

 

 

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值