Menu

#1 tcdr doesnt work when other scsi devices are present

open
nobody
None
5
2004-01-26
2004-01-26
Anonymous
No

Line 343 works on 2.4.x kernels by adding 'grep -v 0':

SCSICDNR=$(awk '{print }'
/proc/scsi/sg/devices|grep -v '0' | wc -l|t\r -d " ")

The problem is that the for other scsi devices that
aren't cd-rom's , that column appears to be 0, and tcdr
seems to think that their presence in
/proc/scsi/sg/device indicates that they're a cd-rw.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.