[wellylug] Copying from USB stick in Redhat server

Phillip Hutchings phillip.hutchings at sitharus.com
Sat Mar 24 10:24:18 NZST 2007


On 3/24/07, John Durham <john.modec at xtra.co.nz> wrote:
> I'm still getting used to text mode on the server Jethro was kind enough
> to set up. One of the tasks still to be tackled successfully is getting
> updates to the website transferred there.
>
> Today, I copied updates to a USB stick and plugged it into the server.
> It was recognised as scsi0. I navigated to the website file area on the
> server and dried to access the stick to copy from using
> cd scsi0
> then
> cd /scsi0
> In both cases I got:
> -bash: cd: /scsi0: No such file or directory
> or similar.
>
> Knowing the device is there, I must be missing something basic. Anyone
> care to fill in the gap so I can carry out the transfer please?

You missed mounting it, most non-GUI Linux systems don't automate
this. Since it's SCSI0 you'll probably want to (as root):

# mkdir /mnt/usbstick
# mount /dev/sda1 /mnt/usbstick
# cd /mnt/usbstick

However, depending on the distro the device path for mount could be different.
-- 
Phillip Hutchings
http://www.sitharus.com/




More information about the wellylug mailing list