Subject: Re: emulators/suse100_base: mtab problem under -current NetBSD/{amd64,i386}
To: Nicolas Joly <njoly@pasteur.fr>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: pkgsrc-users
Date: 10/17/2007 14:23:59
Nicolas Joly wrote:
> Index: INSTALL
> ===================================================================
> RCS file: /cvsroot/pkgsrc/emulators/suse100_base/INSTALL,v
> retrieving revision 1.8
> diff -u -p -r1.8 INSTALL
> --- INSTALL	23 Aug 2007 21:50:23 -0000	1.8
> +++ INSTALL	17 Oct 2007 17:09:09 -0000
> @@ -142,7 +142,7 @@ POST-INSTALL)
>  
>  	# Make /etc/mtab usable for Linux programs.
>  	${RM} -f ${EMULDIR}/etc/mtab
> -	${LN} -fs ${EMULDIR}/proc/mounts ${EMULDIR}/etc/mtab
> +	${LN} -fs ../proc/mounts ${EMULDIR}/etc/mtab

Maybe this should just be:

	${LN} -fs /proc/mounts ${EMULDIR}/etc/mtab

Did NetBSD change the way that symlinks in /emul are resolved to their 
targets?  I thought this used to work without changes on NetBSD 3.x.

	Cheers,

	-- Johnny C. Lam