Re: Specifying a generic and per-fs mount line in /etc/fstab as well as no-canonicalize.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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}?



--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux