MKNOD(1M)

πŸ“¦ version 070715, in nixos 26.05, nixpkgs unstable

✨ mknod(1M) β€” build special file ✨

okay so this is the mknod page from the Maintenance Commands manual, and it's literally about building special files. buckle up, bestie πŸŽ€

🌸 NAME 🌸

mknod β€” build special file

πŸ”₯ SYNOPSIS πŸ”₯

mknod name b | c major minor
mknod name p

πŸ’– DESCRIPTION πŸ’–

mknod makes a special file. First up, the first argument is the name of the entry β€” that's the whole identity of the thing you're creating.

The second argument is b if the special file is block-type (disks, tape) or c if it's character-type (other devices). The last two arguments are numbers specifying the major device type and the minor device β€” like the unit, drive, or line number, iykyk.

If the second argument is p, mknod creates a FIFO special file. periodt. 🫢

πŸ¦‹ SEE ALSO πŸ¦‹


πŸ’– that's the whole page, bestie β€” brought to you by the Heirloom Toolchest, dated 8/15/03. mwah πŸ’‹

πŸ“¦ where this page comes from