svn commit: r225154 - in projects/ino64/sys/ufs: ffs ufs
Ed Schouten
ed at 80386.nl
Sat Aug 27 18:55:41 UTC 2011
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. ;-)
--
Ed Schouten <ed at 80386.nl>
WWW: http://80386.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/svn-src-projects/attachments/20110827/95b60c05/attachment.pgp
More information about the svn-src-projects
mailing list