From: L A Walsh <lkml@tlinx.org>
To: util-linux@vger.kernel.org
Subject: is there a util, or can findmnt be enhanced...(RFE?)
Date: Thu, 11 Mar 2021 12:44:01 -0800 [thread overview]
Message-ID: <604A8111.8090100@tlinx.org> (raw)
I see 'findmnt' shows a mount if you specify the mount point.
Given the name, I was surprised it didn't already do
this: I was wondering if it could find
the mount point of a file or pathname I give to it?
So if I am in /home/cache/suse, and type:
> findmnt .
it would tell me something like:
/home[cache/suse] /dev/Space/Home
meaning:
MNTPOINT[offset_path] <device>
Thanks!
next reply other threads:[~2021-03-11 21:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-11 20:44 L A Walsh [this message]
2021-03-12 7:55 ` is there a util, or can findmnt be enhanced...(RFE?) Karel Zak
2021-03-13 4:48 ` L A Walsh
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=604A8111.8090100@tlinx.org \
--to=lkml@tlinx.org \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.