Bug 28949

Summary: the mknod(8) man page stills refers to block devices although they no longer exist
Product: Documentation Reporter: thierry <thierry>
Component: Books & ArticlesAssignee: Poul-Henning Kamp <phk>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description thierry 2001-07-13 16:20:01 UTC
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
Comment 1 Murray Stokely freebsd_committer freebsd_triage 2001-09-04 00:50:56 UTC
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 



Comment 2 Murray Stokely freebsd_committer freebsd_triage 2001-09-04 00:50:56 UTC
Responsible Changed
From-To: freebsd-doc->phk

phk is the authority here.
Comment 3 Poul-Henning Kamp freebsd_committer freebsd_triage 2003-07-29 11:19:18 UTC
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.