cvs commit: src/etc/rc.d devfs

Bruce Evans bde at zeta.org.au
Fri May 2 16:16:52 PDT 2003


On Fri, 2 May 2003, Poul-Henning Kamp wrote:

> In message <200305020810.h428AxCw057728 at 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


More information about the cvs-src mailing list