Making readdir return '.' and '..' is trivially easy, as all the required information to fake '.' and '..' entries are present.
The lack of '.' and '..' entries hasn't caused any problems despite cramfs/squashfs being used for a large number of years. I'm inclined to believe any application that _relies_ on seeing '.' and '..' returned by readdir is broken. This situation is easily fixed within the application rather than forcing the filesystem to unnecessarily fake '.' and '..' entries which are never used.
<sarcasm>
Yeah, let's fix every broken application on the planet instead of fixing it in one place...
</sarcasm>
-hpa - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/