Are you using devfs or something like that? I'm not use to the /dev/ you
point to below. What do you kernel logs show?

On Fri, 9 Sep 2005, Ayman Asadi wrote:

> Hi,
> I need assistance on mounting a vfat formatted usb flash device on an
> embedded linux (2.4.20 kernel on mips32 processor). I enabled the scsi
> support, vfat, fat, and msdos file systems, usb and usb-storage during
> the kernel build. I can see that the device is being enumerated.
>
> The system creates the directory /dev/scsi/host0/bus0/target0/lun0
> which contains the disc file. If I cat the disc file I can see the LED
> on the drive blinking and garbage printed to the screen.
>
> As I read in the docs, I tried to mount the drive as follows:
>
> mount -t vfat /dev/sda1 /mnt/flash
>
> The /dev/sda does not exist (/dev/sda1 does not exist) and if I created
> it with
>
> mknod /dev/sda1 b 8 1
>
> things dn't work.
>
> I tried the command:
>
> mount -t vfat /dev/scsi/host0/bus0/target0/lun0 /mnt/flash
>
> I get the error message:
> "mount: Mounting /dev/scsi/host0/bus0/target0/lun0 on /mnt/flash
> failed: Block device required"
>
> Also, I tried the command:
>
> mount -t vfat /dev/scsi/host0/bus0/target0/lun0/disc  /mnt/flash
>
> I got the error  message:
> "mount: Mounting /dev/scsi/host0/bus0/target0/lun0 on /mnt/flash
> failed: Invalid argument"
>
> Anyone has a pointer to a document to solve this problem?
>
> Regards,
>
> Ayman Asadi
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Linux-usb-users@lists.sourceforge.net
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users
>

--
 /------------------------------------+-------------------------\
|Stephen J. Gowdy                     | SLAC, MailStop 34,       |
|http://www.slac.stanford.edu/~gowdy/ | 2575 Sand Hill Road,     |
|http://calendar.yahoo.com/gowdy      | Menlo Park CA 94025, USA |
|EMail: [EMAIL PROTECTED]       | Tel: +1 650 926 3144     |
 \------------------------------------+-------------------------/


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to