版本:
root@tp:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 7.1 (wheezy)
Release: 7.1
Codename: wheezy
root@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 FUSE
library. Either mount the volume as root, or rebuild NTFS-3G with integrated
FUSE support and make it setuid root. Please see more information at
http://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 installation
UUID=d5c8be42-ecf9-4049-a08b-622d64450e50 /               ext4    errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=9eba3fc1-593b-472f-9df3-5a83ad4ad305 /boot           ext4    defaults        0       2
# /home was on /dev/sda6 during installation
UUID=8b4ba484-efaf-4b53-a1ca-c4d05bec2a11 /home           ext4    defaults        0       2
# /var was on /dev/sda3 during installation
UUID=73233bde-f5a7-4e17-a89e-334068783159 /var            ext4    defaults        0       2
# swap was on /dev/sda5 during installation
UUID=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://forums.debian.net/viewtopic.php?p=492527

Logo

更多推荐