[Yaffs] Is it the yaffs2 bug with yaffs_iterate ?

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Chenjie (K)
Data:  
Para: yaffs, Charles Manning
Asunto: [Yaffs] Is it the yaffs2 bug with yaffs_iterate ?


The test.sh :

#!/bin/bash

echo $1
if [ $1 == "" ];then

         echo $1 is null
         return;
fi


mkdir $1
test_count=0
while [ 1 ]
do

test_count=$(( test_count + 1 ))

touch $1/$test_count
echo $1/$test_count
if [ $test_count -eq 5000 ]; then
         return;
fi


done


###############################


we can run it:
./test.sh /mnt/yaffs2/testdir

and then

cd /mnt/yaffs2
rm -rf testdir

rm: can't remove 'testdir': Directory not empty