Date: Sun, 29 Apr 2018 17:10:57 +0100 From: Mark Raynsford <list+org.freebsd.virtualization@io7m.com> To: freebsd-virtualization <freebsd-virtualization@freebsd.org> Cc: "Rodney W. Grimes" <freebsd-rwg@pdx.rh.CN85.dnsmgr.net> Subject: Re: Read-only view of a ZFS filesystem inside a bhyve guest? Message-ID: <20180429171057.6fe9bf8c@almond.int.arc7.info> In-Reply-To: <20180428113635.4b6b567a@almond.int.arc7.info> References: <20180427174341.03373bc8@almond.int.arc7.info> <201804271842.w3RIgIIo007831@pdx.rh.CN85.dnsmgr.net> <20180428113635.4b6b567a@almond.int.arc7.info>
next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/2DL2Y_mqB8Y6vLpNuaxbBWh Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On 2018-04-28T11:36:35 +0100 Mark Raynsford via freebsd-virtualization <freebsd-virtualization@freebsd.org> wrote: > > Well that's two in favour of NFS. I have one small question: Is there > any way to stop nfsd from forking into the background? I run everything > on the system under process supervision (runit), and this is the first > time I've ever seen a daemon program with no option to stay in the > foreground. >=20 > I can write a wrapper in C that starts up rpcbind and nfsd (the former > *does* have an option to stay in the foreground), but I'd rather not if > I don't have to. I spent a while writing a wrapper[0] that keeps nfsd in the foreground and cleans up when it shuts down, only to discover that there's an entirely undocumented --debug flag[1] that does the same thing. [0] https://github.com/io7m/nfswrap-bsd [1] https://github.com/freebsd/freebsd/blame/master/usr.sbin/nfsd/nfsd.c#L1= 05 --=20 Mark Raynsford | http://www.io7m.com --Sig_/2DL2Y_mqB8Y6vLpNuaxbBWh Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQS4Thd0dhbGF0xo1eVcGntxKBLMBQUCWuXukQAKCRBcGntxKBLM Bc8/AQDxz9PQ3MR3xFGsh7zSHmqdwHznTYOOyoT4+Cc2MYGC7gEAzStS9YTKWXry J1vvjE3szetIyf1dBz5X26mN4NekBQQ= =N85n -----END PGP SIGNATURE----- --Sig_/2DL2Y_mqB8Y6vLpNuaxbBWh--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180429171057.6fe9bf8c>