[lkml]   [2006]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectFile 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)
    * Olivier Galibert <> [060109 19:44]:
    > >From what I can see it does icons on non-executable entirely based on
    > the extension and nothing else on the first pass.
    > 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.

    That may be a good strategy if you have user conditioned to all the
    effects you get by this (i.e. if you only focus on Windows users and
    want them provide with a system as broken as they know it) and programs
    adopted to cope with the most ill effects (ever asked why some browsers
    always foozle the name of downloaded files with some .html or the like?)

    For everyone else looking at the file is the only sane way to know the type
    of file.

    Bernhard R. Link
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-01-10 11:35    [W:0.018 / U:16.496 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site