Magnetic Tape drive

Hi,

i’m using Linux Open Suse 10.2(kernel 2.6.18.2-34-default).As normal linux distro, we can detect scsi magnetic tape drive from /dev/nst0 or /dev/st0.
But,from linux Open Suse 10.2, i try to ls /dev/ and coud not find any nst or st. Could someone help me regarding this?

First, check whether the “st” driver is loaded or not. Use the lsmod command for this.

st driver uses 9 as the major device number. So, you may (as root) create the device nodes as follows:


mknod -m 666 /dev/st0 c 9 0
mknod -m 666 /dev/st0l c 9 32
mknod -m 666 /dev/st0m c 9 64
mknod -m 666 /dev/st0a c 9 96
mknod -m 666 /dev/nst0 c 9 128
mknod -m 666 /dev/nst0l c 9 160
mknod -m 666 /dev/nst0m c 9 192
mknod -m 666 /dev/nst0a c 9 224

Thanks for the info,
But, after i reboot my machine,my nodes that been created seems gone again. Is there any other way to permanently added this nodes?