Subject: Re: compat linux and /emul/linux/dev/{null,zero}
To: Juan RP <juan@xtrarom.org>
From: Geert Hendrickx <ghen@NetBSD.org>
List: current-users
Date: 10/17/2006 10:31:57
On Tue, Oct 17, 2006 at 09:29:09AM +0200, Geert Hendrickx wrote:
> On Mon, Oct 16, 2006 at 10:40:03PM +0200, Juan RP wrote:
> > On Mon, 16 Oct 2006 20:26:45 +0000 (UTC)
> > christos@astron.com (Christos Zoulas) wrote:
> >
> > > I don't recall changing anything like that. Who
> > > passes /emul/linux/dev/zero to the program?
> >
> > Bah... ignore me. I had nodev in the /usr partition :-)
> 
> Ah... that finally explains why firefox-linux has been working ok for me on
> some systems and segfaulting on others...  I was always suspecting Xf86 vs.
> xorg and such things...  Thanks for solving this mystery! ;-)

Makes me wonder; why does the suse_base package create those /emul/linux/dev/
entries at all?  Linux emu falls back to /dev/ if they don't exist, right?  The
only one that makes sense is a symlink dsp -> /dev/sound (instead of ./sound
then).  Or is ${PREFIX}/emul/linux/dev/zero different from /dev/zero? :-)

	Geert