problem with cp and rm files in yaffs.

Apr 27, 2008 0 Replies
[root@LHWT /]$ df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 7579576 7318032 0 100% / /dev/mtdblock/3 53248 37264 15984 70% /mnt [root@LHWT /]$ cp /tmp/Traumerei.wma /mnt [root@LHWT /]$ df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 7579576 7318032 0 100% / /dev/mtdblock/3 53248 50544 2704 95% /mnt [root@LHWT /]$ ls /dev/root ls: /dev/root: No such file or directory [root@LHWT /]$ ls /mnt/ Traumerei.wma lost+found [root@LHWT /]$ rm /mnt/* rm: /mnt/lost+found: is a directory [root@LHWT /]$ ls /mnt lost+found [root@LHWT /]$ df Filesystem 1k-blocks Used Available Use% Mounted on /dev/root 7579576 7318032 0 100% / /dev/mtdblock/3 53248 47504 5744 89% /mnt

==========================================================================



as you can see. if I keep copying and deleting the same file "Traumerei.wma" (~3Mbytes). the available space in mtdblock3 will become smaller and smaller. finally, i can't even mkdir.



is it something wrong with my vivi ?kernel ? or busybox?



thanks.


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required