Raspberry PI - Default location on SD Card for text file

brendang
2016-03-07
2016-04-15
  • brendang - 2016-03-07

    Hi

    Where is the default location for a text file I have created using the CAA-File lib. I used their standard example which worked fine but cant seem to find that file.

    Running latest Codesys if it makes any difference.

    Thanks for the help

     
  • eschwellinger

    eschwellinger - 2016-03-07

    Hi,

    you could use the CODESYS file browser to check if it is there...
    the Default is /root/

    BR
    Edwin

    IMG: Codesysfilebrowser.jpg

     
  • brendang - 2016-03-07

    Thanks Edwin

    That is great, I see the file.

    Why could I not find that file when I searched using the linux search?

    Where would I find this file in the linux OS file system?

    Thanks

     
  • JordanCClark - 2016-04-15

    As Edwin stated, the default is in the /root directory.

     
  • eschwellinger

    eschwellinger - 2016-04-15

    Hi,

    Why could I not find that file when I searched using the linux search?
    you need to be 'root' to search in /root so
    a sudo -s and then the search will find it probably.
    BR
    Edwin

     

Log in to post a comment.