1

I want to mount a copy of a directory in such a way that files/subdirectories matching a pattern are hidden. When mounting with write permission that could obviously cause problems in case a hidden file was created a second time, but when mounting read-only it should be OK?

Is something like that possible with bindfs? Or is there an alternative way to achieve something comparable?

  • Bindfs doesn't have this feature. Maybe try looking at some of the filesystems listed at the end of this answer, though beware that it's a few years old and some filesystems I list might not be maintained anymore. For example, that's filterfs's main feature, but it doesn't seem to have been updated since 2012 so I can't recommend it today. – Gilles 'SO- stop being evil' Jul 06 '21 at 19:16
  • ahh thanks! I was looking at this answer but didn't scroll down far enough! – user313032 Jul 06 '21 at 19:17
  • unfurtunately -- as you say -- filterfs is not maintained and I can't even clone the git. EDIT: this one might work: https://github.com/gjvnq/filterfs – user313032 Jul 06 '21 at 19:25

0 Answers0