Professional Web Applications Themes

question about USB external flash drive in linux - Linux Setup, Configuration & Administration

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 ...

  1. #1

    Default 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

  2. #2

    Default Re: question about USB external flash drive in linux

    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

    --
    SCO + RICO Act = Justice

    Lenard Guest

  3. #3

    Default Re: question about USB external flash drive in linux

    On Thu, 18 Sep 2003 03:37:40 GMT, Lenard <lenard127.0.0.1> wrote:
    >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
    Much easier to add an entry to your updfstab.conf.default file.
    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

Similar Threads

  1. Question: External Flash Com in HTML
    By Charlene Russ in forum Macromedia Flash
    Replies: 4
    Last Post: October 23rd, 02:30 PM
  2. Question about a Flash applet calling up external graphics
    By --==\(O\)==-- in forum Macromedia Flash
    Replies: 0
    Last Post: May 31st, 07:04 PM
  3. PowerBook 190 and external CDROM drive...
    By Perry in forum Mac Portable
    Replies: 1
    Last Post: September 2nd, 06:26 AM
  4. Privatizing Folders on External Hard Drive
    By Josh in forum Windows Setup, Administration & Security
    Replies: 0
    Last Post: July 15th, 10:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139