I'm trying to mount several different partitions at a single folder. I installed a package sysutils/fusefs-unionfs but it won't work without root permissions. I set
like it said to do, but it still won't let me do it.
What is the proper way to get this set up at boot? I don't know how to run a command at boot if it needs root access. Can I add it to fstab() somehow?
Also what is the difference between using
I added myself to the operator group and now it spits out one extra error message, just for good measure.
sysctl vfs.usermount=1
like it said to do, but it still won't let me do it.
What is the proper way to get this set up at boot? I don't know how to run a command at boot if it needs root access. Can I add it to fstab() somehow?
Also what is the difference between using
unionfs
and mount_unionfs
? The latter is available without installing any extra package. I assume mount_unionfs is in kernel space. Can it be automated with fstab()? I read the man page but there's nothing in there about it.I added myself to the operator group and now it spits out one extra error message, just for good measure.
Code:
HTPC➜ ~ ᐅ sudo sysctl vfs.usermount=1
Password:
vfs.usermount: 1 -> 1
HTPC➜ ~ ᐅ unionfs -ocow -oallow_other /mnt/WDPurple10TB temp
mount_fusefs: /dev/fuse on /usr/home/htpc/temp: Operation not permitted
fuse: failed to mount file system: Permission denied
HTPC➜ ~ ᐅ sudo unionfs -ocow -oallow_other /mnt/WDPurple10TB temp
HTPC➜ ~ ᐅ ll temp
total 24
drwxr-xr-x 1 htpc wheel 13K Dec 5 19:23 movies
drwxr-xr-x 1 htpc wheel 512B Nov 19 22:19 tv