Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 May 2003 09:16:37 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d devfs 
Message-ID:  <20030503090527.F33245@gamplex.bde.org>
In-Reply-To: <10211.1051867762@critter.freebsd.dk>
References:  <10211.1051867762@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 May 2003, Poul-Henning Kamp wrote:

> In message <200305020810.h428AxCw057728@repoman.freebsd.org>, Mike Makonnen wri
> tes:
> >mtm         2003/05/02 01:10:59 PDT
> >
> >  FreeBSD src repository
> >
> >  Modified files:
> >    etc/rc.d             devfs
> >  Log:
> >  Create a symbolic link /dev/vga -> /dev/ttyv0.
>
> Why isn't this link created by the device driver anyway ?

Some drivers don't fully support devfs yet.

As explained in MAKEDEV in RELENG_4, /dev/vga is compatibility
cruft for a pccons interface and/or X.  It shouldn't exist, but
still seems to be used by X:

$ strings -a /usr/X11R6/bin/* 2>&1 | grep dev/vga
strings: /usr/X11R6/bin/xterm: Permission denied
/dev/vga
xf86MapVidMem: Could not mmap /dev/vga (%s)
/dev/vga
xf86MapVidMem: Could not mmap /dev/vga (%s)
/dev/vga
Cannot open /dev/vga
xf86MapVidMem: Could not mmap /dev/vga (%s)
xf86MapVidMem: Could not mmap /dev/vga (%s)
$ grep -lr dev/vga /usr/X11R6 2>&1
grep: /usr/X11R6/bin/xterm: Permission denied
/usr/X11R6/bin/XFree86
/usr/X11R6/bin/kbd_mode
/usr/X11R6/bin/pcitweak
/usr/X11R6/bin/scanpci
/usr/X11R6/bin/X.bck

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030503090527.F33245>