Re: Device name for a USB disk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Todd Cary schrieb:
I see a sda and a sda1.  Should I use the sda1?

Todd

joachim.backes@xxxxxxxxxxxxxx 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux