[Yaffs] [yaffs]yaffs2 file size error after mount

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: mal
Date:  
To: yaffs
Subject: [Yaffs] [yaffs]yaffs2 file size error after mount
Hi all,
    I am using arm11 board with 128MB NAND device.After mount,I use ls -la command shows below:

# ls -la

drwxr-xr-x    1 root     root          2048 Dec 13 21:34 .

drwxr-xr-x   23 root     root             0 Jan  1  1970 ..

drwx------    1 root     root          2048 Dec 13 21:34 lost+found

-rwx------    1 root     root     146028888098 Apr 20  2016 yaffs_test1

-rwx------    1 root     root     73014444049 Apr 20  2016 yaffs_test2

-rw-rw-r--    1 root     root             0 Apr 20  2016 yaffs_test3

-rw-rw-r--    1 root     root     31898722114819 Apr 20  2016 yaffs_test4

The acutal yaffs_test4 size is 7427(0x1D03),but kernel stat size is 31898722114819(0x1D0300001D03).

Ps: my kernel version is 2.6.35

Regards,

xukai