From owner-freebsd-current Wed Jun 24 04:28:32 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA09563 for freebsd-current-outgoing; Wed, 24 Jun 1998 04:28:32 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.15.68.22]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA09475 for ; Wed, 24 Jun 1998 04:28:05 -0700 (PDT) (envelope-from bde@godzilla.zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.8.7) id VAA08509; Wed, 24 Jun 1998 21:27:36 +1000 Date: Wed, 24 Jun 1998 21:27:36 +1000 From: Bruce Evans Message-Id: <199806241127.VAA08509@godzilla.zeta.org.au> To: chuckr@glue.umd.edu, phk@critter.freebsd.dk Subject: Re: Heads up: block devices to disappear! Cc: freebsd-current@FreeBSD.ORG Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >It's really simple, blockdevices are now only used for mounting, the >kernel can easily figure this out, so there is no need to have special >device nodes for this. Block devices are also used for buffering. Examples: a) Linux fsck.ext2 does partial sector i/o's, so it does not work on character disk devices. It works OK on block disk devices despite lack of support for some special ioctls. b) The simple binary editor that I use reads/writes precisely the bytes bytes inspected/changed. This is normally the correct thing for a binary editor to do, but it does not work on character disk devices. c) Caching of (small) slow media, e.g.,: sleep 1000