From sziszi@petra.hos.u-szeged.hu  Mon Nov 20 14:11:00 2000
Return-Path: <sziszi@petra.hos.u-szeged.hu>
Received: from sol.cc.u-szeged.hu (sol.cc.u-szeged.hu [160.114.8.24])
	by hub.freebsd.org (Postfix) with ESMTP id 300C437B4CF
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Nov 2000 14:10:59 -0800 (PST)
Received: from petra.hos.u-szeged.hu by sol.cc.u-szeged.hu (8.9.3+Sun/SMI-SVR4)
	id XAA07771; Mon, 20 Nov 2000 23:10:57 +0100 (MET)
Received: from sziszi by petra.hos.u-szeged.hu with local (Exim 3.12 #1 (Debian))
	id 13xz9N-0000eE-00
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 20 Nov 2000 23:10:57 +0100
Message-Id: <20001120231057.A2335@petra.hos.u-szeged.hu>
Date: Mon, 20 Nov 2000 23:10:57 +0100
From: Szilveszter Adam <sziszi@petra.hos.u-szeged.hu>
To: FreeBSD-gnats-submit@freebsd.org
Subject: [PATCH] Missing section in the Handbook

>Number:         22996
>Category:       docs
>Synopsis:       Missing section in the Handbook
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 20 14:20:01 PST 2000
>Closed-Date:    Tue Dec 5 04:54:53 PST 2000
>Last-Modified:  Tue Dec 05 04:55:18 PST 2000
>Originator:     Szilveszter Adam
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
Szeged University, Eotvos Lorand Dormitory
>Environment:

My desk, current thread on -stable about phasing out support for DD disk
installs in sysinstall.

>Description:

OK, reading all the messages on -stable about DD mode, I remebered that the
section in the Handbook was still incomplete, so I got inspired, and wrote
it based on the manpages for fdisk(8), disklabel(8) and my own experience
of adding a similar (albeit ATA) disk not long ago.

>How-To-Repeat:

Well, read the mailing lists and think of something useful to do before
going to bed!:-)

>Fix:


Index: chapter.sgml
===================================================================
RCS file: /usr/home/cc/toys/ncvs/doc/en_US.ISO_8859-1/books/handbook/disks/chapter.sgml,v
retrieving revision 1.23
diff -u -r1.23 chapter.sgml
--- chapter.sgml	2000/07/19 02:07:46	1.23
+++ chapter.sgml	2000/11/20 21:50:21
@@ -510,9 +510,30 @@
       <title>Using Command Line Utilities</title>
 
       <sect3>
-	<title>* Using Slices</title>
+	<title>Using Slices</title>
 
-	<para></para>
+	<para>This setup will allow your disk to work correctly with
+	other operating systems that might be installed on your
+	computer and will not confuse other operating systems' fdisk
+	utilities. It is recommended to use this method for new disk
+	installs. Use <literal>dedicated</literal> mode only, if you
+	have a good reason to do so!</para>
+
+	<screen>&prompt.root; <userinput>dd if=/dev/zero of=/dev/rda1 bs=1k count=1</userinput>
+&prompt.root; <userinput>fdisk -BI da1</userinput> #Initialize your new disk
+&prompt.root; <userinput>disklabel -B -w -r da1s1 auto</userinput> #Label it.
+&prompt.root; <userinput>disklabel -e da1s1</userinput> # Now edit the disklabel you just created and add any partitions.
+&prompt.root; <userinput>mkdir -p /1</userinput>
+&prompt.root; <userinput>newfs /dev/da1s1e</userinput> # Repeat this for every partition you created.
+&prompt.root; <userinput>mount -t ufs /dev/da1s1e /1</userinput> # Mount the partition(s)
+&prompt.root; <userinput>vi /etc/fstab</userinput> # When satisfied, add the appropriate entry/entries to your <filename>/etc/fstab</filename>.</screen>
+
+	<para>That was it! It is not difficult.</para>
+
+	<para>If you have an IDE disk, subsitute <filename>ad</filename>
+	for <filename>da</filename>. On pre-4.x systems use
+	<filename>wd</filename>.</para> 
+	
       </sect3>
       
       <sect3>

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-doc 
Responsible-Changed-By: asmodai 
Responsible-Changed-When: Tue Nov 21 06:49:09 PST 2000 
Responsible-Changed-Why:  
Misfiled PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22996 
State-Changed-From-To: open->closed 
State-Changed-By: jim 
State-Changed-When: Tue Dec 5 04:54:53 PST 2000 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22996 
>Unformatted:
