You are not logged in.

#1 2008-11-24 21:33:02

lordxenu
Member
From: Easley, SC
Registered: 2008-11-24
Posts: 12

Linux doesn't dismount my USB drives properly.

I'm not sure if it's gnome or hal or dbus so bear with me.


But whenever I plug in my flash drive, it mounts properly, letting me access and read files, and generally use it the way it should.

However, if I disconnect it without unmounting it first, it doesn't disappear, the device still appears as connected, except you can't unmount it.
If you reconnect the flash drive, it doesn't just reconnect, it registers as an entirely new device.

I can't seem to figure out why it's doing this, so any help would be great, I'm not sure what direction to go into in the system, and all the threads I could find on my problem in the forums seem to have part of my problem, and something entirely new that isn't related to my problem at all, so I'm not sure what to try.


Desktop Specs:  Vista Ultimate 64-bit & Arch 64
     --CPU: Core 2 Duo E8400 @ 4.0ghz  --RAM: 4GB G.Skill DDR2-800  --GPU: ATi Radeon HD 4870
     --HDD: 2 250GB Seagate Barracudas in RAID 0, 500GB eSATA external  --Sound: Razer Barracuda AC-1
Laptop Specs:  Dell Vostro 1500 with Arch 64, Core 2 Duo T5470, 2GB of ram, 160GB HDD, 8600m GT 256MB

Offline

#2 2008-11-24 21:48:41

schuay
Package Maintainer (PM)
From: Austria
Registered: 2008-08-19
Posts: 564

Re: Linux doesn't dismount my USB drives properly.

have you tried unmounting the device before unplugging it? smile

unplugging a mounted device has a risk of corrupting the drive + the sideeffects you've seen.

Last edited by schuay (2008-11-24 21:50:02)

Offline

#3 2008-11-24 22:04:54

lordxenu
Member
From: Easley, SC
Registered: 2008-11-24
Posts: 12

Re: Linux doesn't dismount my USB drives properly.

Yeah, that works fine, however most other distros I use don't act the same way, they just clean it up and unmount it on disconnect, I don't have to right click and unmount.

I'm not really writing to it or anything, so it hasn't hurt the drive, but I understand what you mean, most of my teachers drilled it into our heads when using windows that yanking the usb drive can hurt it.

I guess I just want it to behave like ubuntu, however I don't know how they do it so I can't necessarily carry that idea to Arch.


Desktop Specs:  Vista Ultimate 64-bit & Arch 64
     --CPU: Core 2 Duo E8400 @ 4.0ghz  --RAM: 4GB G.Skill DDR2-800  --GPU: ATi Radeon HD 4870
     --HDD: 2 250GB Seagate Barracudas in RAID 0, 500GB eSATA external  --Sound: Razer Barracuda AC-1
Laptop Specs:  Dell Vostro 1500 with Arch 64, Core 2 Duo T5470, 2GB of ram, 160GB HDD, 8600m GT 256MB

Offline

#4 2008-11-24 22:07:49

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Linux doesn't dismount my USB drives properly.

You might be interested in the solution suggested by lanrat in this thread: http://bbs.archlinux.org/viewtopic.php?id=46944

Offline

#5 2008-11-25 22:00:34

iBertus
Member
From: Greenville, NC
Registered: 2004-11-04
Posts: 2,228

Re: Linux doesn't dismount my USB drives properly.

You can use the lazy unmount option from the CLI to remove the leftover device. I'd say just to unmount them before yanking, but hey.

Offline

#6 2008-11-25 23:49:00

lordxenu
Member
From: Easley, SC
Registered: 2008-11-24
Posts: 12

Re: Linux doesn't dismount my USB drives properly.

iBertus wrote:

You can use the lazy unmount option from the CLI to remove the leftover device. I'd say just to unmount them before yanking, but hey.

Interesting, it might not be so bad now that I know how to get rid of the icon.

I'm just used to the windows/ubuntu way of handling usb drives, it's just sort of annoying that the icon doesn't go away and it duplicates my drive pretty much when I reconnect it.

Thanks big_smile


Desktop Specs:  Vista Ultimate 64-bit & Arch 64
     --CPU: Core 2 Duo E8400 @ 4.0ghz  --RAM: 4GB G.Skill DDR2-800  --GPU: ATi Radeon HD 4870
     --HDD: 2 250GB Seagate Barracudas in RAID 0, 500GB eSATA external  --Sound: Razer Barracuda AC-1
Laptop Specs:  Dell Vostro 1500 with Arch 64, Core 2 Duo T5470, 2GB of ram, 160GB HDD, 8600m GT 256MB

Offline

#7 2008-11-26 09:50:44

xaiviax
Member
From: Michigan
Registered: 2008-11-04
Posts: 282

Re: Linux doesn't dismount my USB drives properly.

Thanks to the OP for the post and everyone for the responses, I've learned alot from this.

Offline

Board footer

Powered by FluxBB