> ...the one who mounts the filesystem need to be sure
> s/he doesn't shadow real files / directories with the mount.

No, this is a very unsafe default because benign `mount -av` will create more 
layered mounts on every invocation.

Mount should be idempotent by default.


> This is the same with any other mounts as I know.

Not really. FYI attempt to mount ext4 for the second time comes back with 
"already mounted" error and exit code 32.

IMHO mounting over non-empty folder should be only allowed with explicit 
"force" option such as "-o nonempty".


> Why this is a behavior change, the only callers just need to remove
> the '-o nonempty' option, right? From the user point of view
> everything will work exactly the same as I see.

Too many problems with that. First of all some software must be re-compiled 
to remove "nonempty" option. Secondly, that makes file systems unsafe in 
regards to `mount -av`.

I wonder what FUSE3 developers were thinking when they did such unsafe 
breaking change?  :( :(

-- 
All the best,
 Dmitry Smirnov

---

Truth never damages a cause that is just.
        -- Mahatma Gandhi

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to