Date: Mon, 30 Jan 2023 07:08:46 -0800 From: Rick Macklem <rick.macklem@gmail.com> To: qroxana <qroxana@protonmail.com> Cc: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: Re: sbin/mount: failed to mount NFS root Message-ID: <CAM5tNy7wvd6fFxBVyMDB_KQoT6n9d1Ju76%2Bmdj_y=0uJAmGb=A@mail.gmail.com> In-Reply-To: <vQPMldPJW1y_xkPXJ2JF3d_8XmV894FN-AVQvHmD-Sjq3ihJR3s0MdFkz0is0UtG0NfuLgpsjI2rbCCPDzDUXBxtQTW5frnGjjpqQkGyjYY=@protonmail.com> References: <vQPMldPJW1y_xkPXJ2JF3d_8XmV894FN-AVQvHmD-Sjq3ihJR3s0MdFkz0is0UtG0NfuLgpsjI2rbCCPDzDUXBxtQTW5frnGjjpqQkGyjYY=@protonmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I think this was fixed by a commit yesterday. rick On Mon, Jan 30, 2023 at 6:51 AM qroxana <qroxana@protonmail.com> wrote: > > /etc/rc failed to run "mount -uw /" when booting from NFS root, > this happened after the commit 906c312bbf7493ccbcce883936d67e5c66a9c3c2, > the previous commit works fine. > > + mount -uw / > af 1 sotype 1 not supported > + echo 'Mounting root filesystem rw failed, startup aborted' > Mounting root filesystem rw failed, startup aborted > ERROR: ABORTING BOOT (sending SIGTERM to parent)! > 2023-01-30T10:09:05.116920+00:00 - init 1 - - /bin/sh on /etc/rc terminated abnormally, going to single user mode > Enter full pathname of shell or RETURN for /bin/sh: > > > commit 906c312bbf7493ccbcce883936d67e5c66a9c3c2 > Author: Kirk McKusick <mckusick@FreeBSD.org> > Date: Sun Jan 15 10:20:48 2023 -0800 > > Document the mntopts(3) functions. > > The mntopts(3) functions support operations associated with a mount > point. The main purpose of this commit is to document the mntopts(3) > functions that now appear in 18 utilities in the base system. See > mntopts(3) for the documentation details. > > The getmntopts() function appeared in 4.4BSD. The build_iovec(), > build_iovec_argf(), free_iovec(), checkpath(), and rmslashes() > functions were added with nmount(8) in FreeBSD 5.0. The getmntpoint() > and chkdoreload() functions are being added in this commit. > > These functions should be in a library but for historic reasons are > in a file in the sources for the mount(8) program. Thus, to access > them the following lines need to be added to the Makefile of the > program wanting to use them: > > SRCS+= getmntopts.c > MOUNT= ${SRCTOP}/sbin/mount > CFLAGS+= -I${MOUNT} > .PATH: ${MOUNT} > > Once these changes have been MFC'ed to 13 they may be made into > a library. > > Reviewed by: kib, gbe > MFC after: 2 weeks > Sponsored by: The FreeBSD Foundation > Differential Revision: https://reviews.freebsd.org/D37907 >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAM5tNy7wvd6fFxBVyMDB_KQoT6n9d1Ju76%2Bmdj_y=0uJAmGb=A>