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
This commit is contained in:
Dag-Erling Smørgrav 2001-12-04 00:48:21 +00:00
parent b29a303db7
commit 738859d47e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87314

View File

@ -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