From owner-freebsd-current@FreeBSD.ORG Thu Sep 4 01:30:14 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B6E116A4BF; Thu, 4 Sep 2003 01:30:14 -0700 (PDT) Received: from exc-1.cc.CyberCity.dk (esplanaden.cybercity.dk [212.242.40.114]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD42F43FBD; Thu, 4 Sep 2003 01:30:12 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk ([172.16.7.254]) by exc-1.cc.CyberCity.dk over TLS secured channel with Microsoft SMTPSVC(5.0.2195.6713); Thu, 4 Sep 2003 10:30:11 +0200 Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h848F4ev001032; Thu, 4 Sep 2003 10:15:04 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: current@freebsd.org, arch@freebsd.org From: Poul-Henning Kamp Date: Thu, 04 Sep 2003 10:15:04 +0200 Message-ID: <1031.1062663304@critter.freebsd.dk> X-OriginalArrivalTime: 04 Sep 2003 08:30:11.0200 (UTC) FILETIME=[C17C3000:01C372BE] Subject: DISCUSSION: /dev/fd%d.%d and /dev/{a}cd%d[ac] to be discontinued ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Sep 2003 08:30:14 -0000 I am committing a BURN_BRIDGES patch which puts the density select devices of the floppy driver and the 'a' and 'c' compat partitions of the CD drivers on the chopping block for 6-current. There is no loss of functionality from this, the fdcontrol(8) utility allows even greater flexibility than the density select devices do for floppies and the 'a' and 'c' compat parititons can be simulated with symlinks from userland should any critical application be found to have hardcoded paths. The use of device cloning functions in disk drivers under GEOM is not as such impossible, but it would be quite complicated and I would rather avoid it unless we have much better killer apps for it than these two uses. As soon as these uses of cloning code has been removed, I will move the floppy and CD drivers under GEOM, paving the way for the significant changes to the buf/VM system which some of you have already heard rumours about. (more will emerge after BSDcon'03) And now comes the bit which I would like to offer for discussion: Should we do this for 5.2 instead ? By pulling this into 5.2, the divergence between 5-stable and 6-current can be managed much better, and we will be able to backport much more from 6-current to 5-stable than we would be able to otherwise. If we do not do this I fear that it will be close to impossible to MFC filesystem work in practice. And let me repeat: the only loss of functionality is the density select devices for floppy disks which will have to be done with the fdcontrol(8) utility instead. -- 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.