From naddy@mips.inka.de  Thu Feb  1 06:33:40 2001
Return-Path: <naddy@mips.inka.de>
Received: from mail.inka.de (quechua.inka.de [212.227.14.2])
	by hub.freebsd.org (Postfix) with ESMTP id 38C9537B491
	for <FreeBSD-gnats-submit@freebsd.org>; Thu,  1 Feb 2001 06:33:39 -0800 (PST)
Received: from kemoauc.mips.inka.de (uucp@)
	by mail.inka.de with local-bsmtp 
	id 14OKnp-0006Bg-00; Thu, 1 Feb 2001 15:33:37 +0100
Received: (from naddy@localhost)
	by kemoauc.mips.inka.de (8.11.1/8.11.1) id f11E6jK17912;
	Thu, 1 Feb 2001 15:06:45 +0100 (CET)
	(envelope-from naddy)
Message-Id: <200102011406.f11E6jK17912@kemoauc.mips.inka.de>
Date: Thu, 1 Feb 2001 15:06:45 +0100 (CET)
From: Christian Weisgerber <naddy@mips.inka.de>
Reply-To: naddy@mips.inka.de
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: MAKEDEV: rast* -> ast*
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         24781
>Category:       conf
>Synopsis:       MAKEDEV: rast* -> ast*
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    des
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 01 06:40:01 PST 2001
>Closed-Date:    Thu Dec 6 01:08:27 PST 2001
>Last-Modified:  Thu Dec 06 01:08:28 PST 2001
>Originator:     Christian Weisgerber
>Release:        FreeBSD 5.0-CURRENT alpha
>Organization:
>Environment:
System: FreeBSD kemoauc.mips.inka.de 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Dec 25 13:44:16 CET 2000 naddy@kemoauc.mips.inka.de:/usr/obj/usr/src/sys/KEMOAUC alpha

>Description:

Contrary to the man page and common expectation the ATAPI tape
device nodes are still called rast0/nrast0 etc.  The leading 'r'
for "raw device" has been removed from all other device names, and
the ast devices should follow the current convention.

A set of 'r' device nodes can still be created as compatibility
links.

This change should go into both -CURRENT and 4.x-STABLE.

>How-To-Repeat:

>Fix:

Index: MAKEDEV
===================================================================
RCS file: /home/ncvs/src/etc/MAKEDEV,v
retrieving revision 1.286
diff -u -r1.286 MAKEDEV
--- MAKEDEV	2001/01/26 01:13:29	1.286
+++ MAKEDEV	2001/02/01 13:58:12
@@ -810,10 +810,12 @@
 	chr=119
 	case $unit in
 	0|1|2|3)
-		mknod rast${unit} c $chr `expr $unit '*' 8 + 0` root:operator
-		chmod 640 rast${unit}
-		mknod nrast${unit} c $chr `expr $unit '*' 8 + 1` root:operator
-		chmod 640 nrast${unit}
+		mknod ast${unit} c $chr `expr $unit '*' 8 + 0` root:operator
+		chmod 640 ast${unit}
+		ln -f ast${unit} rast${unit}
+		mknod nast${unit} c $chr `expr $unit '*' 8 + 1` root:operator
+		chmod 640 nast${unit}
+		ln -f nast${unit} nrast${unit}
 		;;
 	*)
 		echo bad unit for tape in: $i

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: des 
State-Changed-When: Mon Dec 3 16:48:57 PST 2001 
State-Changed-Why:  
Fixed in -CURRENT, awaiting MFC. 


Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: des 
Responsible-Changed-When: Mon Dec 3 16:48:57 PST 2001 
Responsible-Changed-Why:  
I'll take this. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=24781 
State-Changed-From-To: feedback->closed 
State-Changed-By: des 
State-Changed-When: Thu Dec 6 01:08:27 PST 2001 
State-Changed-Why:  
MFCed, thanks! 

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