External drives show up in Nautilus/Computer even when they are unplugged.

Posted by Testament on Super User See other posts from Super User or by Testament
Published on 2010-04-20T16:59:39Z Indexed on 2010/04/20 19:43 UTC
Read the original article Hit count: 193

Filed under:

I have two 1TB Seagate USB (sdc1 and sdd1) drives connected to an old PC running Fedora 11 without an X server running.

Since sdc1 and sdd1 change depending on the order in which they are plugged in, I decided to mount them using their UUID instead.

These are my fstab entries

UUID=d1b28578-451b-4f03-af28-2e8a6d5b7efb /media/Seagate ext3 defaults,rw,auto,users UUID=36bf5df4-934e-42d4-9e25-16a13971509c /media/Projects ext3 defaults,rw,auto,users

They work fine, but when I unmount them and unplug the USB drives, they still show up in Nautilus (I'm running nautilus with X11 forwarding to an Ubuntu machine, btw).

Now if I remove those entries from fstab, the drives disappear from Computer. If I add the entries back, they show up as an unmounted drive even when the drive is not plugged in. How do I do this so they don't show up when they're not plugged in?

© Super User or respective owner

External drives show up in Nautilus/Computer even when they are unplugged.

Posted by Testament on Server Fault See other posts from Server Fault or by Testament
Published on 2010-04-20T16:59:39Z Indexed on 2010/04/20 17:03 UTC
Read the original article Hit count: 192

Filed under:

I have two 1TB Seagate USB (sdc1 and sdd1) drives connected to an old PC without an X server running.

Since sdc1 and sdd1 change depending on the order in which they are plugged in, I decided to mount them using their UUID instead.

These are my fstab entries

UUID=d1b28578-451b-4f03-af28-2e8a6d5b7efb /media/Seagate ext3 defaults,rw,auto,users UUID=36bf5df4-934e-42d4-9e25-16a13971509c /media/Projects ext3 defaults,rw,auto,users

They work fine, but when I unmount them and unplug the USB drives, they still show up in Nautilus (I'm running nautilus with X11 forwarding onto another Ubuntu machine, btw).

Now if I remove those entries from fstab, the drives disappear from Computer. If I add the entries back, they show up as an unmounted drive even when the drive is not plugged in. How do I do this so they don't show up when they're not plugged in?

© Server Fault or respective owner

Related posts about fstab