I have a partition on my hard drive formatted as APFS. Linux has no support for APFS filesystems but I found the apfs-fuse driver which works fine for my needs (I only need read-only support).
I am able to mount the partition with the following command:
apfs-fuse -o uid=1000,gid=1000,allow_other /dev/nvme0n1p5 /mac_data
Where /dev/nvme0n1p5
is my APFS partition.
I am simply wondering how I can get this to mount on startup, ideally in a way that exposes command output to the system logs (maybe registering as a startup service?). I would like to avoid using my ~/.bash_login
because I would like to mount this regardless of which user logs in.
Any help would be appreciated. Thank you!