# cat /proc/yaffs YAFFS built:Feb 2 2008 23:56:53 $Id: yaffs_fs.c,v 1.33 2005/10/27 22:24:04 marty Exp $ $Id: yaffs_guts.c,v 1.22 2005/10/13 02:17:00 charles Exp $ Device 0 "filesystem1" startBlock......... 0 endBlock........... 4095 chunkGroupBits..... 3 chunkGroupSize..... 8 nErasedBlocks...... 12 nTnodesCreated..... 0 nFreeTnodes........ 0 nObjectsCreated.... 100 nFreeObjects....... 96 nFreeChunks........ 768 nPageWrites........ 0 nPageReads......... 0 nBlockErasures..... 0 nGCCopies.......... 0 garbageCollections. 0 passiveGCs......... 0 nRetriedWrites..... 0 nRetireBlocks...... 0 eccFixed........... 0 eccUnfixed......... 0 tagsEccFixed....... 0 tagsEccUnfixed..... 0 cacheHits.......... 0 nDeletedFiles...... 0 nUnlinkedFiles..... 0 nBackgroudDeletions 0 useNANDECC......... 1 isYaffs2........... 1
I am suprised the nFreeChunks is 768,is it mean only 768 pages can be used? 2009-02-13 zuowenping 发件人: zuowenping 发送时间: 2009-02-13 14:57:29 收件人: davinci-linux-open-source 抄送: 主题: flash_eraseall and mount a mtd ,it show 100% used,why? dear all: I use a new nand flash,and i make 4 partions for bootloader,params,kernel,filesystem when i use a ramdisk for run the kernel success! i operated like: flase_eraseall /dev/mtd3 mount -t yaffs2 /dev/mtdblock3 /mnt dh -h # df -h Filesystem Size Used Available Use% Mounted on /dev/root 9.7M 8.0M 1.2M 87% / tmpfs 966.6M 11.9M 954.7M 1% /tmp /dev/root 9.7M 8.0M 1.2M 87% /dev/.static/dev none 10.0M 2.5M 7.5M 25% /dev tmpfs 55.8M 0 55.8M 0% /dev/shm none 55.8M 12.0k 55.8M 0% /var/run none 966.6M 11.9M 954.7M 1% /tmp /dev/mmcblk0p1 966.6M 11.9M 954.7M 1% /tmp /dev/mtdblock3 1016.0M 1012.4M 3.6M 100% /mnt //puzzled 100% so i cann't load my rootfs, All files used over 10M size! 2009-02-13 zuowenping
_______________________________________________ Davinci-linux-open-source mailing list Davinci-linux-open-source@linux.davincidsp.com http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source