util-linux.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: L A Walsh <lkml@tlinx.org>
To: Karel Zak <kzak@redhat.com>
Cc: util-linux@vger.kernel.org
Subject: Re: is there a util, or can findmnt be enhanced...(RFE?)
Date: Fri, 12 Mar 2021 20:48:39 -0800	[thread overview]
Message-ID: <604C4427.3040501@tlinx.org> (raw)
In-Reply-To: <20210312075543.jei3secawflwrw6b@ws.net.home>

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


  reply	other threads:[~2021-03-13  4:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-11 20:44 is there a util, or can findmnt be enhanced...(RFE?) L A Walsh
2021-03-12  7:55 ` Karel Zak
2021-03-13  4:48   ` L A Walsh [this message]
2021-03-15 11:02     ` Karel Zak
2021-03-15 19:29       ` L A Walsh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=604C4427.3040501@tlinx.org \
    --to=lkml@tlinx.org \
    --cc=kzak@redhat.com \
    --cc=util-linux@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).