Can't Get File Serial Number (st_ino) from files on sdCard/Flash
Posted: Sun Sep 24, 2023 5:12 pm
Every thing that is working on C / linux system , Is working on ESP Flash
From here I can get all the usual info , Size , Name , Type of File .. except the st.st_ino
It's always zero
I even get a warning about the proper type to print at compilation and I have to cast it to unsigned long
But it's always Zero .. what am I missing ?
Thanks in advance
Code: Select all
struct stat st ;
char* filePath = "/sdcard/myFile.txt";
stat(filePath, &st);
It's always zero
I even get a warning about the proper type to print at compilation and I have to cast it to unsigned long
But it's always Zero .. what am I missing ?
Thanks in advance