Proper way to remove a USB storage device on 9.1?
Hello, I have a PNY USB memory device (256MB). Question is: when using default SuSE 9.1 subfs (I have run YOU so I may have updates but I haven't done any manual hacking), what is the proper way to remove the USB device - just pull it? This scares me a little bit because I _thought_ subfs was sort of like automount - thought it would automatically umount the device after a timeout. But it never does: I can wait for ages and the "mount" command will still show it to be mounted. On Windows after clicking the "Stop Device" menu the light on the USB drive goes out, but on Linux the light never stops shining. I have tried running 'umount /media/fancy-long-device-name' but that doesn't change anything (no errors but it doesn't seem to umount it either). Thanks. -- ---------------------------------------------------- Jonathan Wilson Cedar Creek Software http://www.cedarcreeksoftware.com
Jonathan Wilson wrote:
Hello,
I have a PNY USB memory device (256MB). Question is: when using default SuSE 9.1 subfs (I have run YOU so I may have updates but I haven't done any manual hacking), what is the proper way to remove the USB device - just pull it? This scares me a little bit because I _thought_ subfs was sort of like automount - thought it would automatically umount the device after a timeout. But it never does: I can wait for ages and the "mount" command will still show it to be mounted.
On Windows after clicking the "Stop Device" menu the light on the USB drive goes out, but on Linux the light never stops shining. I have tried running 'umount /media/fancy-long-device-name' but that doesn't change anything (no errors but it doesn't seem to umount it either).
I have yet to come up with any firm guidelines on this myself, so I usually just do a 'sync' to flush the file buffers and yank the drive. I have yet to encounter any file corruption doing this. HTH, Ken
On Monday 09 August 2004 2:47 pm, Jonathan Wilson wrote:
what is the proper way to remove the USB device - just pull it?
I'm kinda with Ken on this too. I have a 512mb USB and I just make sure everything is closed. Sometimes I'll unmount it manually. Both ways have worked so far. -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Mon, Aug 09, 2004 at 04:47:01PM -0500, Jonathan Wilson wrote:
Hello,
I have a PNY USB memory device (256MB). Question is: when using default SuSE 9.1 subfs (I have run YOU so I may have updates but I haven't done any manual hacking), what is the proper way to remove the USB device - just pull it?
Yes. If you noticed it's mounted with sync option, which means data is supposed to be written directly to the device.
This scares me a little bit because I _thought_ subfs was sort of like automount - thought it would automatically umount the device after a timeout. But it never does: I can wait for ages and the "mount" command will still show it to be mounted.
It does not unmount filesystem after idle time. It is supposed to ensure that data is written to the device in real time, without sitting in the buffers, which makes submountd less than efficient, IMHO.
On Windows after clicking the "Stop Device" menu the light on the USB drive goes out, but on Linux the light never stops shining. I have tried running 'umount /media/fancy-long-device-name' but that doesn't change anything (no errors but it doesn't seem to umount it either).
After 'umount /media/fancy-long-device-name' mount point /media/fancy-long-device-name should disappear from the list of mounted filesystems. Did you try running "mount" without parameters after "umount"? Regards, -Kastus
participants (4)
-
Jonathan Wilson
-
Kastus
-
Ken Hughes
-
Tom Nielsen