Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Sometimes, a USB drive (or equivalent) that I have plugged in to my machine gets unmounted. Now, I know I could unplug it and plug it back in to remount it, but is it possible to easily do it from within the system?

For me, "easily" means "without using sudo" and without having to set up any special files, permissions, groups, or directories. It happens infrequently enough that things like that would be overkill. But somehow having to unplug and replug the drive in seems ... not quite right, somehow.

I'm using Debian Squeeze with Gnome, in case that makes a difference.

share|improve this question
    
Maybe I don't understand, but Nautilus will give you what you want. –  Tshepang Jun 24 '11 at 19:01
1  
@Tshepang: The device disappears from Nautilus completely. It's as if it has been unplugged, except that it hasn't. –  Loop Space Jun 24 '11 at 20:08

2 Answers 2

Have a look at gnome-disk-utility. I provides a tool named palimpsest which allows you to see all storage devices.

Here's what mine looks like:

enter image description here

share|improve this answer
    
That looks very useful. I didn't know that that existed (just tracked it down through the menus). I'll take a look and see if that fixes it. –  Loop Space Jun 24 '11 at 20:26
1  
Is there any way to accomplish the same thing as this "Mount volume" from the command line, without opening this utility? –  jrdioko Jan 21 '12 at 4:43
    
@jrdioko there ought to be; I suggested this as it's damn easy to use, without the need to read a manual –  Tshepang Jan 23 '12 at 9:05
    
Coming back to this after a bit ... I just had occasion to try this over an ssh -X connection (so I couldn't physically remove and re-insert the drive) and whilst it could see the drive, clicking on Mount volume didn't work. –  Loop Space Mar 25 '12 at 9:46

You could take a look at pmount this is a special version of mount for USB devices :)

share|improve this answer
    
Cool utility, however it doesn't re-mount exactly the same as it would by unplugging and replugging (in my case, (rw,nosuid,nodev,uhelper=udisks) vs. (rw,noexec,nosuid,nodev,errors=remount-ro)) –  jrdioko Jan 21 '12 at 4:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.