From nobody@FreeBSD.org Fri Jul 13 08:16:10 2001 Return-Path: Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6B60B37B403 for ; Fri, 13 Jul 2001 08:16:09 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6DFG9915770; Fri, 13 Jul 2001 08:16:09 -0700 (PDT) (envelope-from nobody) Message-Id: <200107131516.f6DFG9915770@freefall.freebsd.org> Date: Fri, 13 Jul 2001 08:16:09 -0700 (PDT) From: thierry herbelot To: freebsd-gnats-submit@FreeBSD.org Subject: the mknod(8) man page stills refers to block devices although they no longer exist X-Send-Pr-Version: www-1.0 >Number: 28949 >Category: docs >Synopsis: the mknod(8) man page stills refers to block devices although they no longer exist >Confidential: no >Severity: non-critical >Priority: low >Responsible: phk >State: closed >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri Jul 13 08:20:01 PDT 2001 >Closed-Date: Tue Jul 29 03:20:05 PDT 2003 >Last-Modified: Tue Jul 29 03:20:05 PDT 2003 >Originator: thierry herbelot >Release: 4.3-RELEASE >Organization: >Environment: FreeBSD test.XXX 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Wed Jul 11 15:50:08 CEST 2001 test.XXX:/usr/src/sys/compile/test i386 >Description: 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 ....) >How-To-Repeat: >Fix: check that the "b" option is no longer used, the rip it off of the code and man page >Release-Note: >Audit-Trail: State-Changed-From-To: open->analyzed State-Changed-By: murray State-Changed-When: Mon Sep 3 16:50:56 PDT 2001 State-Changed-Why: 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 Responsible-Changed-By: murray Responsible-Changed-When: Mon Sep 3 16:50:56 PDT 2001 Responsible-Changed-Why: phk is the authority here. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28949 State-Changed-From-To: analyzed->closed State-Changed-By: phk State-Changed-When: Tue Jul 29 03:19:18 PDT 2003 State-Changed-Why: 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. http://www.freebsd.org/cgi/query-pr.cgi?pr=28949 >Unformatted: