When I plug in my USB Flash Disk, the Removable USB Media icon shows up on my desktop (KDE) and everything is ok. But when I right-click the icon there is no option to eject it as with a cdrom. I'm assuming that it isn't safe to just pull it out. Am I missing something here? -Mardy
On Tuesday 21 June 2005 11:24 am, Marden P. Marshall wrote:
When I plug in my USB Flash Disk, the Removable USB Media icon shows up on my desktop (KDE) and everything is ok. But when I right-click the icon there is no option to eject it as with a cdrom. I'm assuming that it isn't safe to just pull it out. Am I missing something here?
Yep, bad assumption. Just pull the thing out and keep going. I've been doing that for the last couple of years and have yet to have a problem with one of the things. It has something to do with the difference between the way win and linux do cacheing of the write stuff. Apparently linux writes immediately so nothing is lost, so long as you dont pull it out during a write and that is easy to tell, look at the LED first. Richard
On 6/21/05, Richard Atcheson <ratcheson@earthlink.net> wrote:
On Tuesday 21 June 2005 11:24 am, Marden P. Marshall wrote:
When I plug in my USB Flash Disk, the Removable USB Media icon shows up on my desktop (KDE) and everything is ok. But when I right-click the icon there is no option to eject it as with a cdrom. I'm assuming that it isn't safe to just pull it out. Am I missing something here?
Yep, bad assumption. Just pull the thing out and keep going. I've been doing that for the last couple of years and have yet to have a problem with one of the things. It has something to do with the difference between the way win and linux do cacheing of the write stuff. Apparently linux writes immediately so nothing is lost, so long as you dont pull it out during a write and that is easy to tell, look at the LED first. Richard
Is this irrespective of the desktop manager used? I use XFCE 4. suseplugger seems to find my usb stick and mounts it (i am logged as normal user) but i do not see anything to be done to umount it. so i am just pulling it out too. nothing lost yet and till this post came along did not think it was risky. thanks for the clarification Richard. Ganesh
On 6/21/05, Ganeshram Iyer wrote:
On 6/21/05, Richard Atcheson wrote:
On Tuesday 21 June 2005 11:24 am, Marden P. Marshall wrote:
When I plug in my USB Flash Disk, the Removable USB Media icon shows up on my desktop (KDE) and everything is ok. But when I right-click the icon there is no option to eject it as with a cdrom. I'm assuming that it isn't safe to just pull it out. Am I missing something here?
Yep, bad assumption. Just pull the thing out and keep going. I've been doing that for the last couple of years and have yet to have a problem with one of the things. It has something to do with the difference between the way win and linux do cacheing of the write stuff. Apparently linux writes immediately so nothing is lost, so long as you dont pull it out during a write and that is easy to tell, look at the LED first. Richard
Is this irrespective of the desktop manager used? I use XFCE 4. suseplugger seems to find my usb stick and mounts it (i am logged as normal user) but i do not see anything to be done to umount it. so i am just pulling it out too. nothing lost yet and till this post came along did not think it was risky. thanks for the clarification Richard. Ganesh
It is a characteristic of the mount options used. Do a "mount" with no args to see what args your usb device was mounted with. If the sync option is present, then at a very low-level write() calls block until the data is actually on the device. If the sync option is missing, then write() simply places the data in a kernel cache and you need to either umount the device, or run "sync" by hand. FYI: The SuSE automounter has been using the sync option at least since 9.2 Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
Taken from my SuSE 9.3 system: /dev/sda1 on /media/usbdisk type subfs (rw,nosuid,nodev,sync,fs=floppyfss,procuid) Sync is being specified. So it appears to be safe to just yank it! -Mardy On Tue, 2005-06-21 at 15:20 -0400, Greg Freemyer wrote:
On 6/21/05, Ganeshram Iyer wrote:
On 6/21/05, Richard Atcheson wrote:
On Tuesday 21 June 2005 11:24 am, Marden P. Marshall wrote:
When I plug in my USB Flash Disk, the Removable USB Media icon shows up on my desktop (KDE) and everything is ok. But when I right-click the icon there is no option to eject it as with a cdrom. I'm assuming that it isn't safe to just pull it out. Am I missing something here?
Yep, bad assumption. Just pull the thing out and keep going. I've been doing that for the last couple of years and have yet to have a problem with one of the things. It has something to do with the difference between the way win and linux do cacheing of the write stuff. Apparently linux writes immediately so nothing is lost, so long as you dont pull it out during a write and that is easy to tell, look at the LED first. Richard
Is this irrespective of the desktop manager used? I use XFCE 4. suseplugger seems to find my usb stick and mounts it (i am logged as normal user) but i do not see anything to be done to umount it. so i am just pulling it out too. nothing lost yet and till this post came along did not think it was risky. thanks for the clarification Richard. Ganesh
It is a characteristic of the mount options used.
Do a "mount" with no args to see what args your usb device was mounted with.
If the sync option is present, then at a very low-level write() calls block until the data is actually on the device.
If the sync option is missing, then write() simply places the data in a kernel cache and you need to either umount the device, or run "sync" by hand.
FYI: The SuSE automounter has been using the sync option at least since 9.2
Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century
participants (4)
-
Ganeshram Iyer
-
Greg Freemyer
-
Marden P. Marshall
-
Richard Atcheson