diff options
author | Sami Kerola | 2019-08-02 20:39:05 +0200 |
---|---|---|
committer | Sami Kerola | 2019-08-02 20:39:05 +0200 |
commit | 6d56251220954f4937c9fafbcdb427d4aa50d330 (patch) | |
tree | fae19fbb136d499e4a7bc1037a86c485847f5d7d /sys-utils/mountpoint.1 | |
parent | dmesg: fix output hex encoding (diff) | |
download | kernel-qcow2-util-linux-6d56251220954f4937c9fafbcdb427d4aa50d330.tar.gz kernel-qcow2-util-linux-6d56251220954f4937c9fafbcdb427d4aa50d330.tar.xz kernel-qcow2-util-linux-6d56251220954f4937c9fafbcdb427d4aa50d330.zip |
mountpoint: add --nofollow option
The no follow option will allow user to distinct mount points from symbolic
links pointing to them. Arguably this is pretty pedantic option, mounting a
device or bind mount to a directory via symlink does not have or cause any
issues.
Addresses: https://github.com/karelzak/util-linux/issues/832
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/mountpoint.1')
-rw-r--r-- | sys-utils/mountpoint.1 | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys-utils/mountpoint.1 b/sys-utils/mountpoint.1 index afc469ebc..6669b13eb 100644 --- a/sys-utils/mountpoint.1 +++ b/sys-utils/mountpoint.1 @@ -1,4 +1,4 @@ -.TH MOUNTPOINT 1 "July 2014" "util-linux" "User Commands" +.TH MOUNTPOINT 1 "August 2019" "util-linux" "User Commands" .SH NAME mountpoint \- see if a directory or file is a mountpoint .SH SYNOPSIS @@ -28,6 +28,11 @@ directory. .BR \-q , " \-\-quiet" Be quiet - don't print anything. .TP +.B "\-\-nofollow" +Do not follow symbolic link if it the last elemnt of the +.I directory +path. +.TP .BR \-x , " \-\-devno" Show the major/minor numbers of the given blockdevice on standard output. .TP |