From owner-svn-doc-all@FreeBSD.ORG Sat Feb 16 17:47:02 2013 Return-Path: Delivered-To: svn-doc-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 232648A4; Sat, 16 Feb 2013 17:47:02 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 1120A6C5; Sat, 16 Feb 2013 17:47:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r1GHl1aa076681; Sat, 16 Feb 2013 17:47:01 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r1GHl1qk076679; Sat, 16 Feb 2013 17:47:01 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201302161747.r1GHl1qk076679@svn.freebsd.org> From: Eitan Adler Date: Sat, 16 Feb 2013 17:47:01 +0000 (UTC) To: doc-committers@freebsd.org, svn-doc-all@freebsd.org, svn-doc-head@freebsd.org Subject: svn commit: r40988 - in head/en_US.ISO8859-1/books/arch-handbook: driverbasics mac X-SVN-Group: doc-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-doc-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the entire doc trees \(except for " user" , " projects" , and " translations" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Feb 2013 17:47:02 -0000 Author: eadler Date: Sat Feb 16 17:47:00 2013 New Revision: 40988 URL: http://svnweb.freebsd.org/changeset/doc/40988 Log: All the bits about MAKEDEV and mknod should be removed. They haven't been necessary since 4.x. Noted by: jhb Approved by: bcr (mentor) Modified: head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml head/en_US.ISO8859-1/books/arch-handbook/mac/chapter.xml Modified: head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml Sat Feb 16 16:51:37 2013 (r40987) +++ head/en_US.ISO8859-1/books/arch-handbook/driverbasics/chapter.xml Sat Feb 16 17:47:00 2013 (r40988) @@ -43,7 +43,6 @@ linker facility `kld'. device nodes - MAKEDEV Most devices in a &unix;-like operating system are accessed through device-nodes, sometimes also called special files. @@ -155,46 +154,6 @@ KMOD=skeleton - - Accessing a Device Driver - - &unix; provides a common set of system calls for user - applications to use. The upper layers of the kernel dispatch - these calls to the corresponding device driver when a user - accesses a device node. The /dev/MAKEDEV - script makes most of the device nodes for your system but if you - are doing your own driver development it may be necessary to - create your own device nodes with - mknod. - - - Creating Static Device Nodes - - device nodesstatic - mknod - - The mknod command requires four - arguments to create a device node. You must specify the name - of the device node, the type of device, the major number of - the device, and the minor number of the device. - - - - Dynamic Device Nodes - - device nodesdynamic - devfs - - The device filesystem, or devfs, provides access to the - kernel's device namespace in the global filesystem namespace. - This eliminates the problems of potentially having a device - driver without a static device node, or a device node without - an installed device driver. Devfs is still a work in - progress, but it is already working quite nicely. - - - - Character Devices Modified: head/en_US.ISO8859-1/books/arch-handbook/mac/chapter.xml ============================================================================== --- head/en_US.ISO8859-1/books/arch-handbook/mac/chapter.xml Sat Feb 16 16:51:37 2013 (r40987) +++ head/en_US.ISO8859-1/books/arch-handbook/mac/chapter.xml Sat Feb 16 17:47:00 2013 (r40988) @@ -5888,7 +5888,7 @@ Label destruction or EPERM for lack of privilege. This call may be made in a number of situations, including as a result of calls to &man.open.2; with - O_CREAT, &man.mknod.2;, &man.mkfifo.2;, and + O_CREAT, &man.mkfifo.2;, and others.