本文共 1641 字,大约阅读时间需要 5 分钟。
版本:
root@tp:~# lsb_release -aNo LSB modules are available.Distributor ID: DebianDescription: Debian GNU/Linux 7.1 (wheezy)Release: 7.1Codename: wheezyroot@tp:~# 当插上ntfs格式的u盘或者移动硬盘时,会报以下错误:Error mounting: mount exited with exit code 1: helper failed with:Unprivileged user can not mount NTFS block devices using the external FUSElibrary. Either mount the volume as root, or rebuild NTFS-3G with integratedFUSE support and make it setuid root. Please see more information athttp://tuxera.com/community/ntfs-3g-faq/#unprivileged查看/etc/fstab,发现最后关于sdb的那两条是装完系统后自动多出来的:root@tp:~# cat /etc/fstab# /etc/fstab: static file system information.## Use 'blkid' to print the universally unique identifier for a# device; this may be used with UUID= as a more robust way to name devices# that works even if disks are added and removed. See fstab(5).## <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda2 during installationUUID=d5c8be42-ecf9-4049-a08b-622d64450e50 / ext4 errors=remount-ro 0 1# /boot was on /dev/sda1 during installationUUID=9eba3fc1-593b-472f-9df3-5a83ad4ad305 /boot ext4 defaults 0 2# /home was on /dev/sda6 during installationUUID=8b4ba484-efaf-4b53-a1ca-c4d05bec2a11 /home ext4 defaults 0 2# /var was on /dev/sda3 during installationUUID=73233bde-f5a7-4e17-a89e-334068783159 /var ext4 defaults 0 2# swap was on /dev/sda5 during installationUUID=16c31b51-e3c3-43a2-ab5a-2321a4765853 none swap sw 0 0/dev/sdb1 /media/usb0 auto rw,user,noauto 0 0/dev/sdb2 /media/usb1 auto rw,user,noauto 0 0我是用u盘装的系统,但是系统装完后后面两条明显不需要了,删掉后,重新插拔就正常了。REF:1. problems with mounting external drive转载地址:http://cstai.baihongyu.com/