Subject: port-i386/230: MAKEDEV mods for wt-driver
To: None <gnats-admin>
From: Rafal Boni <rafal@rafal.slip.uiuc.edu>
List: netbsd-bugs
Date: 04/20/1994 17:05:04
>Number: 230
>Category: port-i386
>Synopsis: MAKEDEV missing some nodes for wt driver
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: gnats-admin (GNATS administrator)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Apr 20 17:05:02 1994
>Originator: Rafal Boni
>Organization:
...me organized?? Ha!
>Release: -current, as of Apr. 19
>Environment:
System: NetBSD rafal.slip.uiuc.edu 0.9a RAFAL#0 i386
wt driver compiled in kernel
EVEREX QIC-02 controller, IBM 6157-002 tape drive
>Description:
MAKEDEV is missing several lines that create the fixed-density
nodes for the wt driver, as well as the lines that create the
non-rewinding nodes.
>How-To-Repeat:
try a MAKEDEV wt in /dev. Only two device nodes are made for the
wt driver...
>Fix:
Quoting from the INSTALL file that came w/an older version of the
driver...
*** src/MAKEDEV.orig Tue Apr 12 22:51:46 1994
--- src/MAKEDEV Wed Apr 20 18:27:15 1994
***************
*** 108,118 ****
;;
wt*)
umask 2
! rm -f wt0 rwt0
! mknod wt0 b 3 0; chown root.operator wt0
! mknod rwt0 c 10 0; chown root.operator rwt0
umask 77
;;
fd*|wd*|sd*)
--- 108,124 ----
;;
wt*)
umask 2
! rm -f rwt0a rwt0b rwt0c nrwt0a nrwt0b nrwt0c rwt0 nrwt0
! mknod rwt0a c 10 0 # 150 Mbytes
! mknod rwt0b c 10 8 # 120 Mbytes
! mknod rwt0c c 10 16 # 60 Mbytes
! mknod nrwt0a c 10 4 # 150 Mbytes, no rewind
! mknod nrwt0b c 10 12 # 120 Mbytes, no rewind
! mknod nrwt0c c 10 20 # 60 Mbytes, no rewind
! ln -s rwt0a rwt0
! ln -s nrwt0a nrwt0
umask 77
;;
fd*|wd*|sd*)
>Audit-Trail:
>Unformatted:
------------------------------------------------------------------------------