Re: [PATCH] mountpoint: symlinks are not mount points

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

 



On 08/21/2014 08:03 PM, Sami Kerola wrote:
> Earlier the mountpoint(1) followed symlinks

IMO this is correct as symlinks only have to be treated
as such when explicitly not de-referencing.
As mountpoint(1) does not have a --no-dereference option,
symlinks should always be transparent for this tool.

Furthermore, the patch would break scripts relying on existing
behavior:

  $ ln -s / slink

  $ /usr/bin/mountpoint slink
  slink is a mountpoint

  $ # ~berny/util-linux/mountpoint slink
  slink is not a mountpoint


Have a nice day,
Berny
--
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