Quantcast
Channel: Active questions tagged mount+fstab - Ask Ubuntu
Viewing all articles
Browse latest Browse all 699

Custom mount hard drive on boot

$
0
0

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!


Viewing all articles
Browse latest Browse all 699

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>