freebsd-skq/sbin/mount
sef f0e5ce5f10 Add two options to allow mount to avoid covering up existing mount points.
The two options are

* nocover/cover:  Prevent/allow mounting over an existing root mountpoint.
E.g., "mount -t ufs -o nocover /dev/sd1a /usr/local" will fail if /usr/local
is already a mountpoint.
* emptydir/noemptydir:  Prevent/allow mounting on a non-empty directory.
E.g., "mount -t ufs -o emptydir /dev/sd1a /usr" will fail.

Neither of these options is intended to be a default, for historical and
compatibility reasons.

Reviewed by:	allanjude, kib
Differential Revision:	https://reviews.freebsd.org/D21458
2019-09-23 04:28:07 +00:00
..
extern.h various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
getmntopts.3
getmntopts.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
Makefile
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mntopts.h Add two options to allow mount to avoid covering up existing mount points. 2019-09-23 04:28:07 +00:00
mount_fs.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
mount.8 Add two options to allow mount to avoid covering up existing mount points. 2019-09-23 04:28:07 +00:00
mount.c Add two options to allow mount to avoid covering up existing mount points. 2019-09-23 04:28:07 +00:00
pathnames.h General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
vfslist.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00