On 2021/03/11 23:55, Karel Zak wrote:
$ pwd
/home/projects/util-linux
$ findmnt --target .
TARGET SOURCE FSTYPE OPTIONS
/home /dev/nvme0n1p2 ext4 rw,relatime
----
Hmmm. Didn't know about that. Thanks for the info! Why does it
produce no output when a non-mount-point is entered? I.e. -- is that
behavior something that is currently relied upon?
If not, maybe it could give some indication about an associated mount
of the path that was entered (vs. giving no output)?
I admit to the desire to have the default case have something do
something
that is more generally useful, but if people are relying on the empty
output as being a useful indicator of a non-mount-point, wouldn't want to
disrupt that.
Either way, thanks!
-linda