OpenSource Community FAQ

jf

Moderator
Moderator
Joined
Jan 1, 2000
Messages
7,220
Reaction score
0
for a good understanding (as well as the rationales) as to the approach that we take towards answering questions here, a good thread for reading would be this thread.
 

roundorange

Supremacy Member
Joined
May 4, 2001
Messages
5,569
Reaction score
0
Inix said:
The official RedHat FTP mirror for Singapore if SingNet's FTP..

ftp://ftp.singnet.com.sg/

You can also try the following

ftp://ftp.hjc.edu.sg/
ftp://zero.swiftech.net.sg/
Seems like ftp.singnet.com.sg is no more a RedHat mirror. When I last checked, it doesn't even have RHL9.0 in it. zero.swiftech.net.sg seems to be down and out too.

The sole official mirror in Singapore is ftp://ftp.oss.eznetsols.org as listed on the RedHat website.

For the matter, it seems that ftp.oss.eznetsols.org also carries Mandrake Linux even though it is not officially listed on the Mandrake website.
 

sfhuang

Master Member
Joined
Jun 26, 2000
Messages
3,986
Reaction score
0
How to detect and mount USB Flash Drive devices

By tazzie:

yes, the usbkey will be detected and handled like a harddisk, and is emulated by SCSI as well. the usual thing you would do is look into /var/log/messages. my suggestion is to do a tail command with the follow flag. next, plug in your USBKey, and observe the messages created by the kernel. you should something to the effect of the following:

code:
Jun 18 10:39:16 localhost kernel: hub.c: new USB device 00:04.3-2.3, assigned address 4
Jun 18 10:39:16 localhost kernel: usb.c: USB device 4 (vend/prod 0xc76/0x5) is not claimed by any active driver.
Jun 18 10:39:19 localhost /etc/hotplug/usb.agent: Setup usb-storage for USB product c76/5/100
Jun 18 10:39:19 localhost kernel: Initializing USB Mass Storage driver...
Jun 18 10:39:19 localhost kernel: usb.c: registered new driver usb-storage
Jun 18 10:39:19 localhost kernel: scsi2 : SCSI emulation for USB Mass Storage devices
Jun 18 10:39:19 localhost kernel: Vendor: Model: TS256MJFLASHA Rev: 1.00
Jun 18 10:39:19 localhost kernel: Type: Direct-Access ANSI SCSI revision: 02
Jun 18 10:39:19 localhost kernel: Attached scsi removable disk sdb at scsi2, channel 0, id 0, lun 0
Jun 18 10:39:19 localhost kernel: SCSI device sdb: 506400 512-byte hdwr sectors (259 MB)
Jun 18 10:39:19 localhost kernel: sdb: Write Protect is off
Jun 18 10:39:20 localhost kernel: sdb: sdb1
Jun 18 10:39:20 localhost kernel: USB Mass Storage support registered.
Jun 18 10:39:20 localhost kernel: Attached scsi CD-ROM sr0 at scsi1, channel 0, id 0, lun 0
Jun 18 10:39:20 localhost kernel: sr0: scsi3-mmc drive: 125x/48x writer cd/rw xa/form2 cdda tray
Jun 18 10:39:21 localhost devlabel: devlabel service started/restarted


look out for something like the bolded text above. mount to that and you should be alright. the usual places to find the device would start at /dev/sda all the way to however many SCSI emulated or SCSI drives you have. it's usually the last one.

now, the instructions are very specifically tuned for RedHat people, since not all kernel messages are dumped to the /var/log/messages file. and for those who have fine-tuned their kernel, they might have removed the USB messages altogether. so i would say the instructions will work for stock installations, and milage varies from there on.

--
By sfhuang:

Once you know which dev the drive is, do the following:

mkdir /mnt/flashdrive
mount -t fat /dev/sdb1 /mnt/flashdrive
 

AmmarNaeem

Junior Member
Joined
Jul 23, 2012
Messages
38
Reaction score
0
OPEN SOURCE FAQ

This has been a wonderful addition. This community guides from minor to big problems. Thats Great :)
 
Important Forum Advisory Note
This forum is moderated by volunteer moderators who will react only to members' feedback on posts. Moderators are not employees or representatives of HWZ. Forum members and moderators are responsible for their own posts.

Please refer to our Community Guidelines and Standards, Terms of Service and Member T&Cs for more information.
Top