pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/35481: cdrecord won't find a cd1 if there's no cd0



>Number:         35481
>Category:       pkg
>Synopsis:       cdrecord won't find a cd1 if there's no cd0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 25 22:50:00 +0000 2007
>Originator:     Sergey Svishchev
>Release:        3.0.2_PATCH
>Organization:
>Environment:
>Description:
k3b uses cdrecord for CD-R[W] writing tasks and invokes it with 
'dev=<bus>,<target>,<lun>' argument.  The code in scsi-bsd.c attempts to find a 
device node (/dev/rcd?d) that matches these <bus>, <target> and <lun>; this 
code stops after first failure.  If cd0 does not exist, but cd1 does, the code 
will fail to match cd1.

Also, the code doesn't use getrawpartition().
>How-To-Repeat:
Try to burn a CD from K3b to /dev/rcd1d ?
>Fix:
begin 644 scsi-bsd.new.tar.gz
M'XL(`+(RN44``^T8_7/:1M:_BK_BU4D3L"188<`]*)E@D[A,B=TQN.E-+L,(
M:06JA<1I5TZY-O_[O;<K`4[2V+W>M=<9O1_$?KRO?9^[B(W(9!B)AN>G,DDB
M82="^+=^8^U*;\F%_K7=\.`_!^8PUFFU#AC"2:>M?IU\CM`Y;CL'#FNW69MU
M.LT.KCLG)TUVP'Z'S`=#)J2;`AR(6W$/'D\_C_&7A,<77)Y.AH\K%=NV(0KG
MPELTA"=">R[\NE=/TG!A-!EKV<RQG18TC[O.<9>UZZP`,.E;,4WS8_+*\^=@
M'__-ZH")WQ/`*9I;AI[A+='JLYGP$-=_\Q;Z%:C`HRSV>6`('@N.LS#VHLSG
M\+78",4T3.K+9Q5SMT&A2TM(VSBJ`!P9K]TT#N-%%S9)!BMW`R@H7G"0RU"`
M2++4XQ;,,PEAH%#\!+=<J11MG:"*9NNK^Q1%,6?+)!&<.*00NRL.82PD=WU(
M`C@4WC*,-H?@QCZJ<,/!BS@R(3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