summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2001-12-04 00:48:21 +0000
committerdes <des@FreeBSD.org>2001-12-04 00:48:21 +0000
commitecc2670185c3e6d9c2488b60092084f60be75379 (patch)
tree1b94138a671858f3d9740fcbf080472fa98204bc /etc
parentd3e87ede479841175521e8fdf9e6a361cda3504c (diff)
downloadFreeBSD-src-ecc2670185c3e6d9c2488b60092084f60be75379.zip
FreeBSD-src-ecc2670185c3e6d9c2488b60092084f60be75379.tar.gz
Call the ATAPI tape devices "ast" and "nast", not "rast" and "nrast". Add
backward compatibility symlinks for good measure. DEVFS already gets this right (except for the symlinks). PR: 24781 Submitted by: Christian Weisgerber <naddy@mips.inka.de> MFC after: 3 days
Diffstat (limited to 'etc')
-rw-r--r--etc/MAKEDEV10
1 files changed, 6 insertions, 4 deletions
diff --git a/etc/MAKEDEV b/etc/MAKEDEV
index fc3875e..61fb0fc 100644
--- a/etc/MAKEDEV
+++ b/etc/MAKEDEV
@@ -861,10 +861,12 @@ ast*)
chr=119
case $unit in
0|1|2|3)
- mknod rast${unit} c $chr $(($unit * 8 + 0)) root:operator
- chmod 640 rast${unit}
- mknod nrast${unit} c $chr $(($unit * 8 + 1)) root:operator
- chmod 640 nrast${unit}
+ mknod ast${unit} c $chr $(($unit * 8 + 0)) root:operator
+ chmod 640 ast${unit}
+ ln -fs ast${unit} rast${unit}
+ mknod nast${unit} c $chr $(($unit * 8 + 1)) root:operator
+ chmod 640 nast${unit}
+ ln -fs nast${unit} nrast${unit}
;;
*)
echo bad unit for tape in: $i
OpenPOWER on IntegriCloud