What is the device name for a USB drive? I want to rsync some files to it and I have completely forgotten the device name!
/usr/bin/rsync -av --exclude=".*" -e ssh /home/ /dev/???????/
Many thanks....
Todd
Todd Cary wrote:
What is the device name for a USB drive? I want to rsync some files to it and I have completely forgotten the device name!
/usr/bin/rsync -av --exclude=".*" -e ssh /home/ /dev/???????/
Because these are managed as SCSI drives, the names are /dev/sda[1...], /dev/sdb[1...],...
Many thanks....
Todd
I see a sda and a sda1. Should I use the sda1?
Todd
joachim.backes@rhrk.uni-kl.de wrote:
Todd Cary wrote:
What is the device name for a USB drive? I want to rsync some files to it and I have completely forgotten the device name!
/usr/bin/rsync -av --exclude=".*" -e ssh /home/ /dev/???????/
Because these are managed as SCSI drives, the names are /dev/sda[1...], /dev/sdb[1...],...
Many thanks....
Todd
Todd Cary schrieb:
I see a sda and a sda1. Should I use the sda1?
Todd
joachim.backes@rhrk.uni-kl.de wrote:
Todd Cary wrote:
What is the device name for a USB drive? I want to rsync some files to it and I have completely forgotten the device name!
/usr/bin/rsync -av --exclude=".*" -e ssh /home/ /dev/???????/
Because these are managed as SCSI drives, the names are /dev/sda[1...], /dev/sdb[1...],...
Many thanks....
Todd
Todd,
before you use it, you'll have to mount it - /dev/sda is the disk, /dev/sda1 is its first partition. Probably you'll have to mount /media/usbdisk as a regular user or mount /dev/sda1 /mnt/sda1 (or similar) as root.
HTH,
Kay
Kay -
Many, many thanks! I lost my history file on the server (and with it, the correct syntax for my saving off of some files), but you filled in the missing part:
/usr/bin/rsync -av --exclude=".*" -e ssh /home/ /media/usbdisk/
My version of Centos automatically mounts the drive when I turn it on....
Thank you....
Todd
Kay Diederichs wrote:
Todd Cary schrieb:
I see a sda and a sda1. Should I use the sda1?
Todd
joachim.backes@rhrk.uni-kl.de wrote:
Todd Cary wrote:
What is the device name for a USB drive? I want to rsync some files to it and I have completely forgotten the device name!
/usr/bin/rsync -av --exclude=".*" -e ssh /home/ /dev/???????/
Because these are managed as SCSI drives, the names are /dev/sda[1...], /dev/sdb[1...],...
Many thanks....
Todd
Todd,
before you use it, you'll have to mount it - /dev/sda is the disk, /dev/sda1 is its first partition. Probably you'll have to mount /media/usbdisk as a regular user or mount /dev/sda1 /mnt/sda1 (or similar) as root.
HTH,
Kay
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
On Sat, 2007-04-21 at 08:12 -0700, Todd Cary wrote:
I see a sda and a sda1. Should I use the sda1?
Todd
You can't rsync to devices ... you have to mount it first
It may already be mounted ... look in /media/
If it is not mounted there then create a directory and mount it ...
mkdir /media/some_name mount /dev/sda1 /media/some_name
(it is likely mounted when plugged in c4 or c5 though)
joachim.backes@rhrk.uni-kl.de wrote:
Todd Cary wrote:
What is the device name for a USB drive? I want to rsync some files to it and I have completely forgotten the device name!
/usr/bin/rsync -av --exclude=".*" -e ssh /home/ /dev/???????/
Because these are managed as SCSI drives, the names are /dev/sda[1...], /dev/sdb[1...],...
Many thanks....
Todd
Bottom posting is easier to follow :P
Thanks, Johnny Hughes