Help unmounting USB stick

Peter Garrett peter.garrett at optusnet.com.au
Wed Apr 5 19:15:47 UTC 2006


On Wed, 05 Apr 2006 19:45:53 +0100
Daniel Carrera <daniel.carrera at zmsl.com> wrote:

> Peter Garrett wrote:
> >>I'm having trouble mounting/unmounting my USB stick. This is what happened:
> [snip]
> > 
> > When you connect the stick, run 
> > 
> > tail -f /var/log/messages
> 
> I checked, nothing happens. No new messages. I put the stick in and 
> nothing. I navigate to "Comuputer" and click on it and nothing (a window 
> says "Opening <USB stick name>" and just stays there, and no new 
> messages appear in /var/log/messages). I right-click > Mount and 
> nothing. I navigate to /media/usbdisk and nothing (though the mouse 
> button changes to the pointing finger, just as if it were loading a 
> directory, but it never loads). In all cases, nothing happens in 
> /var/log/messages.
> 
> :(
> 
> > It does seem odd that it isn't putting an icon on the desktop.
> 
> Is there a way to "force" a umount?

Try these:

pumount /dev/sda1

then there's 

eject /dev/sda1

Also, you might get better info by running  dmesg | tail after plugging t
he device in (it should tell you the device - for instance "sda" )

There is a way to "force" a umount but it's kind of messy

umount -l   (so called lazy umount)

In general for USB storage devices you would use pmount/ pumount

Peter

-- 

Linux User #343161 




More information about the ubuntu-users mailing list