On Wednesday 19 March 2003 11:45 am, John Pettigrew wrote:
In a previous message, Bruce Marshall wrote:
On Wednesday 19 March 2003 6:33 am, John Pettigrew wrote:
I've just bought a device to let me read MMC cards on my linux box. It seems to be recognised by the system, but I don't know how to mount it. Could anyone tell me how to do this? I've tried the obvious 'mount /dev/sda /home/john/MMC', together with '-t vfat' instead to no avail.
Try:
mount -t vfat /dev/sda1 /<path to wherever>
and I think you'll get a smile..... :-)
Ok.. tell us more about this device.. Does it read other things besides MMC devices? I have a reader here that reads 4 different devices... and because of that, it really has 4 LUN's or 4 addresses on the SCSI bus. And because of that... in order to get it mounted, I run the following script: #!/bin/sh echo "scsi add-single-device 2 0 0 0" > /proc/scsi/scsi echo "scsi add-single-device 2 0 0 1" > /proc/scsi/scsi echo "scsi add-single-device 2 0 0 2" > /proc/scsi/scsi echo "scsi add-single-device 2 0 0 3" > /proc/scsi/scsi cat /proc/scsi/scsi Try that... mine mount automatically after the above is run because I have /etc/fstab set to mount them. NOTE: In the above, since I have a SCSI system with 2 controllers already in use, the first number (2) is for the 3rd controller, the USB device. If you do not have a SCSI system (and IIRC you don't) change that number to (0).
I'd tried that, too, and trying it again now gives the same results - mount just sits there. top -i gives the following: PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 2675 john 23 0 10432 10M 8372 R 8.5 4.0 0:00 gedit 2569 john 15 0 8940 8936 6804 R 1.7 3.4 0:01 gnome-terminal 2628 john 15 0 976 976 756 R 0.1 0.3 0:00 top 2564 root 24 0 1320 1320 488 D 0.0 0.5 0:00 modprobe 2566 root 15 0 0 0 0 DW 0.0 0.0 0:00 scsi_eh_1 2594 root 15 0 556 556 468 D 0.0 0.2 0:00 mount
Which suggests to me that (with a STAT of D) mount has had a serious problem.
My USB system is basically OK, because I can sync my Palm device via USB. Admittedly, it sometimes crashes the machine (!) but I'd put this down to something about the new Palm Tungsten, because it had worked for months with no problem with my old Visor.
John
-- +----------------------------------------------------------------------------+ + Bruce S. Marshall bmarsh@bmarsh.com Bellaire, MI 03/19/03 11:49 + +----------------------------------------------------------------------------+ "Murphy's Military Laws:13. The only thing more accurate than incoming enemy fire is incoming friendly fire."