Bug#182704: Debconf configuration sets use_fbdev without asking, making X unstartable
On Don, 2003-02-27 at 21:48, Daniel Burrows wrote:
> On Thu, Feb 27, 2003 at 06:51:02PM +0100, Michel Dänzer <daenzer@debian.org> was heard to say:
> > On Don, 2003-02-27 at 13:26, Daniel Burrows wrote:
> > >
> > > It seems like this happens because /proc/fb exists, and
> > > [ -n "$(cat /proc/fb)" ] fails. On my computer, /proc/fb is a zero-byte
> > > file, which is probably why the test fails:
> > >
> > > torrent.burrows.local:~> wc -c /proc/fb
> > > 0 /proc/fb
> >
> > Probably not:
> >
> > daenzer@thor> wc -c /proc/fb ~
> > 0 /proc/fb
> > daenzer@thor> cat /proc/fb ~
> > 0 M9 Lf
>
> My, that's messed up..anyway, maybe I should have used the example
> where I tested [ -n $(cat /proc/fb) ] and it failed. How's this?
> torrent:~> cat /proc/fb
> torrent:~> od /proc/fb
> 0000000
> torrent:~> cat /proc/fb | wc -c
> 0
Weird. Anyway, the test certainly isn't adequate because Option
"UseFBDev" doesn't work with generic framebuffer devices like vesafb,
OFfb, ...
--
Earthling Michel Dänzer (MrCooper)/ Debian GNU/Linux (powerpc) developer
XFree86 and DRI project member / CS student, Free Software enthusiast
Reply to: