Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
4
rated 0 times [  4] [ 0]  / answers: 1 / hits: 3373  / 1 Year ago, mon, february 20, 2023, 11:25:52

I'm trying to mount a unionfs file system in fstab (as one of the steps in this guide), with the following line:



unionfs /usr unionfs nodev,noatime,dirs=/.filesystems/usr/overlay=ro:/usr=rw 0 0


I've installed the package unionfs-fuse and added unionfs to /etc/modules, but when trying to mount -a I still get an error saying




mount: unknown file system type: unionfs




What am I doing wrong here?


More From » 11.10

 Answers
5

I've solved (or rather worked around) this, by not using unionfs and instead using aufs - another union file system.



Install the AUFS package and its kernel module from linux-image-extra-virtual:



sudo apt-get install aufs-tools linux-image-extra-virtual


The corresponding row in my fstab now looks like this:



usr    /usr    aufs    udba=reval,br:/.filesystems/usr/rw:/.filesystems/usr/ro    0   0


The squashfs is mounted at /.filesystems/usr/ro in the previous line, making this working as a substitute for the troubling steps in the guide I referred to in the OP.


[#42636] Wednesday, February 22, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
saucdisr

Total Points: 4
Total Questions: 102
Total Answers: 117

Location: Ecuador
Member since Thu, Jun 4, 2020
4 Years ago
;