chickadee » posix-extras » make-device-number

make-device-number major minorprocedure

Create a single device number from the given device MAJOR and MINOR IDs.

Note: The resulting device number is capped at 32 bits even on platforms with 64-bit device IDs. You can still, however, create files with full-width device numbers with create-special-file and friends.