From owner-svn-src-projects@FreeBSD.ORG Sat Aug 27 18:55:40 2011 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF1041065675; Sat, 27 Aug 2011 18:55:40 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from mx0.hoeg.nl (mx0.hoeg.nl [IPv6:2a01:4f8:101:5343::aa]) by mx1.freebsd.org (Postfix) with ESMTP id 8C1578FC14; Sat, 27 Aug 2011 18:55:40 +0000 (UTC) Received: by mx0.hoeg.nl (Postfix, from userid 1000) id 8FB3B2A28CB3; Sat, 27 Aug 2011 20:55:39 +0200 (CEST) Date: Sat, 27 Aug 2011 20:55:39 +0200 From: Ed Schouten To: John Baldwin Message-ID: <20110827185539.GB1929@hoeg.nl> References: <201108242214.p7OMEuMP072758@svn.freebsd.org> <201108250749.32660.jhb@freebsd.org> <20110825145126.GZ1929@hoeg.nl> <201108251142.58276.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5YKxbtAlDq2FnV+Q" Content-Disposition: inline In-Reply-To: <201108251142.58276.jhb@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-projects@freebsd.org, mdf@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r225154 - in projects/ino64/sys/ufs: ffs ufs X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Aug 2011 18:55:41 -0000 --5YKxbtAlDq2FnV+Q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I think if we're ever going to consider extending dev_t, we should just nuke the entire major/minor number thing. If we're only going to fill them with 64 bits of random garbage, we'd better just display them hexadecimal or something. This patch removes all the use of major()/minor()/makedev() as far as possible from all non-contributed software: http://80386.nl/pub/major-minor.txt Keep in mind that this doesn't conflict with POSIX, because POSIX only describes dev_t, not the division in major/minor numbers. For example, the output of ls -l on device nodes is implementation defined. I suspect this message will cause bikesheds. ;-) --=20 Ed Schouten WWW: http://80386.nl/ --5YKxbtAlDq2FnV+Q Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQIcBAEBAgAGBQJOWT2rAAoJEG5e2P40kaK7wcsP/A6mHlnNqfIMBwW6OnhgPw37 XUvf5pB4ZM3KuVk1BV/qTAqLFFz/UZ0uwYr/nByWVhEJA7Ie/QzsoGbmUXTjRhhB gBXMiUaI4BQFFLlYZe4Vycm8R58u0V1P37QhHKbFxm44y/HFJT15HFMfZJGMXpY2 ixZAoIdtaMGF7H4MpKUcTa8NyFY2NlzN/g1FuQttZ2Vk2JrzVgAPgetMG9LK7R+m ju6UrX96ZYiIhsi8SqENaDNqzwLJc5wXGmcrQ8Nuka02DwjUcEv3mPiwnN8QmOV1 4eY6x+cYGFwFEgJkTXg8BmGVRB9XcT53Al9MNX+S90WrQvZUbVfecROjkyukLlNy epNsoEQISqGFeuIiVwrNR3tGg6+KeWzZJ/pXZk1KT8A00en/ZscHjWrzQ5RHrXME Lt6tHaI4dLv2ARA2yo+KWRqG9taK5egfxQIC82D3TPek/yfK12zcUsUbvpToLEk3 6ijC73Un0sRf5tcPFxNdWzq6+N2yd1Gu45KVKZOWDHKxUKb07oZiglaUMHTA+FaN 50sZx+IsSS1BEfDxn3jZ9DiaGl2xgn9XB8+v6McYJeoE1sG55OwUL9jo46TKN/jY t2C75OxtUgo/+4XuK2fGyH33yfZsTZPeaWS4LO2Tns6khEfpTBtmJsip8V9hC9b2 xkmyae0676u9Q/J1X8hH =Gfo0 -----END PGP SIGNATURE----- --5YKxbtAlDq2FnV+Q--