Messages in this thread | | | Date | Sat, 26 Mar 2005 02:14:18 +0000 | From | Phillip Lougher <> | Subject | Re: Squashfs without ./.. |
| |
H. Peter Anvin wrote: > Phil Lougher wrote: > >> >> 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> >
Fixing it in Squashfs implies Squashfs is broken. It isn't. If it has to be "fixed" in the kenel, fix it in the VFS, it is after all the VFS which makes '.' and '..' handling redundant in the filesystem.
> -hpa >
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |