[Pkg-iscsi-maintainers] Bug#765431: open-iscsi: umountiscsi.sh script does not properly check while traverse sysfs structure

Dmitry Danilov dmitry at bti.secna.ru
Thu Oct 16 03:40:12 UTC 2014


Hello,

15.10.2014 17:49, Ritesh Raj Sarraf пишет:
> Hello Dmitry,
>
> Thank you for the patch. Since I do not have an iscsi setup handy with
> me right now, I'm gonna depend on you for some questions.
>
>
> On Wednesday 15 October 2014 08:31 AM, Dmitry Danilov wrote:
>>   		for BLOCK_FILE in $SESSION_DIR/target*/*\:*/block/*; do
>> +			if  ! [ -d $BLOCK_FILE ]; then
>> +				continue
>> +			fi
>
> I named the variable BLOCK_FILE. From what I'm guessing, it'd give us
> the file names type block. No ??
>
> --
> Ritesh Raj Sarraf
> RESEARCHUT -http://www.researchut.com
> "Necessity is the mother of invention."
>
	Yes, as I see, BLOCK_FILE variable should serves that.

--
Dmitry Danilov.



More information about the Pkg-iscsi-maintainers mailing list