Altera_Forum
Honored Contributor
20 years agoMounting usb flash stick
I am developing a USB IP core, and I am now at the stage where I am attempting to create a uClinux driver.
With the new driver compiled into the kernel, and debug messages enabled, I see the following when I insert a flash stick. console text (http://www.base2designs.com/console_text.txt) As far as I can tell, when the flash stick is inserted, it is correctly detected, but then again I'm not too sure what all the messages mean. Could somebody take a look at the console messages, and tell me if there are any problems that I should be investigating. If all is well, and the flash stick is indeed correctly attached, how do I get read write access. I've read in places that I should add a line to my /etc/fstab file, but I cannot find the fstab file. I tried; mount -n /dev/sda /mnt/ide0 but no success.cat /proc/partitions
major minor # blocks name
3 0 62976 hda
3 1 62960 hda1
31 0 4096 mtdblock0
31 1 2048 mtdblock1
31 2 1024 mtdblock2
31 3 1024 mtdblock3
8 0 63488 sda
8 1 63457 sda1# mount -n /dev/sda /mnt/ide0
mount -n /dev/sda /mnt/ide0
mount: special device /dev/sda does not exist