All of lore.kernel.org
 help / color / mirror / Atom feed
From: Linda Walsh <lkml@tlinx.org>
To: Bernhard Voelker <mail@bernhard-voelker.de>
Cc: util-linux@vger.kernel.org
Subject: Re: Specifying a generic and per-fs mount line in /etc/fstab as well as no-canonicalize.
Date: Thu, 07 Aug 2014 12:14:55 -0700	[thread overview]
Message-ID: <53E3D02F.5040300@tlinx.org> (raw)
In-Reply-To: <53E2B3FB.8050409@bernhard-voelker.de>

Bernhard Voelker wrote:
> On 08/07/2014 12:55 AM, Linda A. Walsh wrote:
>   
>> if "/usr/src" is a symlink pointing to /home/src,
>> and under /home/src, packages points to ../packages, then when I
>> switch to /usr/src/packages, I see my path listed as /usr/src/packages:
>>
>>     
>>>>  cd /usr/src/packages
>>>>         
>> /usr/src/packages> pwd
>> /usr/src/packages
>>
>> Only by asking an external util can I find the real name:
>>     
> OT, but: no, "pwd -P" (pwd, the shell built-in) does.
>   
Yeah... by asking the builtin for the physical path, I could see
mount -p showing you the physical path.  But wouldn't
that be "/dev/dm-x"?  Where is it coming up with /dev/mapper/<mangledname>?

It's not the link the user gave, and it's not the real device, seems like
those are "dm" internal names?

maybe mount -d? for those?

or put all of them under 1 mountop  -D{d|p|s}?




  reply	other threads:[~2014-08-07 19:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-06 22:55 Specifying a generic and per-fs mount line in /etc/fstab as well as no-canonicalize Linda A. Walsh
2014-08-06 23:02 ` Bernhard Voelker
2014-08-07 19:14   ` Linda Walsh [this message]
2014-08-08  8:08     ` Karel Zak
2014-08-08  8:44 ` Karel Zak
2014-08-08 15:29   ` Linda 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=53E3D02F.5040300@tlinx.org \
    --to=lkml@tlinx.org \
    --cc=mail@bernhard-voelker.de \
    --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.