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:
parent
b29a303db7
commit
738859d47e
10
etc/MAKEDEV
10
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
|
||||
|
Loading…
Reference in New Issue
Block a user