Linux major/minor conversion not entirely correct

John E Hein jhein at timing.com
Mon Jun 2 15:13:52 UTC 2008


Ed Schouten wrote at 16:47 +0200 on Jun  2, 2008:
 > > Where does the magic number 136 come from?
 > 
 > Linux uses major numbers 136,137,138,... for PTY's.

We should probably point that out in a comment &/or #define.

I've heard no plans to change the device numbering scheme in linux in
the near future.  So this magic number should likely be stable for
some time to come, correct?


More information about the freebsd-emulation mailing list