We use POSIX calls wrapper to have proper filesystem experience.
Right now we are able to use 2 file systems
PurePhone has 3 flash partitions:
LittleFS partition is needed to assert minimal to possibly no data loss in unexpected shutdown
Pure phone on reboot on option 4 will present itself with 3 partitions via USB, the first two should be auto mount.
dmesg or lsblkudisksctl mount -b /dev/sdbX where X is number of block deviceFor LittleFS you will have to use fuse to mount partition. Tool is already build with release and is ready to use:
mkdir mymount./lfsfuse --block_size=32768 /dev/sdb3 mymount where sdb3 is device where you expect Pure LittleFS partitionudisksctl power-off -b /dev/sdb