SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Pastimes : Linux OS.: Technical questions

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
From: Thomas A Watson10/31/2004 4:07:46 PM
  Read Replies (1) of 484
 
adding external USB 2.0 drives to a redhat 7.3 system.

I purchased Seagate 129GB External USB2. ST2120027A-RK.
I also got a 5 port usb 2.0 card.

I rebooted acute. The reboot detected the new USB2 controller and I let it configure automatically. When a drive is connected a message is sent to the console and to /var/log/messages. To watch console messages.
log in as root.
tail -f /var/log/messages

Actual log output in my case.

Oct 31 14:55:58 acute /etc/hotplug/usb.agent: Setup usb-storage for USB product bc2/500/0
Oct 31 14:56:07 acute kernel: hub.c: new USB device 00:12.2-3, assigned address 6
Oct 31 14:56:07 acute kernel: scsi4 : SCSI emulation for USB Mass Storage devices
Oct 31 14:56:07 acute kernel: Vendor: ST312002 Model: 6A Rev: 0 0
Oct 31 14:56:07 acute kernel: Type: Direct-Access ANSI SCSI revision: 02
Oct 31 14:56:07 acute kernel: Attached scsi disk sdd at scsi4, channel 0, id 0, lun 0
Oct 31 14:56:07 acute kernel: SCSI device sdd: 234441648 512-byte hdwr sectors (120034 MB)
Oct 31 14:56:07 acute kernel: sdd: sdd1


The important information is the device name used to attach the drive. note: linux handles usb2 as a kind of scsi drive

In this case the device is attached to the kernal as sdd1. To mount this device as a file system as root you do the folowing.
mkdir /sdd1 #this is my mount point. some might create /mnt/sdd1
Then you mount the device. note: Most external usb2 drive units come with a vfat or win32 file format.

mount -t vfat /dev/sdd1 /sdd1 or
mount -t vfat -o rw,dmask=777,fmask=666,uid=511,gid=100 /dev/sdd1 /sdd1

user is me and group is users.


.
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext