Open sprat opened 2 weeks ago
No branches is technically not invalid but I can add a warning.
Yes, I understand that it may be a use case to have nonexistent directories at first, and have those directories created and mounted after mergerfs is started, that's why I suggested a warning at least ;)
I would say:
/media/data*
: report a warning if there are no matches/nonexistent1:/nonexistent2:/mnt
: report a warning for any branch that does not exist
Is your feature request related to a problem? Please describe.
I had a hard time troubleshooting a problem that was due to a mistake from me where I had no valid branch in my mergerfs call:
Note that it's easy to get into this situation when we use wildcard in branches (
/media/data*
in my case) but nothing matches the wildcard expressionDescribe the solution you'd like
Ideally, I would like to get an error message (or a warning at least!) when I call the mount command with invalid branches directories.
Describe alternatives you've considered
None
Additional context
mergerfs v2.40.2