Date: 17 Jul 2000 16:34:14 +0200 From: Dag-Erling Smorgrav <des@flood.ping.uio.no> To: emulation@FreeBSD.ORG Subject: Re: linux.sh should mount linprocfs Message-ID: <xzpu2doesgp.fsf@flood.ping.uio.no> In-Reply-To: Dag-Erling Smorgrav's message of "17 Jul 2000 16:31:10 %2B0200" References: <xzp3dl8g7fw.fsf@flood.ping.uio.no> <xzpya30eslt.fsf@flood.ping.uio.no>
next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@flood.ping.uio.no> writes: > Dag-Erling Smorgrav <des@flood.ping.uio.no> writes: > > +if [ -z $(kldstat -v | grep 'linprocfs') ] ; then > > + kldstat linprocfs > > + mount_linprocfs linprocfs /compat/linux/proc > > fi > Uh, add double quotes around the $() stuff on the first line there. This is definitely not my day! The second kldstat should be a kldload instead. Plus, the linprocfs might be loaded but not mounted, so we need to separate kldload and mount and test for each separately. And it's not really necessary to kldload, since mount_linprocfs will do it if the module isn't loaded already. DES -- Dag-Erling Smorgrav - des@flood.ping.uio.no To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-emulation" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpu2doesgp.fsf>