Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 Feb 2001 15:06:45 +0100 (CET)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   conf/24781: MAKEDEV: rast* -> ast*
Message-ID:  <200102011406.f11E6jK17912@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help

>Number:         24781
>Category:       conf
>Synopsis:       MAKEDEV: rast* -> ast*
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 01 06:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102011406.f11E6jK17912>