From owner-freebsd-bugs Mon Jun 17 0:20:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A1E0537B404 for ; Mon, 17 Jun 2002 00:20:03 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5H7K3x52368; Mon, 17 Jun 2002 00:20:03 -0700 (PDT) (envelope-from gnats) Date: Mon, 17 Jun 2002 00:20:03 -0700 (PDT) Message-Id: <200206170720.g5H7K3x52368@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: dirkx@covalent.net Subject: Re: misc/39381: /dev/vga is created by rc.devfs - even when there is no ttyv0/vga Reply-To: dirkx@covalent.net Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/39381; it has been noted by GNATS. From: dirkx@covalent.net To: bde@zeta.org.au Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: misc/39381: /dev/vga is created by rc.devfs - even when there is no ttyv0/vga Date: Mon, 17 Jun 2002 09:16:00 +0200 (CEST) On Mon, 17 Jun 2002, Bruce Evans wrote: > > Add something along the lines of > > > > if [ -e /dev/ttyv0 ]; then > > ln -fs /dev/ttyv0 /dev/vga > > fi > This leaves about 10 bugs in the 2 (now 4) devfs-specific lines in > this file: I am confused. Today (i.e. in 5-CURRENT) it says: # Setup DEVFS, ie permissions, links etc. # ln -fs /dev/ttyv0 /dev/vga > - rc files should not create anything unless configured to do so. They > especially shouldn't delete correct links unconditionally. (The > correct link is created by MAKEDEV; it is vga -> ttyv0, not vga -> > /dev/ttyv0.) So you argue that the existing rc.devfs should not create the above at all but leave it to MAKEDEV ? > - /dev/vga is compatibilty cruft for a 1993ish version of X (but I think > current X's still use it because of their own compatibility cruft). It > is an especially bad example to put in a file with only 1 example. > - [... comments about style bugs deleted] Or do you argue that the existing rc.devfs should be empty ? Dw. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message