On Mon, Jan 09, 2006 at 05:53:35PM +0100, Oliver Neukum wrote: > Does the Windows Explorer draw icons based only on name and metadata? >From what I can see it does icons on non-executable entirely based on the extension and nothing else on the first pass. Executables are looked inside for an icon (and there seems to be cache effects at times, especially visible on the desktop). Then for images a second pass generates icons depending on the contents (with, once again, a cache hidden somewhere). Not a bad strategy, too. Doing a file(1) on everything can only be slow given the random disk accesses it generates. Maybe a file(1) as a _second_ pass would work. OG. - 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/
- Follow-Ups:
- File type by extension is evil (was Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time)
- From: "Bernhard R. Link" <brl@pcpool00.mathematik.uni-freiburg.de>
- Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- From: Lee Revell <rlrevell@joe-job.com>
- File type by extension is evil (was Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time)
- References:
- Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- From: Bernd Petrovitsch <bernd@firmix.at>
- Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- From: Lee Revell <rlrevell@joe-job.com>
- Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- From: Oliver Neukum <oliver@neukum.org>
- Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- Prev by Date: PATCH: Pre UDMA EIDE PIO mode selection
- Next by Date: Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- Previous by thread: Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- Next by thread: Re: Why the DOS has many ntfs read and write driver,but the linux can't for a long time
- Index(es):
![]() |