From owner-svn-src-all@FreeBSD.ORG Mon Nov 15 05:25:52 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27B25106566C; Mon, 15 Nov 2010 05:25:52 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 133568FC24; Mon, 15 Nov 2010 05:25:52 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id oAF5PpJI005453; Mon, 15 Nov 2010 05:25:51 GMT (envelope-from dougb@svn.freebsd.org) Received: (from dougb@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id oAF5Pp8J005442; Mon, 15 Nov 2010 05:25:51 GMT (envelope-from dougb@svn.freebsd.org) Message-Id: <201011150525.oAF5Pp8J005442@svn.freebsd.org> From: Doug Barton Date: Mon, 15 Nov 2010 05:25:51 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r215334 - in head: share/doc/papers/jail share/doc/smm/01.setup share/man/man8 sys/dev/firewire sys/dev/tdfx usr.sbin/config/SMM.doc X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Nov 2010 05:25:52 -0000 Author: dougb Date: Mon Nov 15 05:25:51 2010 New Revision: 215334 URL: http://svn.freebsd.org/changeset/base/215334 Log: Remove references to MAKEDEV(8) Deleted: head/share/man/man8/MAKEDEV.8 Modified: head/share/doc/papers/jail/mgt.ms head/share/doc/smm/01.setup/2.t head/share/doc/smm/01.setup/4.t head/share/doc/smm/01.setup/5.t head/share/doc/smm/01.setup/spell.ok head/share/man/man8/Makefile head/sys/dev/firewire/00README head/sys/dev/tdfx/tdfx_pci.c head/usr.sbin/config/SMM.doc/6.t head/usr.sbin/config/SMM.doc/spell.ok Modified: head/share/doc/papers/jail/mgt.ms ============================================================================== --- head/share/doc/papers/jail/mgt.ms Mon Nov 15 03:13:36 2010 (r215333) +++ head/share/doc/papers/jail/mgt.ms Mon Nov 15 05:25:51 2010 (r215334) @@ -56,8 +56,6 @@ FreeBSD build environment. .PP One notable difference from the default FreeBSD install is that only a limited set of device nodes should be created. -MAKEDEV(8) has been modified to accept a ``jail'' argument that creates -the correct set of nodes. .PP To improve storage efficiency, a fair number of the binaries in the system tree may be deleted, as they are not relevant in a jail environment. Modified: head/share/doc/smm/01.setup/2.t ============================================================================== --- head/share/doc/smm/01.setup/2.t Mon Nov 15 03:13:36 2010 (r215333) +++ head/share/doc/smm/01.setup/2.t Mon Nov 15 05:25:51 2010 (r215334) @@ -482,13 +482,7 @@ lw(2i) l. \fB#\fP \fImount_mfs -s 1000 -T type /dev/null /tmp\fP (create a writable filesystem) (\fItype\fP is the disk type as determined from /etc/disktab) \fB#\fP \fIcd /tmp\fP (connect to that directory) -\fB#\fP \fI../dev/MAKEDEV \*(Dk#\fP (create special files for root disk) -(\fI\*(Dk\fP is the disk type, \fI#\fP is the unit number) -(ignore warning from ``sh'') \fB#\fP \fImount \-uw /tmp/\*(Dk#a /\fP (read-write mount root filesystem) -\fB#\fP \fIcd /dev\fP (go to device directory) -\fB#\fP \fI./MAKEDEV \*(Dk#\fP (create permanent special files for root disk) -(again, ignore warning from ``sh'') .TE .DE .Sh 4 "Step 4: (optional) restoring the root filesystem" @@ -513,8 +507,6 @@ To really create the root filesystem on you should first label the disk as described in step 5 below. Then run the following commands: .DS -\fB#\fP \fIcd /dev\fP -\fB#\fP \fI./MAKEDEV \*(Dk1a\fP \fB#\fP\|\fInewfs /dev/r\*(Dk1a\fP \fB#\fP\|\fImount /dev/\*(Dk1a /mnt\fP \fB#\fP\|\fIcd /mnt\fP @@ -1393,8 +1385,6 @@ To make the .Pn /var filesystem we would do: .DS -\fB#\fP \fIcd /dev\fP -\fB#\fP \fIMAKEDEV \*(Dk1\fP \fB#\fP \fIdisklabel -wr \*(Dk1 "disk type" "disk name"\fP \fB#\fP \fInewfs \*(Dk1f\fP (information about filesystem prints out) Modified: head/share/doc/smm/01.setup/4.t ============================================================================== --- head/share/doc/smm/01.setup/4.t Mon Nov 15 03:13:36 2010 (r215333) +++ head/share/doc/smm/01.setup/4.t Mon Nov 15 05:25:51 2010 (r215334) @@ -30,6 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)4.t 8.1 (Berkeley) 7/29/93 +.\" $FreeBSD$ .\" .ds LH "Installing/Operating \*(4B .ds CF \*(Dy @@ -152,38 +153,11 @@ directory. For all the devices supported by the distribution system, the files in .Pn /dev -are created by the -.Pn /dev/MAKEDEV -shell script. +are created by devfs. .PP Determine the set of devices that you have and create a new .Pn /dev -directory by running the MAKEDEV script. -First create a new directory -.Pn /newdev , -copy MAKEDEV into it, edit the file MAKEDEV.local -to provide an entry for local needs, -and run it to generate a -.Pn /newdev directory. -For instance, -.DS -\fB#\fP \fIcd /\fP -\fB#\fP \fImkdir newdev\fP -\fB#\fP \fIcp dev/MAKEDEV newdev/MAKEDEV\fP -\fB#\fP \fIcd newdev\fP -\fB#\fP \fIMAKEDEV \*(Dk0 pt0 std LOCAL\fP -.DE -Note the ``std'' argument causes standard devices such as -.Pn /dev/console , -the machine console, to be created. -.PP -You can then do -.DS -\fB#\fP \fIcd /\fP -\fB#\fP \fImv dev olddev ; mv newdev dev\fP -\fB#\fP \fIsync\fP -.DE -to install the new device directory. +directory by mounting devfs. .Sh 3 "Building new system images" .PP The kernel configuration of each UNIX system is described by @@ -232,8 +206,8 @@ the file must be edited. .PP To add a new terminal device, be sure the device is configured into the system -and that the special files for the device have been made by -.Pn /dev/MAKEDEV . +and that the special files for the device exist in +.Pn /dev . Then, enable the appropriate lines of .Pn /etc/ttys by setting the ``status'' @@ -335,9 +309,6 @@ Finally note that you should change the terminals to ttyd? where ? is in [0-9a-zA-Z], as some programs use this property of the names to determine if a terminal is a dialup. -Shell commands to do this should be put in the -.Pn /dev/MAKEDEV.local -script. .PP While it is possible to use truly arbitrary strings for terminal names, the accounting and noticeably the Modified: head/share/doc/smm/01.setup/5.t ============================================================================== --- head/share/doc/smm/01.setup/5.t Mon Nov 15 03:13:36 2010 (r215333) +++ head/share/doc/smm/01.setup/5.t Mon Nov 15 05:25:51 2010 (r215334) @@ -30,6 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)5.t 8.1 (Berkeley) 7/27/93 +.\" $FreeBSD$ .\" .ds lq `` .ds rq '' @@ -111,35 +112,6 @@ translations for machines that do not pa command. Additional information is provided in the manual page describing .Xr ESIS (4). -.PP -To use the pseudo terminals just configured, device -entries must be created in the -.Pn /dev -directory. To create 32 -pseudo terminals (plenty, unless you have a heavy network load) -execute the following commands. -.DS -\fB#\fP \fIcd /dev\fP -\fB#\fP \fIMAKEDEV pty0 pty1\fP -.DE -More pseudo terminals may be made by specifying -.Pn pty2 , -.Pn pty3 , -etc. The kernel normally includes support for 32 pseudo terminals -unless the configuration file specifies a different number. -Each pseudo terminal really consists of two files in -.Pn /dev : -a master and a slave. The master pseudo terminal file is named -.Pn /dev/ptyp? , -while the slave side is -.Pn /dev/ttyp? . -Pseudo terminals are also used by several programs not related to the network. -In addition to creating the pseudo terminals, -be sure to install them in the -.Pn /etc/ttys -file (with a `none' in the second column so no -.Xr getty -is started). .Sh 2 "Local subnets" .PP In \*(4B the Internet support Modified: head/share/doc/smm/01.setup/spell.ok ============================================================================== --- head/share/doc/smm/01.setup/spell.ok Mon Nov 15 03:13:36 2010 (r215333) +++ head/share/doc/smm/01.setup/spell.ok Mon Nov 15 05:25:51 2010 (r215334) @@ -1,3 +1,4 @@ +# $FreeBSD$ A1096A AA ACU @@ -91,7 +92,6 @@ LK201 LOGFILE Leffler Luna -MAKEDEV.local MB MC68040 MFS Modified: head/share/man/man8/Makefile ============================================================================== --- head/share/man/man8/Makefile Mon Nov 15 03:13:36 2010 (r215333) +++ head/share/man/man8/Makefile Mon Nov 15 05:25:51 2010 (r215334) @@ -4,7 +4,6 @@ MAN= crash.8 \ diskless.8 \ intro.8 \ - MAKEDEV.8 \ nanobsd.8 \ picobsd.8 \ rc.8 \ Modified: head/sys/dev/firewire/00README ============================================================================== --- head/sys/dev/firewire/00README Mon Nov 15 03:13:36 2010 (r215333) +++ head/sys/dev/firewire/00README Mon Nov 15 05:25:51 2010 (r215334) @@ -44,10 +44,6 @@ IEEE 1394 support for FreeBSD-5.X and 4. - make install - make load - For FreeBSD-4 user: - - - ./MAKEDEV - 3. SBP-II support (sbp) - You need CAM(SCSI) support in your kernel. Modified: head/sys/dev/tdfx/tdfx_pci.c ============================================================================== --- head/sys/dev/tdfx/tdfx_pci.c Mon Nov 15 03:13:36 2010 (r215333) +++ head/sys/dev/tdfx/tdfx_pci.c Mon Nov 15 05:25:51 2010 (r215334) @@ -250,7 +250,7 @@ tdfx_attach(device_t dev) { /* * make_dev registers the cdev to access the 3dfx card from /dev * use hex here for the dev num, simply to provide better support if > 10 - * voodoo cards, for the mad. The user must set the link, or use MAKEDEV. + * voodoo cards, for the mad. The user must set the link. * Why would we want that many voodoo cards anyhow? */ tdfx_info->devt = make_dev(&tdfx_cdev, device_get_unit(dev), Modified: head/usr.sbin/config/SMM.doc/6.t ============================================================================== --- head/usr.sbin/config/SMM.doc/6.t Mon Nov 15 03:13:36 2010 (r215333) +++ head/usr.sbin/config/SMM.doc/6.t Mon Nov 15 05:25:51 2010 (r215334) @@ -30,6 +30,7 @@ .\" SUCH DAMAGE. .\" .\" @(#)6.t 8.1 (Berkeley) 6/8/93 +.\" $FreeBSD$ .\" .\".ds RH "Adding New Devices .ne 2i @@ -230,10 +231,3 @@ Remember that the position in the device table specifies the major device number. The block major number is needed in the ``devices.machine'' file if the device is a disk. -.PP -With the configuration information in place, your configuration -file appropriately modified, and a system reconfigured and rebooted -you should incorporate the shell commands needed to install the special -files in the file system to the file ``/dev/MAKEDEV'' or -``/dev/MAKEDEV.local''. This is discussed in the document ``Installing -and Operating 4.4BSD''. Modified: head/usr.sbin/config/SMM.doc/spell.ok ============================================================================== --- head/usr.sbin/config/SMM.doc/spell.ok Mon Nov 15 03:13:36 2010 (r215333) +++ head/usr.sbin/config/SMM.doc/spell.ok Mon Nov 15 05:25:51 2010 (r215334) @@ -1,3 +1,4 @@ +# $FreeBSD$ ACC ANSEL ARP @@ -38,8 +39,6 @@ Info Karels LH Leffler -MAKEDEV -MAKEDEV.local MASSBUS MAXDSIZ MAXTSIZ