Hilscher Community Forum
file folder with netPI RTE - Printable Version

+- Hilscher Community Forum (https://forum.hilscher.com)
+-- Forum: netPI 3 - Docker featuring Industrial Raspberry Pi 3 platform (https://forum.hilscher.com/forum-1.html)
+--- Forum: Software (https://forum.hilscher.com/forum-5.html)
+--- Thread: file folder with netPI RTE (/thread-527.html)



file folder with netPI RTE - MGharat - December-5th-2019

Hello,

one of our customer wants to create folder on netpi & save data. He is trying as per attached screenshot...

Can you please guide if it is correct onee to mention path of folder ?

Thanks & BR
Madhumati


RE: file folder with netPI RTE - Armin@netPI - December-5th-2019

Hello,

you and your customer have to make familiar of Linux OS.

Here is one of a million pages you can use if you use a search engine on the web how Linux is managing the file structure:

https://www.howtogeek.com/117435/htg-explains-the-linux-directory-structure-explained/


The same applies for Docker and for a container. Each container has its own file system structure in accordance to the link above.

In your screen shot I see a drive letter "D:\". This is windows and not Linux. In Linux everything starts with "/" as root folder followed by the folder you want to put your data in.

If you want to look into container then you can use Docker Web-GUI calling an embedded console clicking this icon followed by clicking "connect":

   

In this container console you can use the Linux command "dir" to list the container's folder structure

   

And the you can choose the folder you like. I would use the "/var/myfile.csv" folder.

P.S: wery important is that netPIĀ SD card has a lifetime of 10TByte written overall. So if customer wants to write millions of data into CSV database the SD card is getting weared and get destroyed. Read in forum about the chapter SD card durability to get more details