You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/12/17 13:55:25 UTC

[GitHub] [incubator-nuttx] yanyunyouyou opened a new issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

yanyunyouyou opened a new issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020


   I used stm32f429i-disco:nsh configuration example ,and just enable the fat filesystem . The ramdisk can be created ,but mkfatfs can not work.  
   ![图片](https://user-images.githubusercontent.com/38059431/146554391-c5313629-081f-4c60-8b11-1cf2c120eaa3.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] pkarashchenko closed issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
pkarashchenko closed issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] anjiahao1 commented on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
anjiahao1 commented on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-997716636


   try it:
   ```
   mkrd -m 10 -s 512 1024
   mount -t fatfs -o forceformat /dev/ram10 /data
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] pkarashchenko commented on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
pkarashchenko commented on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-1008134766


   @yanyunyouyou is the issue still relevant or you are satisfied with the answer?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] yanyunyouyou commented on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
yanyunyouyou commented on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-1009952699


   
   ![无标题](https://user-images.githubusercontent.com/38059431/148948847-ab3f60f9-cd8b-4fbb-a63a-ce4cc6df2e55.png)
   It took me a long time to solve this problem. The main reason is that I use WSL and vscode. Some incorrect configurations lead to incorrect header files. I changed to Ubuntu 18.04, recompiled, and the command can be executed. Thank anjiahao1 for the advice, but the answer is wrong. Please see my screenshot.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] yanyunyouyou commented on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
yanyunyouyou commented on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-1009968152


   > @yanyunyouyou is the issue still relevant or you are satisfied with the answer?
        
   ![Uploading 无标题.png…]()
   It took me a long time to solve this problem. The main reason is that I use WSL and vscode. Some incorrect configurations lead to incorrect header files. I changed to Ubuntu 18.04, recompiled, and the command can be executed. Thank anjiahao1 for the advice, but the answer is wrong. Please see my screenshot.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] pkarashchenko commented on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
pkarashchenko commented on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-1010462306


   Yes. `mount` does not know what is `-t fatfs` and `vfat` does not have `-o forceformat` option (it is from `littlefs`).
   So if I understand correctly the issue is resolved and can be closed?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] yanyunyouyou commented on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
yanyunyouyou commented on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-1010548610


   Yes,it can be closed now。Thank you。
   
   
   
   
   ------------------&nbsp;原始邮件&nbsp;------------------
   发件人: "Petro ***@***.***&gt;; 
   发送时间: 2022年1月12日(星期三) 上午7:34
   收件人: ***@***.***&gt;; 
   抄送: ***@***.***&gt;; ***@***.***&gt;; 
   主题: Re: [apache/incubator-nuttx] ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6 (Issue #5020)
   
   
   
   
   
    
   Yes. mount does not know what is -t fatfs and vfat does not have -o forceformat option (it is from littlefs).
    So if I understand correctly the issue is resolved and can be closed?
    
   —
   Reply to this email directly, view it on GitHub, or unsubscribe.
   Triage notifications on the go with GitHub Mobile for iOS or Android. 
   You are receiving this because you were mentioned.Message ID: ***@***.***&gt;


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] yanyunyouyou edited a comment on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
yanyunyouyou edited a comment on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-1009968152


   > @yanyunyouyou is the issue still relevant or you are satisfied with the answer?
        
   ![无标题](https://user-images.githubusercontent.com/38059431/148952522-76549241-357d-4aab-89af-b788bc10049e.png)
   
   It took me a long time to solve this problem. The main reason is that I use WSL and vscode. Some incorrect configurations lead to incorrect header files. I changed to Ubuntu 18.04, recompiled, and the command can be executed. Thank anjiahao1 for the advice, but the answer is wrong. Please see my screenshot.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] yanyunyouyou removed a comment on issue #5020: ramdisk can be created,but mkfatfs /dev/ram0 falied with errno = 6

Posted by GitBox <gi...@apache.org>.
yanyunyouyou removed a comment on issue #5020:
URL: https://github.com/apache/incubator-nuttx/issues/5020#issuecomment-1009952699


   
   ![无标题](https://user-images.githubusercontent.com/38059431/148948847-ab3f60f9-cd8b-4fbb-a63a-ce4cc6df2e55.png)
   It took me a long time to solve this problem. The main reason is that I use WSL and vscode. Some incorrect configurations lead to incorrect header files. I changed to Ubuntu 18.04, recompiled, and the command can be executed. Thank anjiahao1 for the advice, but the answer is wrong. Please see my screenshot.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org