Re: fakeroot fails to handle device files
Goswin von Brederlow wrote:
> Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> writes:
>
> > Hello All,
> >
> > fakeroot (as of today's unstable) fails to handle device files
> > correctly, at least on my mips box. This means the d-i images
> > have _regular_ files in /dev:
> >
> >
> > iris14:~/devel/debian-installer$ ls -l build/tmp/netboot/tree/dev/*
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39
> > build/tmp/netboot/tree/dev/console
> >
> > build/tmp/netboot/tree/dev/rd:
> > total 0
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39 0
> >
> > build/tmp/netboot/tree/dev/vc:
> > total 0
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39 0
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39 1
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39 2
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39 3
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39 4
> > -rw-r--r-- 1 ica2_ts csv 0 Nov 20 21:39 5
> >
> >
> > Of course, booting from them fails with "unable to open an initial
> > console". Running "fakeroot mknod ..." shows the same problem. Has
> > anybody else seen this, or is just my installation broken?
>
> Hmm, that normaly doesn't matter a bit because d-i uses devfs.
I thought so, too, but {m68k,mips,mipsel,sparc} define USERDEVFS=t
in build/config/arch/linux-$ARCH.
Thiemo
Reply to: