[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Preventing writes to the underlying directory when a mounted filesystem disappears



On 27/07/2026 9:37 pm, Andy Smith wrote:
On Mon, Jul 27, 2026 at 11:06:13AM -0300, Marcelo Laia wrote:
The motivation here is a little different. I'm trying to understand how
Linux behaves when the target filesystem unexpectedly disappears and how
to prevent applications from silently falling back to the underlying
filesystem.

In practice I don't think that is a problem that happens.

I would not be surprised if behavior of udisks (that is often involved in the case of USB drives) has some specifics in comparison to /etc/fstab entries or to calling mount directly. On the other hand, a directory for logging should not be handled by udisks.


Reply to: