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.
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.
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?