From owner-freebsd-scsi@freebsd.org Mon Jan 16 07:20:33 2017 Return-Path: Delivered-To: freebsd-scsi@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EDD56CB22A3; Mon, 16 Jan 2017 07:20:33 +0000 (UTC) (envelope-from grog@lemis.com) Received: from www.lemis.com (www.lemis.com [208.86.226.86]) by mx1.freebsd.org (Postfix) with ESMTP id CCC651E19; Mon, 16 Jan 2017 07:20:33 +0000 (UTC) (envelope-from grog@lemis.com) Received: from eureka.lemis.com (www.lemis.com [208.86.226.86]) by www.lemis.com (Postfix) with ESMTP id 533D51B72804; Mon, 16 Jan 2017 07:11:06 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 4DC0F4494B2; Mon, 16 Jan 2017 18:11:05 +1100 (AEDT) Date: Mon, 16 Jan 2017 18:11:05 +1100 From: Greg 'groggy' Lehey To: Aijaz Baig Cc: FreeBSD Hackers , freebsd-scsi@freebsd.org Subject: Re: Understanding the rationale behind dropping of "block devices" Message-ID: <20170116071105.GB4560@eureka.lemis.com> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gj572EiMnwbLXET9" Content-Disposition: inline In-Reply-To: Organization: The FreeBSD Project Phone: +61-3-5346-1370, +61-3-5309-0418 Mobile: 0401 265 606. Use only as instructed. WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 User-Agent: Mutt/1.6.1 (2016-04-27) X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2017 07:20:34 -0000 --gj572EiMnwbLXET9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, 16 January 2017 at 8:10:16 +0530, Aijaz Baig wrote: > > But when I check the disk nodes under /dev I get this > [CODE]ls -l /dev/*disk0 > brw-r----- 1 root operator 14, 0 Jan 2 09:39 /dev/disk0 > crw-r----- 1 root operator 14, 0 Jan 2 09:39 /dev/rdisk0[/CODE] Are you sure that this is FreeBSD? The naming convention looks more like Mac OS, though the major device number doesn't match. FreeBSD has been through a number of disk naming conventions, but I'm pretty sure that we never had anything as straightforward as 'disk'. > what was there earlier in FreeBSD before 'block device support' was > dropped? Apart from the name, things used to look similar. Here a quote from "The Complete FreeBSD", written some time at the end of the last century: crw-r----- 1 root operator 3, 131072 Oct 31 19:59 /dev/rwd0s1a brw-r----- 1 root operator 0, 131072 Oct 31 19:59 /dev/wd0s1a The minor number included partition encoding, thus the large number. Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft mail program reports problems, please read http://lemis.com/broken-MUA --gj572EiMnwbLXET9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iEYEARECAAYFAlh8cgkACgkQIubykFB6QiM7jwCgoqb+1Zq6wHcox91JMKjSJCM8 7WEAmwbm2veBM5jStU+1syjSSVhxzM3D =fMg4 -----END PGP SIGNATURE----- --gj572EiMnwbLXET9--