Filesystem has been set read-only problem.


case:

  when system is running well ,sudden tf became read-only;

analyze:

  read the kernel log using dmesg , find follow log:

FAT-fs (mmcblk0p1): error, clusters badly computed (59 != 58)
FAT-fs (mmcblk0p1): Filesystem has been set read-only

   what happen:

    when we writing to tf card ,    tf card have  bad clusters ,  so filesystem  been set read-only.

solution:

  umout tf card , the remount tf card, that can solution.

 

       when we can't write to tf card , we can find the problem,

     first : judge the file system is writabe from /proc/mount

     second : maybe tf card none free space. thought : df  -h 

        

  

 

  

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM