From 9241c2dd3803a37888c6223e9be3a28a314228df Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Thu, 5 Dec 2002 15:56:53 +0000 Subject: [PATCH] Various updates for the ccd chapter to take into account 5.0: we no longer accept a "units" argument to the kernel configuration entry. Devfs now does all the device management, eschew use of MAKEDEV. Note: I haven't yet tested all the commands here, I suspect some instances of "ccd0c" may need to become simply "ccd0". --- .../books/handbook/disks/chapter.sgml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml index ce6c88f167..97f6080a96 100644 --- a/en_US.ISO8859-1/books/handbook/disks/chapter.sgml +++ b/en_US.ISO8859-1/books/handbook/disks/chapter.sgml @@ -421,6 +421,11 @@ ad3: 29333MB <WDC WD307AA> [59598/16/63] at ata1-slave UDMA33pseudo-device ccd 4 + In FreeBSD 5.0, it is not necessary to specify + a number of ccd devices, as the ccd device driver is now + cloning -- new device instances will automatically be + created on demand. + ccd support can also be loaded as a kernel loadable module in FreeBSD 4.0 or later. @@ -480,6 +485,10 @@ disklabel -e ad3 cd /dev sh MAKEDEV ccd0 + In FreeBSD 5.0, &man.devfs.5; will automatically + manage device nodes in /dev, so use of + MAKEDEV is not necessary. + The next argument ccdconfig expects is the interleave for the file system. The interleave defines the size of a stripe in disk blocks, normally five @@ -931,6 +940,11 @@ scsibus1: &prompt.root; cd /dev &prompt.root; sh MAKEDEV acd0t99 + + In FreeBSD 5.0, &man.devfs.5; will automatically + create and manage entries in /dev + for you, so it is not necessary to use + MAKEDEV. @@ -1103,6 +1117,9 @@ scsibus1: /dev. To do it, you can issue: &prompt.root; cd /dev && ./MAKEDEV "fd*" + In FreeBSD 5.0, &man.devfs.5; will automatically + manage device nodes in /dev, so use of + MAKEDEV is not necessary.