Re: sbin/mount: failed to mount NFS root

From: qroxana <qroxana_at_protonmail.com>
Date: Tue, 31 Jan 2023 13:06:47 UTC
------- Original Message -------
On Monday, January 30th, 2023 at 3:08 PM, Rick Macklem <rick.macklem@gmail.com> wrote:

> I think this was fixed by a commit yesterday.
> 
> rick
>

Thanks Rick. Yes, it has been fixed.

commit ad055467bec35885dc3eff2f4dd765f5b2f53259
Author:     Kirk McKusick <mckusick@FreeBSD.org>
AuthorDate: Sun Jan 29 15:12:48 2023 -0800
Commit:     Kirk McKusick <mckusick@FreeBSD.org>
CommitDate: Sun Jan 29 15:14:43 2023 -0800

    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