title: What's the udev-like thing on OSX and how does it work?
body: <p>If I plug a USB-serial adapter into my Mac, a new device shows up in /dev, such as /dev/tty.usbmodem1421 or /dev/tty.usbserial-A7048O1O.</p>
  
  <p>If this were Linux, I'd be looking for an udev rule that explains where the device name came from, and why it was created.</p>
  
  <p>But this is OSX. How are device names allocated on the Mac (e.g. why those funny numbers in the device name), and which piece of code does that?</p>