From: Paolo M. <pao...@gm...> - 2008-10-22 06:57:17
|
Hi, I was trying to understand the problem related to rename on cofs (and check if the patch was OK for me). To do it I write a simple script to run on cofs. This is the script (I call it test.sh) dd if=/dev/zero of=CCCC count=5 2>/dev/null mv CCCC DDDD cont=1 while [ $cont = 1 ] do stat DDDD 2>&1 > /dev/null if [ $? != 0 ]; then echo -n ERROR else echo OK cont=0 fi done If I run it, it does not show me the problem related to rename on cofs. On my PC I don't see the problem. This is my output. root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh OK *But I see an other problem* If I run it several times and I relanch it ***quickly*** after termination I see these message, that sometimes show an error. This error, if I understand correctly, is different from the #2176188. root@darkstar:/win/d# ./test.sh mv: `CCCC' and `DDDD' are the same file OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh mv: `CCCC' and `DDDD' are the same file OK root@darkstar:/win/d# ./test.sh mv: `CCCC' and `DDDD' are the same file OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh mv: `CCCC' and `DDDD' are the same file OK root@darkstar:/win/d# ./test.sh OK root@darkstar:/win/d# ./test.sh mv: `CCCC' and `DDDD' are the same file OK I use 0.7.3. Regards Paolo |