I can't find tape device file inside /dev directory
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
lsscsi
[1:0:0:0] cd/dvd NECVMWar VMware IDE CDR10 1.00 /dev/sr0
[2:0:0:0] disk VMware Virtual disk 1.0 /dev/sda
[2:0:1:0] mediumx HP 1x8 autoloader 1.50 /dev/sch0
But the tape device file (st* or nst*) inside the /dev directory has not been created.
From your /proc/devices, you should have a /dev/st* name. Now it is possible that udev may have altered its name, but it should show up with the device number of 9 (the entry for "9 st"). You also have the changer recorded as "86 ch", so the /dev entry with the device number 86 should also show up (again, possibly renamed by udev).
That implies that udev doesn't know how to create them.
You can try a quickie test using "mknod /dev/st0 c 9 0", and see if the device responds when using /dev/st0. If you are trying the changer use "mknod /dev/ch0 c 86 0", and that should give access to it.
Now I haven't created any udev rules (never needed to) so you would have to look those up in other places, but if the devices work with the mknod then they can work with udev too.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.