[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB flash drive not automounting or mounting



On Sunday 05 February 2006 7:50 pm, Andrew Sackville-West so eloquently 
stated:
On Sun, 05 Feb 2006 20:42:09 -0700


> >    Device Boot      Start         End      Blocks   Id  System
> > /dev/sdb1   *           1         952      243696    6  FAT16
> >
> > Ah, so it is vfat on sdb1! no sweat!
> >
> > timmy:~# mount -t vfat /dev/sdb1 /media/flash
> > mount: special device /dev/sdb1 does not exist
>
> OK, just in case: Do you actually have a device
> special file /dev/sdb1?
>
> Just askin' . . .
>
> > Now this is silly!
> >
> > Is it still there?
> >
> > timmy:~# fdisk -l /dev/sdb
> >
> > Disk /dev/sdb: 249 MB, 249561088 bytes
> > 16 heads, 32 sectors/track, 952 cylinders
> > Units = cylinders of 512 * 512 = 262144 bytes
> >
> >    Device Boot      Start         End      Blocks   Id  System
> > /dev/sdb1   *           1         952      243696    6  FAT16
> >
> > I will be darned. Still there, but mount can't find it!
>
> Maybe because the error message from mount is correct?  That
> "special device /dev/sdb1 does not exist?"

>do you have udev rules to create the device?

Good question.

This is what is in my udev.rules:

# USB devices
BUS="usb", KERNEL="hiddev*",	NAME="usb/%k"
BUS="usb", KERNEL="auer[0-9]*",	NAME="usb/%k"
BUS="usb", KERNEL="legousbtower*", NAME="usb/%k"
BUS="usb", KERNEL="dabusb*",	NAME="usb/%k"
BUS="usb", KERNEL="cpad[0-9]*",	NAME="usb/%k"
BUS="usb", KERNEL="lp[0-9]*",	NAME="usb/%k"
BUS="usb", KERNEL="ttyUSB*", SYSFS{product}="Palm Handheld*", SYMLINK="pilot"

Now, I am not sure which of these would be used for a flash drive, but I can 
tell that a few won't be....

Rob

-- 
Mountlake Terrace, WA, USA



Reply to: