rofs-filtered
rofs-filtered copied to clipboard
Empty lines in sample config
rofs-filtered.rc has empty lines. It was necessary for me to comment these empty lines out in my own config on rofs-filtered: stable 1.7 (bottled)
installed via brew.
There's no need to comment out empty lines. They are explicitly ignored as long as they are truly empty (or contain only whitespace). Can you post an example of a config file that I can use to reproduce the problem?
Sure. But it will take a little while for me to get around to this (for this issue and the other), because I'm actively using a rofs-filtered mount.
# cat rofs-filtered.rc
Guest
gives me:
RegEx error: "empty (sub)expression" while parsing pattern: ""
However,
# cat rofs-filtered.rc
Guest
works perfectly.
It seems like this is just a warning, and the file system works fine and filters correctly.
Thanks!
I can't seem to reproduce this issue. I tried all kinds of line endings, and lines with tabs or spaces (see rofs-filtered.txt for example), and they all seem to work fine. Can you attach your config file?
I get the same warning using your config file.
# rofs-filtered /Volumes/Filtered/ -o source=/ -o config=rofs-filtered.txt
rofs-filtered 1.7: Starting up. Using source: / and config: rofs-filtered.txt
RegEx error: "empty (sub)expression" while parsing pattern: ""