HomeFreeBSD

Fix for getmntpoint(3) when checking for NFS mount points.

Description

Fix for getmntpoint(3) when checking for NFS mount points.

Only attempt to add /dev/ to f_mntfromname names that result in a
valid character device.

MFC after: 1 week
Reported by: Bjoern A. Zeeb
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D37907

Details

Provenance
mckusickAuthored on Jan 29 2023, 11:12 PM
Differential Revision
D37907: Document mntopts(3) functions and add getmntpoint() and chkdoreload().
Parents
rGea34aa4780e5: rescue: Add fetch(1) to the rescue tool.
Branches
Unknown
Tags
Unknown