Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.
-
Qiang #1
question about USB external flash drive in linux
hi,
I plug my 128MB flash key into RedHat 8 kernel 2.4.20
lsmod output:
Module Size Used by Not tainted
usb-storage 75200 0
scsi_mod 110936 1 [usb-storage]
ide-cd 35808 0 (autoclean)
cdrom 34176 0 (autoclean) [ide-cd]
autofs 13684 0 (autoclean) (unused)
iptable_filter 2412 0 (autoclean) (unused)
ip_tables 15864 1 [iptable_filter]
tulip 44544 1
keybdev 2976 0 (unused)
mousedev 5688 1
hid 22404 0 (unused)
input 6208 0 [keybdev mousedev hid]
usb-uhci 27468 0 (unused)
usbcore 82816 1 [usb-storage hid usb-uhci]
ext3 73376 5
jbd 56336 5 [ext3]
from /var/log/messages
Sep 17 13:20:47 pn1124 kernel: hub.c: new USB device 00:04.2-1,
assigned address 2
Sep 17 13:20:47 pn1124 kernel: usb.c: USB device 2 (vend/prod
0x9a6/0x8001) is not claimed by any active driver.
Sep 17 13:20:51 pn1124 /etc/hotplug/usb.agent: Setup usb-storage for
USB product 9a6/8001/100
Sep 17 13:20:51 pn1124 kernel: SCSI subsystem driver Revision: 1.00
Sep 17 13:20:52 pn1124 kernel: Initializing USB Mass Storage driver...
Sep 17 13:20:52 pn1124 kernel: usb.c: registered new driver
usb-storage
Sep 17 13:20:52 pn1124 kernel: scsi0 : SCSI emulation for USB Mass
Storage devices
Sep 17 13:20:52 pn1124 kernel: Vendor: NEWMAN Model: NEWMAN FLASH
DIS Rev: 1.00
Sep 17 13:20:52 pn1124 kernel: Type: Direct-Access
ANSI SCSI revision: 02
Sep 17 13:20:52 pn1124 kernel: USB Mass Storage support registered.
Sep 17 13:20:53 pn1124 devlabel: devlabel service started/restarted
look into /proc/bus/usb/devices, it's empty.
it looks the module loaded fine, so does the device. but there is no
info about where did it mounted or if it's mouted.
what am i missing?
Qiang
Qiang Guest
-
Question: External Flash Com in HTML
I hope someone here is able to answer this question: (This is not a typical Flash issue and is an advanced level topic so be forewarned.) I... -
Question about a Flash applet calling up external graphics
Hello; Many years ago I made an instant win applet in Java for a client. It had a simple wheel with prizes all around, and when the user clicked... -
PowerBook 190 and external CDROM drive...
Hi all, I've got a PowerBook 190 and I am trying to get it to work with my external CD-ROM drive (it's a Pioneer 4X CD-ROM drive packaged by... -
Privatizing Folders on External Hard Drive
I'm running XP Home on a Sony laptop and I recently purchased a Western Digital firewire hard drive for increased storage. I'm wondering if there... -
will iMac boot OS X from external firewire drive
Copied entire contents of internal hard drive to external drive for backup. Can select and boot from external copy of OS 9 but X does not seem to... -
Lenard #2
Re: question about USB external flash drive in linux
On Wed, 17 Sep 2003 12:45:54 -0700, Qiang typed:
<snip>> hi,
>
> I plug my 128MB flash key into RedHat 8 kernel 2.4.20
Check that the flash drive is recognized as a scsi drive;> what am i missing?
cat /proc/scsi/scsi
As root form the console or xterm session, create the mountpoint;
mkdir /mnt/usb
Then mount the flash drive;
mount -t vfat /dev/sda1 /dev/usb
--
SCO + RICO Act = Justice
Lenard Guest
-
Anton Erasmus #3
Re: question about USB external flash drive in linux
On Thu, 18 Sep 2003 03:37:40 GMT, Lenard <lenard@127.0.0.1> wrote:
Much easier to add an entry to your updfstab.conf.default file.>On Wed, 17 Sep 2003 12:45:54 -0700, Qiang typed:
>>>> hi,
>>
>> I plug my 128MB flash key into RedHat 8 kernel 2.4.20
><snip>
>>>> what am i missing?
>Check that the flash drive is recognized as a scsi drive;
>
>cat /proc/scsi/scsi
>
>As root form the console or xterm session, create the mountpoint;
>
>mkdir /mnt/usb
>
>Then mount the flash drive;
>
>mount -t vfat /dev/sda1 /dev/usb
Then you plug it in it automatically creates amount point
at /mnt/<something> where <something> is normally flash.
You then just do mount /mnt/flash.
When the device is removed the /mnt/flash dissapears.
When you plug it in, it again appears after a couple of seconds.
This works on RH9, I am not sure whether this is available
under RH8.
To get the device name that the updfstab should look for,
use the cat/proc/scsi/scsi as above.
Regards
Anton Erasmus
Anton Erasmus Guest



Reply With Quote

