您的位置:首页 > 其它

“df: cannot read table of mounted file systems”.

2020-02-03 04:39 627 查看

“df: cannot read table of mounted file systems”.
“df -l” returned an error: “df: cannot read table of mounted file systems”. I looked at my “/etc/mtab” file – empty! I did a “fdisk -l” and saw my partitions there, then proceeded to create a new mtab from my /proc/mount:
grep -v rootfs /proc/mounts > /etc/mtab

当出现以上错误时,只要运行一下以上命令即可。
grep -v rootfs /proc/mounts > /etc/mtab

转载于:https://www.cnblogs.com/youjianjiangnan/p/10254303.html

  • 点赞
  • 收藏
  • 分享
  • 文章举报
站内首发文章 a970241850 发布了0 篇原创文章 · 获赞 0 · 访问量 684 私信 关注
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐