[wellylug] Copying from USB stick in Redhat server

Jethro Carr jethro.carr at jethrocarr.com
Mon Mar 26 07:49:35 NZST 2007


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.


-- 
Jethro Carr

www.jethrocarr.com
www.jethrocarr.com/index.php?cms=blog

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.wellylug.org.nz/pipermail/wellylug/attachments/20070326/7acf5028/attachment.pgp 


More information about the wellylug mailing list