| Summary: | the mknod(8) man page stills refers to block devices although they no longer exist | ||
|---|---|---|---|
| Product: | Documentation | Reporter: | thierry <thierry> |
| Component: | Books & Articles | Assignee: | Poul-Henning Kamp <phk> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
State Changed From-To: open->analyzed Do you have any proposed text for the mknod(8) man page now that block devices are gone? mknod still supports the creation of block devices, so perhaps we should just mentioned why we don't use them anymore in FreeBSD? - Murray Responsible Changed From-To: freebsd-doc->phk phk is the authority here. State Changed From-To: analyzed->closed The ability to create 'b' notes have been retained in order to be able to create the necessary device entries for any alien OS booting diskless off a FreeBSD server. |
the mknod(8) man page says : -------- b | c Type of device. If the device is a block type device such as a tape or disk drive which needs both cooked and raw special files, the type is b. All other devices are character type devices, such as terminal and pseudo devices, and are type c. --------- a brief look at the MAKEDEV code shows : --------- test% grep mknod MAKEDEV | grep " b " test% --------- the "b" option is no longer used (but the option is still present in the 1.13 version of mknod.c ....) Fix: check that the "b" option is no longer used, the rip it off of the code and man page