[wellylug] Copying from USB stick in Redhat server
John Durham
john.modec at xtra.co.nz
Mon Mar 26 07:59:01 NZST 2007
Jethro Carr wrote:
> On Mon, 2007-03-26 at 07:39 +1200, John Durham wrote:
>> Jethro Carr wrote:
>>> On Sat, 2007-03-24 at 11:21 +1200, John Durham wrote:
>>>>> umount /mnt/usbstick
>>>>>
>>>>> Sometimes with SCSI devices you need to use eject as well
>>>>>
>>>>> eject /dev/sda
>>>>>
>>>>> but normally umount does the trick.
>>>> You are probably right. After umounting it, I removed the stick. That
>>>> produced a series of messages saying things like "unable to read partition".
>>>>
>>>> There seems to be always one more twist, doesn't there?
>>>> Thanks anyway for the reminder.
>>>
>>> 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.
>>> ------------------------------------------------------------------------
>> It had about 30 seconds to complete before the USB was removed. Other
>> activity appeared to have stopped first. Shouldn't that be enough?
>
>
> should be - but it's easy to know:
>
> once a command completes (eg: umount) it will return you to the command
> prompt.
It did that quickly. The other junk came after. It is almost as if
unmount 'didn't'.
--
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