Hilscher Forum
file folder with netPI RTE - Printable Version

+- Hilscher Forum (https://forum.hilscher.com)
+-- Forum: netPI - Ruggedized Raspberry Pi with Industrial Ethernet (https://forum.hilscher.com/Forum-netPI-Ruggedized-Raspberry-Pi-with-Industrial-Ethernet)
+--- Forum: Software (https://forum.hilscher.com/Forum-Software)
+--- Thread: file folder with netPI RTE (/Thread-file-folder-with-netPI-RTE)



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":

[attachment=158]

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

[attachment=159]

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