Re: question about findmnt --target

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

 



On 03/17/2015 05:34 PM, Karel Zak wrote:
> Maybe we need a new option to disable the evaluation of the target
> path elements. (--strict-target)

Hey, we already have a tool for that: 'mountpoint' ;-)

What's wrong with

  mountpoint "$DIR_B" >/dev/null \
    && findmnt --target "$DIR_B" \
    && ...

?

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