`
fsword
  • 浏览: 165237 次
  • 性别: Icon_minigender_1
  • 来自: 杭州
社区版块
存档分类
最新评论

普通用户不能挂载磁盘分区的错误

阅读更多
表现为能够mount,但是不能umount
bash 代码
  1. $ umount /media/other  
  2. umount: /media/other mount disagrees with the fstab  


检查fstab文件:
文件内容
 
  1. # /dev/sda7  
  2. UUID=c2181b73-0e36-4fba-8f53-9538ab09703b /media/other   jfs   user,rw  0       1  


看不出错误。于是google之,居然是user mount不支持uuid,改为
文件内容
 
  1. /dev/sda7 /media/other     jfs   user,rw,noexec,nosuid,nodev  0       1  

就好了

虽然搞定,还是有些郁闷,难道是用户空间不能读取UUID,那也太土了吧
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics