0

我没有正确卸载我安装的新外部磁盘,如下所示:

jeremy@jr:~$ sudo mount -t exfat /dev/sdc1 /home/jeremy/exfat
FUSE exfat 1.2.3

现在我被困住了-

jeremy@jr:~$ df -h
df: /home/jeremy/exfat: Transport endpoint is not connected
Filesystem      Size  Used Avail Use% Mounted on
udev            3.8G     0  3.8G   0% /dev
tmpfs           765M  9.5M  756M   2% /run
/dev/sda1       213G  200G  2.1G 100% /
tmpfs           3.8G  165M  3.6G   5% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           3.8G     0  3.8G   0% /sys/fs/cgroup
cgmfs           100K     0  100K   0% /run/cgmanager/fs
tmpfs           765M  116K  765M   1% /run/user/1000

我不能前进(安装)或后退(卸载)-

jeremy@jr:~$ sudo mount -t exfat /dev/sdc1 /home/jeremy/exfat
FUSE exfat 1.2.3
fuse: failed to access mountpoint /home/jeremy/exfat: Transport endpoint is not connected

mtab 文件看起来像

jeremy@jr:~$ more /etc/mtab
....
/dev/sdb1 /home/jeremy/exfat fuseblk rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other,blksize=4096 0 0

我对事物的原始掌握使我尝试:

jeremy@jr:~$ ls /mnt
sdb1
jeremy@jr:~$ umount /mnt
umount: /mnt: not mounted
jeremy@jr:~$ umount /mnt/sdb1
umount: /mnt/sdb1: not mounted
jeremy@jr:~$ umount /home/jeremy/exfat 
umount: /home/jeremy/exfat: Transport endpoint is not connected

因为磁盘现在出现在 /sdc1 后我徒劳地拔掉/重新插入它希望这会清除 /etc/mtab 我试过的条目:

jeremy@jr:~$ sudo mount -t exfat /dev/sdc1 /home/jeremy/exfat
FUSE exfat 1.2.3
fuse: failed to access mountpoint /home/jeremy/exfat: Transport endpoint is not connected

是的 - 这比交配狗更糟糕

4

1 回答 1

0
sudo umount -f /home/jeremy/exfat

似乎已经成功了,从操作系统而不是“未安装”向那个方向暗示会很棒

于 2017-01-31T17:20:58.270 回答