Hi Patrik, > > > This is useful for filesystems where d_type is always DT_UNKNOWN. > > > For example: reiserfs > > > > is this really only reiserfs? Is that filesystem still in use? > > Got a comment from Samuel saying that jffs2, ubifs and nfs might also do > this. I tried to figure out that this was the case but I failed > miserably trying to understand which filesystems report DT_UNKNOWN > instead of DT_DIR. Since the readdir man page is documentation, it's not > overly helpful with details either. > > That said, patch applied.
any chance we print an annoying ofono_warn() when we see DT_UNKNOWN. Maybe that way these filesystems get fixed. Regards Marcel _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman