makedevs
Create a range of special files as specified in a device table. toybox
On Linux
Linux
Create a range of special files as specified in a device table. Each line of the device table has the fields: <name> <type> <mode> <uid> <gid> <major> <minor> <start> <increment> <count> Where name is the file name, and type is one of the following: b Block device c Character device d Directory f Regular file p Named pipe (fifo) Other fields specify permissions, user and group id owning the file, and additional fields for device special files. Use '-' for blank entries, unspecified fields are treated as '-'.
makedevs [-d device_table] rootdir
-dFile containing device table (default reads from stdin)