Results 1 to 6 of 6
Dear All,
I know that this is a silly question, but as i am a newbie, i dont know where to see the data of the USB drive of Linux ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-14-2006 #1Just Joined!
- Join Date
- Jun 2006
- Posts
- 74
Where to see the USB data?
Dear All,
I know that this is a silly question, but as i am a newbie, i dont know where to see the data of the USB drive of Linux after attaching the USB drive to the PC, can you please tell me where (or in which directory) to see the data of USB after attaching it to the PC?
I am using the RH 9.
Thanks in Advacne,
Nishant
- 07-14-2006 #2Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
If you are using RedHAt 9 you may find that usb devices are only mounted correctly if inserted before boot. RedHat 9 is about the equivalent of Windows NT. In that case it should be in the /mnt/ subdirectory. Maybe something like /mnt/removable or /mnt/sda1
If it is not mounted automatically you can mountit manually as root. Check which device it is by using dmesg after you plug it in. You will get a message telling you which device it is (/dev/sda1 for example). You then make a directory if you don't already have one and mount it there.Code:mkdir /mnt/usbdrive mount -t vfat /dev/sda1 /mnt/usbdrive
- 07-14-2006 #3Just Joined!
- Join Date
- Jun 2006
- Posts
- 74
Dear Sir,
Thanks for the help, first of all, and as you told me, " Check which device it is by using dmesg after you plug it in. You will get a message telling you which device it is (/dev/sda1 for example). " but it is not showing the device as you show in ex. like /dev/... instead it is showing "USB Mass Storage device found at 3", and from that i m not getting any information, although i have try to mount it manually by writing the command
" mount -t vfat /dev/sda1 /mnt/usbdrive " after making the USBDRIVE dir in the /mnt folder, but it was still not building the USB drive, can you please show mw any other way?? and with that it hasnt take atleast automatically after plug in.
Hope for the positive reply.
Thanks,
Nishant
- 07-14-2006 #4Linux Guru
- Join Date
- Nov 2004
- Posts
- 6,110
Like I said Red Hat 9 is a good few years old now, so a lot of the hotplug features were in their infancy then.
Can you post the output fromAre you in a position to reboot the box? It will automatically mount then if I recall correctly.Code:dmesg |grep -i dev
- 07-14-2006 #5Just Joined!
- Join Date
- Jun 2006
- Posts
- 74
Dear Sir,
Below I am pasting you output of the dmesg |grep -i dev and as u told in the earlier post i already have restarted my box but it still wont detecting the USB, and i think u will be able to see from the below output how to build or what to write to build the USB, that is the doubt in my mind, let me hope for the best for else.
[root@nishant root]# dmesg |grep -i dev
Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
isapnp: No Plug & Play device found
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Journalled Block Device driver loaded
usb.c: registered new driver usbdevfs
PCI: Setting latency timer of device 00:1d.7 to 64
ehci-hcd 00:1d.7: PCI device 8086:265c (Intel Corp.)
PCI: Setting latency timer of device 00:1d.0 to 64
PCI: Setting latency timer of device 00:1d.1 to 64
PCI: Setting latency timer of device 00:1d.2 to 64
PCI: Setting latency timer of device 00:1d.3 to 64
usb.c: registered new driver hiddev
mice: PS/2 mouse device common for all mice
hub.c: new USB device 00:1d.2-2, assigned address 2
hub.c: new USB device 00:1d.0-2, assigned address 2
usb.c: USB device 2 (vend/prod 0x58f/0x9382) is not claimed by any active driver.
scsi0 : SCSI emulation for USB Mass Storage devices
USB Mass Storage device found at 2
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
r8169: PCI device 01:05.0: unknown chip version, assuming RTL-8169
r8169: PCI device 01:05.0: TxConfig = 0x4000000
usb.c: USB disconnect on device 00:1d.0-2 address 2
hub.c: new USB device 00:1d.7-2, assigned address 2
scsi2 : SCSI emulation for USB Mass Storage devices
USB Mass Storage device found at 2
Here is the output of the command.
Hope for the prompt reply.
Thanks,
Nishant
- 07-14-2006 #6
Also, allow me to add that if you like Red Hat 9... I wuld go to Fedora.


Reply With Quote
