Simplifying devfs: minor == unit

Julian Elischer julian at elischer.org
Tue May 27 17:33:15 UTC 2008


Ed Schouten wrote:
> * 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.
> 


as long as that is proved to be true..




More information about the freebsd-arch mailing list