Date: Sun, 20 Nov 2011 17:56:01 +0800 From: darcsis@gmail.com (Denise H. G.) To: Alexander Best <arundel@freebsd.org> Cc: freebsd-toolchain@freebsd.org Subject: Re: 'make installkernel' succeeding on read-only fs? Message-ID: <8739djf77y.fsf@pluton.xbsd.name> In-Reply-To: <20111119112418.GA42980@freebsd.org> (Alexander Best's message of "Sat, 19 Nov 2011 11:24:18 %2B0000") References: <20111119112418.GA42980@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2011/11/19 at 19:24, Alexander Best <arundel@freebsd.org> wrote: > > hi there, > just stumbled upon this little detail: > > 1) have "/" mounted read-only > 2) 'make buildkernel' > 3) 'make installkernel && echo "success"' > -> this will fail > 4) 'mount -uw /' > 5) 'make installkernel && echo "success"' > -> this will succeed > 6) 'mount -ur /' > 7) 'make installkernel && echo "success"' > -> this will succeed. why? According to mount(8), 'mount -ur /' will fail if / is already mounted read-write with any files currently opened by some processes. I think this might be your case. > > cheers. > alex > ................ -- If you've got them by the balls, their hearts and minds will follow.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8739djf77y.fsf>