Comment 19 for bug 230671

Revision history for this message
ethanay (ethan-y-us) wrote : Re: Mounts external USB hard drive in a different point after resuming sleep

try the following:

# sudo umount /media/[mount point]

for example
# sudo umount /media/disk1

that should unmount, which removes the drive icon from the desktop. it's then "safe" to disconnect the drive. however, the mount point folder in /media (e.g., "/media/disk") will still be there and unusable. so it is save to remove that directory by using

# sudo rmdir /media/disk[x]

where [x] is the folder if there are multiple media devices connected. if there was only one device connected, it should be just /media/disk

the next time you plug the media in, it should auto mount normally.