#
a123502e |
| 22-Apr-2025 |
Brooks Davis <brooks@FreeBSD.org> |
Search for mntopts.h globally, not locally
Change the include directives to use <mntopts.h> instead of "mntopts.h" now that it's installed by libutil (the latter option was dubious regardless since
Search for mntopts.h globally, not locally
Change the include directives to use <mntopts.h> instead of "mntopts.h" now that it's installed by libutil (the latter option was dubious regardless since a -I${SRCTOP}/sbin/mount was required anyway).
Reviewed by: olce, imp, dim, emaste Differential Revision: https://reviews.freebsd.org/D49952
show more ...
|
#
cda23fc3 |
| 22-Apr-2025 |
Brooks Davis <brooks@FreeBSD.org> |
Move mntopts(3) suppport into libutil
Many programs use this functionality so it should be available centrally rather than compiled into each program independently. This has the modest downside of
Move mntopts(3) suppport into libutil
Many programs use this functionality so it should be available centrally rather than compiled into each program independently. This has the modest downside of adding libutil dependencies to some mount_<foo> programs, but many (plus mount(8)) already have those depndencies so this shouldn't be a major imposition.
In commit 906c312bbf74, Kirk said this could be done once the change was merged to FreeBSD 13. That happened in commit 668dfa016698 in 2023.
While here perform related tidying including removing SRCS where the only entry is ${PROG}.c rendering it unnecessary.
Reviewed by: olce, dim, emaste Differential Revision: https://reviews.freebsd.org/D49951
show more ...
|