I got quite frustrated with using a msdos/FAT filesystem on the SD card (mainly because the 8.3 filenames limit screws with directory trees created on my host machine, and in upstream packages I'm working with), so I'm trying to get my GP2X to play nicely with ext2 (that is, "Linux") filesystems.
So far, I've done the following:
1) Revised /etc/fstab to use "auto" instead of "vfat" as the filesystem type for the SD card
2) Eliminated troublesome options in fstab (something was messing it up so that "mount /mnt/sd" didn't work (I'm not quite sure what the offending option was, because I just switched to "defaults". I'll narrow it down later.)
However, it still won't automatically mount the SD card after this.
Now, I can manually mount it, using the sterm.gpu terminal utility (which I copied onto /mnt/nand so I could use it when the SD isn't mounted), by just typing:
# mount /mnt/sd
which means the fstab entry must be good. After that step, everything works as I expect it too. But of course, I don't want to have to do that every boot!
I've hitherto been assuming that the SD drive gets mounted as a result of a "mount -a" during the boot process, but it doesn't seem to come up at boot, so that must not be how it works. (?)
What am I missing?
TIA!
So far, I've done the following:
1) Revised /etc/fstab to use "auto" instead of "vfat" as the filesystem type for the SD card
2) Eliminated troublesome options in fstab (something was messing it up so that "mount /mnt/sd" didn't work (I'm not quite sure what the offending option was, because I just switched to "defaults". I'll narrow it down later.)
However, it still won't automatically mount the SD card after this.
Now, I can manually mount it, using the sterm.gpu terminal utility (which I copied onto /mnt/nand so I could use it when the SD isn't mounted), by just typing:
# mount /mnt/sd
which means the fstab entry must be good. After that step, everything works as I expect it too. But of course, I don't want to have to do that every boot!
I've hitherto been assuming that the SD drive gets mounted as a result of a "mount -a" during the boot process, but it doesn't seem to come up at boot, so that must not be how it works. (?)
What am I missing?
TIA!