On Sat, Jan 07, 2023 at 12:52:13PM +0100, Havard Eidnes wrote: > > Now, of course, wouldn't be nice if 'umount' said something like "hey > > dude! you're in the directory you're trying to umount." > > That's what e.g. "fstat /a" can tell you.
Indeed, and that gives you full information - a process with current working directory inside the relevant file system is just one way to run into this issue, so umount pointing at that would be wrong. Martin