I'm not too sure where to post this so I just decided to post it as a suggestion.
In the Mounting with Sync handbook (https://developer.mbed.org/handbook/Mounting-with-sync), under the Linux section, it says to add "/dev/sdb /media/MBED vfat rw,user,sync 0 0" to your fstab file. This will NOT work. This is because vfat does not use regular permissions like other partition types (such as ext2), so the rw and user modifiers will not affect it. The issue with using an mbed with Linux is that Linux typically does not automatically save files onto a drive until it is unmounted. To set up an mbed to work on a Linux machine without having to constantly unmount and mount the device, the following should be added to the fstab file:
/dev/sdb /media/MBED vfat sync,noauto,umask=007 0 0
The sync modifier will allow it to automaticall save (like in Windows), the noauto will tell it to not automatically sync on startup (just in case) and the umask=007 will set the permissions to be 777-007 = 770. This gives the user and group full read, write, and execute permissions, but not the world.
I'm not too sure where to post this so I just decided to post it as a suggestion.
In the Mounting with Sync handbook (https://developer.mbed.org/handbook/Mounting-with-sync), under the Linux section, it says to add "/dev/sdb /media/MBED vfat rw,user,sync 0 0" to your fstab file. This will NOT work. This is because vfat does not use regular permissions like other partition types (such as ext2), so the rw and user modifiers will not affect it. The issue with using an mbed with Linux is that Linux typically does not automatically save files onto a drive until it is unmounted. To set up an mbed to work on a Linux machine without having to constantly unmount and mount the device, the following should be added to the fstab file:
/dev/sdb /media/MBED vfat sync,noauto,umask=007 0 0
The sync modifier will allow it to automaticall save (like in Windows), the noauto will tell it to not automatically sync on startup (just in case) and the umask=007 will set the permissions to be 777-007 = 770. This gives the user and group full read, write, and execute permissions, but not the world.