zoukankan      html  css  js  c++  java
  • Mount nfs 报错Protocol not supported

     mount 192.168.10.53:/srv/2416rootfs4.2.2 /mnt

    文件系统采用busybox-1.2.1,主机配置好nfs后,可以通过nfs挂载nfs根文件系统,但进入系统后,再mount一个个文件夹,就说mount failed,出现protocol not supported 的错误。
    直接进入目标板上的文件系统,然后再mount,也出现这样的问题。

    奇怪的是明明nfs没有问题,因为可以mount nfs根文件系统,但直接执行mount挂载文件夹,就不行,请问这是什么问题呢?以前从没遇到这样的事,是因为busybox的问题?

    问题已解决,内核没有配置好,需要选择以下选项:
    kernel配置
    network filesystem->

  • Enable NFS file system
  • NFS client support
  • NFSV3 client support

    还有就是busybox中的mount要支持nfs
查看全文
  • 相关阅读:
    1061 Dating (20 分)
    1042 Shuffling Machine (20 分)简单模拟
    1132 Cut Integer (20 分)
    1100 Mars Numbers (20 分)
    1077 Kuchiguse (20 分)求字符串最长相同后缀
    1065 A+B and C (64bit) (20 分)大数 溢出
    1107 Social Clusters (30 分)并查集
    1079 Total Sales of Supply Chain (25 分)
    1078 Hashing (25 分)
    1063 Set Similarity (25 分)
  • 原文地址:https://www.cnblogs.com/leaven/p/1986840.html
  • Copyright © 2011-2022 走看看