TimJTi commented on issue #16074:
URL: https://github.com/apache/nuttx/issues/16074#issuecomment-3119783992

   > > Ha. Just tripped up on this and could not for the life of me see why I 
couldn't stat files on bch/ftl mtd!!! Wasted all day thinking it was me being 
dumb.
   > > I have written a work around in my app but it would be good to see a 
proper solution.
   > > In other words...BUMP!
   > 
   > Out of curiosity, what is your workaround? I ended up with calling mtd 
ioctl GET_GEOMETRY if I need stats from MTD device. Aren't full stats though...
   
   As I was typing my answer to you I realise my issue is subtly different, but 
perhaps related. I have been dealing with my BCH/FTL stuff all week and leapt 
to a conclusion.
   
   What I was seeing is that real files on a partitioned and mounted QSPI GD55 
flash - albeit with with some partitions using BCH/FTL for NXboot -  formatted 
with littleFS. The LittleFS partition will not "stat" using the usual `opendir` 
followed by stat of `direntry->d_name`...it flatly refused to work. The example 
app "stat" behaved the same.


-- 
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-unsubscr...@nuttx.apache.org

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

Reply via email to