From owner-cvs-src@FreeBSD.ORG Mon Nov 3 07:43:54 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D74516A4CF; Mon, 3 Nov 2003 07:43:54 -0800 (PST) Received: from critter.freebsd.dk (critter.freebsd.dk [212.242.86.163]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43CE043FE0; Mon, 3 Nov 2003 07:43:51 -0800 (PST) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.10/8.12.10) with ESMTP id hA3FhjM8031284; Mon, 3 Nov 2003 16:43:46 +0100 (CET) (envelope-from phk@phk.freebsd.dk) To: Sam Leffler From: "Poul-Henning Kamp" In-Reply-To: Your message of "Mon, 03 Nov 2003 07:17:31 PST." <200311030717.31359.sam@errno.com> Date: Mon, 03 Nov 2003 16:43:45 +0100 Message-ID: <31283.1067874225@critter.freebsd.dk> cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf files src/sys/i386/i386 elan-mmcr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 15:43:54 -0000 In message <200311030717.31359.sam@errno.com>, Sam Leffler writes: >On Monday 03 November 2003 03:03 am, Poul-Henning Kamp wrote: >> phk 2003/11/03 03:03:40 PST >> >> FreeBSD src repository >> >> Modified files: >> sys/conf files >> sys/i386/i386 elan-mmcr.c >> Log: >> Change /dev/soekris-errled to be /dev/led/error and make it conditional >> on CPU_SOEKRIS. > >I thought you were adamantly opposed to device subdirs? I thought so too :-) Now seriously... I'm not adamantly against them, I just think they traditionally have been misused terribly, and therefore I will not advocate it as a general solution. In this case I decided that the correct device name would be whatever label the announciator has on the box, and since that can be anything, "error", "disk", "floppy", "cdrom" or for that matter "console", I wanted to make sure we would not have a name-clash. Overall, I think my considered position is that "open namespaces" shall be put in a subdir, volumenames ("/dev/vol/*") announciators ("/dev/led/*") are examples. "Closed namespaces" ("/dev/pty%c%c") does not _have_ to, but given good reason could be put in a subdir (beware of backwards compat). Knowing how hard people are attached to the "good old BSD way", I'm not going to be the one to push for a migration to /dev/disk/* for instance. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.