[PLUG] SCSI device driver

Tomas Kuchta tomas.kuchta.lists at gmail.com
Mon Jan 29 21:10:41 UTC 2018


Yes, this would create soft link to /dev/sr1 and satisfy your application.
And so on...

These links might disappear at some point, but that would be easy to solve,
if it works for you.

Tomas

On Jan 29, 2018 8:49 AM, "John Jason Jordan" <johnxj at gmx.com> wrote:

On Mon, 29 Jan 2018 02:22:22 -0800
Tomas Kuchta <tomas.kuchta.lists at gmail.com> dijo:

>Pretty old distro/kernel. For what is worth it - I do not have the same
>problem with 16.04.
>
>Anyway, how about creating soft link pointing to /dev/sr?. Did you try
>that?

No, I did not. try creating a soft link. I assume it would need to
point /dev/sg* to /dev/sr0 and /dev/sr1 (my optical drives).

ls -la /dev/sg*
crw-rw----+ 1 root cdrom 21, 0 Jan 23 16:33 /dev/sg0
crw-rw----  1 root disk  21, 1 Jan 23 16:33 /dev/sg1
crw-rw----+ 1 root cdrom 21, 2 Jan 23 16:33 /dev/sg2
crw-rw----  1 root disk  21, 3 Jan 23 16:33 /dev/sg3
crw-rw----  1 root disk  21, 4 Jan 23 16:34 /dev/sg4
crw-rw----  1 root disk  21, 5 Jan 26 23:00 /dev/sg5

I note that the /dev folder has sx zero byte files for sg0 - 5, plus
zero byte sr0 and sr1.
I assume the syntax should be ln -s /dev/sg0 /dev/sr0, and
ln -s /dev/sg2 /dev/sr1, right? Or do I have that backwards?
_______________________________________________
PLUG mailing list
PLUG at pdxlinux.org
http://lists.pdxlinux.org/mailman/listinfo/plug



More information about the PLUG mailing list