View Single Post
Old 05-22-2013, 03:13 AM   #5
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I don't think that is what Peter means.

From the code, it is attempting to mount the SD card as FAT32. If that fails, it gives an error. The commented out lines attempt to mount the SD card without specifying a file system type. I think Peter is suggesting running a command to test the file system and from that deciding the parameters for the mount command.

There is a good chance that simply uncommenting the lines will work. The file system type is optional for the mount command as it can determine this if the appropriate file systems are available to it. I would expect a SD card formatted with ext3 or ext4 to work. But NTFS or HFS probably wouldn't. Or, as you know what file system you formatted the card with, you can add the appropriate parameter to second mount command.

In any case, the test won't damage anything so long as you are prepared to do a factory reset to get the device working again.
davidfor is offline   Reply With Quote