Simplifying devfs: minor == unit

Ed Schouten ed at 80386.nl
Tue May 27 17:28:21 UTC 2008


* Julian Elischer <julian at elischer.org> wrote:
> Make sure that old binaries that expect the minor number sot be on a  
> certain format are not broken..
>
> try run some old 2.2.5 binaries in a 2.2.5 jail with /dev mounted and  
> make sure that things like ptys work.

This should not be a problem. Even though they are called minor numbers,
they must not be confused with the device minor numbers which are shown
in /dev. These are always the same as the inode number of the device.

The minor numbers which are currently being used inside the kernel have
no actual purpose, but are only there to remain compatible with certain
KPI's.

-- 
 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: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20080527/1de909c1/attachment.pgp


More information about the freebsd-arch mailing list