USB drive unmount

Richard Doyle rdoyle at islandnetworks.com
Tue Aug 7 02:34:47 BST 2007


Local USB drives mount nicely on Edubuntu 7.04 thin clients. Plug it in,
it shows up on the desktop, you can read and write files. All good, but
I can't find any way to for a local, ordinary, user to unmount the
device.

Right-clicking the new icon on the desktop doesn't offer an unmount
option. That's a bit surprising. Open the device, and the File menu
offers an "Unmount Volume" option, which is more promising, but it
errors:
	
	Unable to unmount the selected volume.

	umount:/media/test/KINGSTON is not in 
	the fstab (and you are not root)

("test" is the user's name, KINGSTON is apparently the detected name of
the USB drive).

/media/test/KINGSTON is, indeed, not in the client's fstab, nor in
matab, or the server's fstab. It is in the server's /etc/mtab. The
client's fstab instead contains:

	/dev/sda1 /var/run/drives/KINGSTON vfat defaults 0 0

but running "sudo umount /var/run/drives/KINGSTON" on the console gives
a "not mounted error".

What does work is running "sudo umount /media/test/KINGSTON" from the
server.

How do your ordinary users unmount local USB drives?

-Richard





More information about the edubuntu-users mailing list