Sometimes my CD-ROM is mapped to /dev/sg0 and sometimes to /dev/sg1. How do I detect the currently mapped device in a bash script?
Asked
Active
Viewed 543 times