]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC: r321689
authorrmacklem <rmacklem@FreeBSD.org>
Fri, 25 Aug 2017 22:58:54 +0000 (22:58 +0000)
committerrmacklem <rmacklem@FreeBSD.org>
Fri, 25 Aug 2017 22:58:54 +0000 (22:58 +0000)
commitbb11ab4b4ed8fd944bddfe3cd56df9415ea58ecb
tree93faf7bd76a6ae809ceb4e5e76ca16abdf3096bc
parent1621ad28208b6680c1519d0ac5f6b75c196d60e6
MFC: r321689
Add a new "-N" option to umount(8), that does a forced dismount of an NFS mount
point.

The new "-N" option does a forced dismount of an NFS mount point, but avoids
doing any checking of the mounted-on path, so that it will not get hung
when a vnode lock is held by another hung process on the mounted-on vnode.
The most common case of this is a "umount" with the "-f" option.
Other than avoiding checking the mounted-on path, it performs the same
forced dismount as a successful "umount -f" would do.

This commit includes a content change to the man page.
sbin/umount/umount.8
sbin/umount/umount.c