From owner-freebsd-hackers Tue Dec 4 15:39: 5 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from avocet.prod.itd.earthlink.net (avocet.mail.pas.earthlink.net [207.217.120.50]) by hub.freebsd.org (Postfix) with ESMTP id EEA8937B417 for ; Tue, 4 Dec 2001 15:39:00 -0800 (PST) Received: from pool0363.cvx22-bradley.dialup.earthlink.net ([209.179.199.108] helo=mindspring.com) by avocet.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16BP9F-0004zg-00; Tue, 04 Dec 2001 15:38:50 -0800 Message-ID: <3C0D5E91.3D45207B@mindspring.com> Date: Tue, 04 Dec 2001 15:38:57 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: David Malone Cc: Dragon Fire , freebsd-hackers@FreeBSD.ORG Subject: Re: block devices References: <005501c17cc4$c770d7a0$037d6041@gandalf> <20011204140738.A30798@walton.maths.tcd.ie> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG David Malone wrote: > On Tue, Dec 04, 2001 at 08:08:34AM -0500, Dragon Fire wrote: > > I was trolling around the FreeBSD kernel source and the dev directory and > > noticed there is no bdevsw structure and no block driver files. Is > > everything implemented in terms of character devices now? Looks like all the > > support for block devices is contained in the cdevsw struct. > > Since no userland programs ever really had a good excuse for > accessing block devices they have been retired from /dev. Block > devices still exist, but are only accessable within the kernel. Actually, I found a third reason for block devices (apart from the Apple UDF FS and disk initialization) the other day: to permit reading of QIC-11 and QIC-24 tapes produeces on NCR Tower-XP, NCR Tower-32, and Sun-3 equipment. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message