From charon@labs.gr  Sat Sep 15 14:21:30 2001
Return-Path: <charon@labs.gr>
Received: from mailsrv.otenet.gr (mailsrv.otenet.gr [195.170.0.5])
	by hub.freebsd.org (Postfix) with ESMTP id 537E337B408
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 15 Sep 2001 14:21:29 -0700 (PDT)
Received: from hades.hell.gr (patr530-b106.otenet.gr [195.167.121.234])
	by mailsrv.otenet.gr (8.11.5/8.11.5) with ESMTP id f8FLL4d15272
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 16 Sep 2001 00:21:09 +0300 (EEST)
Received: (from charon@localhost)
	by hades.hell.gr (8.11.6/8.11.6) id f8FGiDg00101;
	Sat, 15 Sep 2001 19:44:13 +0300 (EEST)
	(envelope-from charon)
Message-Id: <200109151644.f8FGiDg00101@hades.hell.gr>
Date: Sat, 15 Sep 2001 19:44:13 +0300 (EEST)
From: Giorgos Keramidas <charon@labs.gr>
Reply-To: Giorgos Keramidas <charon@labs.gr>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: correction of $d to ad2 in example of articles/formatting-media
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         30602
>Category:       docs
>Synopsis:       correction of $d to ad2 in example of articles/formatting-media
>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:   Sat Sep 15 14:30:00 PDT 2001
>Closed-Date:    Sun Sep 16 18:32:37 PDT 2001
>Last-Modified:  Sun Sep 16 18:33:00 PDT 2001
>Originator:     Giorgos Keramidas
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD hades.hell.gr 5.0-CURRENT FreeBSD 5.0-CURRENT #5: Tue Sep 4 19:49:44 EEST 2001 root@hades.hell.gr:/usr/obj/usr/src/sys/CHARON i386
	
>Description:

	The formatting-media article in one of the examples uses ad2 in the
	first command listed, and $d in the second.

>How-To-Repeat:
	
		% grep '$d' article.sgml

>Fix:

--- patch-aa begins here ---
Index: article.sgml
===================================================================
RCS file: /home/ncvs/doc/en_US.ISO8859-1/articles/formatting-media/article.sgml,v
retrieving revision 1.20
diff -u -r1.20 article.sgml
--- article.sgml	21 Aug 2001 20:16:45 -0000	1.20
+++ article.sgml	15 Sep 2001 02:38:06 -0000
@@ -315,7 +315,7 @@
         
       <informalexample>
 	<screen>&prompt.root; <userinput>dd if=/dev/zero of=/dev/ad2 count=2</userinput>
-&prompt.root; <userinput>disklabel /dev/$d > /tmp/label</userinput>
+&prompt.root; <userinput>disklabel /dev/ad2 > /tmp/label</userinput>
 <lineannotation>Edit disklabel to add partitions:</lineannotation>
 &prompt.root; <userinput>vi /tmp/label</userinput>
 &prompt.root; <userinput>disklabel -B -R -r ad2 /tmp/label</userinput>
--- patch-aa ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: murray 
State-Changed-When: Sun Sep 16 18:32:37 PDT 2001 
State-Changed-Why:  
Your fix has been committed, thanks!  It may take up to 24 hours 
before the web site is updated. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30602 
>Unformatted:
