[wellylug] RE: Copying from USB stick in Redhat server
John Durham
john.modec at xtra.co.nz
Mon Mar 26 09:31:56 NZST 2007
Peter Dawson wrote:
>>>> Sometimes with SCSI devices you need to use eject as well
>>>>
>>>> eject /dev/sda
>>>>
> 8><=== snip...
>
>> I've never heard of needing to use eject on a USB stick before - you did make sure that the > umount command had finished didn't you? It will return you to a prompt once complete.
>>
>> Sometimes it takes a few seconds to complete, as it has to write the cache to the disk
>> before it can umount the filesystem - if you were to pull it out whilst this was happening,
>> you'd get the errors.
>
> I recently saw a comment somewhere that mentioned that some USB devices seem to be programmed to expect a particular command sequence to disconnect properly, specifically one emitted by Windows (Cameras & mp3 players spring to mind), and these devices complained about not having been correctly removed from the PC without that sequence.
>
> I gathered also that 'eject' supplies that command sequence before actually 'unmount'ing the device.
>
> Personally, I have taken to using eject rather than umount when an intelligent device is being disconnected. It doesn't appear to have caused any problems yet... YMMV
>
> Cheers, Phreadde :-)
That may be worth remembering (standards with variations upon variations).
--
Regards, John Durham <http://modecideas.com/contact.html?sig>
Fax/Phone 64 4 5286786
Award winning web site at http://modecideas.com?sig
Server hosted on Ubuntu 4.10
PC-HELPERS list subscribe/unsub at http://modecideas.com/discuss.htm?sig
Good advice is like good paint- it only works if applied.
More information about the wellylug
mailing list