Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Aug 2011 20:55:39 +0200
From:      Ed Schouten <ed@80386.nl>
To:        John Baldwin <jhb@freebsd.org>
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
Message-ID:  <20110827185539.GB1929@hoeg.nl>
In-Reply-To: <201108251142.58276.jhb@freebsd.org>
References:  <201108242214.p7OMEuMP072758@svn.freebsd.org> <201108250749.32660.jhb@freebsd.org> <20110825145126.GZ1929@hoeg.nl> <201108251142.58276.jhb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ed@80386.nl>
 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110827185539.GB1929>