From 4c7df49f1c4164d5e76aa40e16cec057010f32da Mon Sep 17 00:00:00 2001 From: Coenraad Loubser Date: Thu, 1 Jun 2023 18:47:17 +0200 Subject: [PATCH] Update README.md Added examples to show =ro flag and globbing, and that shows that globbing in fstab should not be escaped If it is, mergerfs manages to mount something that shows up with ????? in ls, and cant be accessed or doesn't contain anything. TODO for someone to explain why. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e6bd4cc8..d801450b 100644 --- a/README.md +++ b/README.md @@ -97,11 +97,11 @@ start with one of the following option sets. ### Command Line -`mergerfs -o cache.files=partial,dropcacheonclose=true,category.create=mfs /mnt/hdd0:/mnt/hdd1 /media` +`mergerfs -o cache.files=partial,dropcacheonclose=true,category.create=mfs /mnt/hdd\*:/mnt/otherhdd:/mnt/rohdd=ro /media` ### /etc/fstab -`/mnt/hdd0:/mnt/hdd1 /media fuse.mergerfs cache.files=partial,dropcacheonclose=true,category.create=mfs 0 0` +`/mnt/hdd*:/mnt/otherhdd:/mnt/rohdd=ro /media fuse.mergerfs cache.files=partial,dropcacheonclose=true,category.create=mfs 0 0` ### systemd mount