opnsense-src/libexec
Mateusz Piotrowski 0bf6e572bd rc.d/linux: Attempt to mount only if necessary
Currently, if the linux service is run twice, mount(8) fails with:

    mount: linprocfs: Device busy
    mount: linsysfs: Device busy
    mount: devfs: Device busy
    mount: fdescfs: Device busy
    mount: tmpfs: Device busy

It is a bit more user-friendly if before running mount(8) the service
checks if there are any file systems left to be mounted. This patch
implements this behavior.

Also, while here, create mount points directories (as suggested by
otis).

Reviewed by:	trasz
Approved by:	trasz (src)
Differential Revision:	https://reviews.freebsd.org/D32463

(cherry picked from commit 5690261858)
2022-02-16 23:54:44 +00:00
..
atf pkgbase: Install atf and kyua in the tests package 2021-01-04 16:20:47 +01:00
atrun
blacklistd-helper
bootpd bootp: remove the USE_BFUNCS knob 2021-10-06 02:14:39 -05:00
comsat
dma Only set WARNS if not defined 2020-09-11 13:28:37 +00:00
fingerd Update Makefile.depend files 2019-12-11 17:37:53 +00:00
flua stand: lua: enhance lfs.dir() to speed up kernels_autodetect 2021-02-03 00:55:47 -06:00
ftpd pkgbase: Create a FreeBSD-ftpd package 2022-01-05 18:23:52 +01:00
getty pkgbase: Put more binaries/lib in runtime 2022-01-05 18:23:51 +01:00
hyperv pkgbase: Create a FreeBSD-hyperv package 2022-01-05 18:23:50 +01:00
mail.local
makewhatis.local
mknetid
phttpget phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
pppoed
rbootd Fix the following -Werror warning from clang 10.0.0 in rbootd: 2020-01-28 19:19:55 +00:00
rc rc.d/linux: Attempt to mount only if necessary 2022-02-16 23:54:44 +00:00
revnetgroup
rpc.rquotad pkgbase: Create a FreeBSD-nfs package 2021-06-30 09:24:32 +02:00
rpc.rstatd
rpc.rusersd
rpc.rwalld
rpc.sprayd
rtld-elf rtld: Add ${TOKEN} aliases to $TOKEN 2022-02-18 04:01:24 +02:00
rtld-elf32 libcompat: Correct rtld MLINKS 2019-11-12 22:31:59 +00:00
save-entropy Reduce disk write load in /usr/libexec/save-entropy. 2019-11-30 20:06:53 +00:00
smrsh
talkd Regularize my copyright notice 2019-12-04 16:56:11 +00:00
tcpd pkgbase: Create a FreeBSD-tcpd package 2022-01-05 18:23:52 +01:00
telnetd pkgbase: Create a FreeBSD-telnet package 2022-01-05 18:23:49 +01:00
tests
tftp-proxy (t)ftp-proxy: use libpfctl 2021-05-07 10:15:42 +02:00
tftpd When receiving a file having a length, which is a mulitple of the blocksize, 2020-12-15 09:43:18 +00:00
ulog-helper
ypxfr pkgbase: Put yellow pages programs to its own package 2022-01-05 18:23:51 +01:00
Makefile phttpget: move out of portsnap 2020-09-09 00:39:47 +00:00
Makefile.amd64
Makefile.i386
Makefile.inc Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00