即时配置文件_为什么不是所有文件搜索工具都将主文件表用于即时结果?

即时配置文件_为什么不是所有文件搜索工具都将主文件表用于即时结果?

即时配置文件

即时配置文件_为什么不是所有文件搜索工具都将主文件表用于即时结果?

File table-based search is lightning fast, so why isn’t it included in every major search tool? Read on as we investigate.

基于文件表的搜索速度很快,那么为什么每个主要搜索工具中都没有包含它? 在我们进行调查时,请继续阅读。

Today’s Question & Answer session comes to us courtesy of SuperUser—a subdivision of Stack Exchange, a community-driven grouping of Q&A web sites.

今天的“问答”环节由SuperUser提供,它是Stack Exchange的一个分支,该社区是由社区驱动的Q&A网站分组。

问题 (The Question)

SuperUser reader Dan Dascalescu is curious why all search isn’t table-based:

超级用户读者Dan Dascalescu很好奇为什么所有搜索都不基于表:

I’ve just discovered UltraSearch and was blown away by its file and folder search speed. It’s instantaneous. And doesn’t use any indexing service. It simply uses the NTFS Master File Table, which already stores all the filenames on the NTFS partition.

我刚刚发现了UltraSearch,并对其文件和文件夹搜索速度感到震惊。 瞬间 。 并且不使用任何索引服务。 它仅使用NTFS主文件表 ,该已经将所有文件名存储在NTFS分区上。

The question is, why isn’t this capability way more popular among file managers, and Windows Explorer Search (Win+F) to begin with?

现在的问题是,为什么不是文件管理器中这种能力的方式更受欢迎,和Windows资源管理器搜索(WIN + F)与开始?

We’re pretty confident this is the reaction of every computer user upon first encountering just how blisteringly fast file table-based search is. So why isn’t it built into everything?

我们非常有信心,这是每位计算机用户在初次遇到基于文件表的快速搜索时的React。 那么为什么它不内置于所有内容中呢?

答案 (The Answer)

SuperUser contributor Mehrdad explains why low-level search has never caught on:

超级用户贡献者Mehrdad解释了为什么低级搜索从未流行:

Because of Security!

因为安全!

That’s the real reason. (And the only real reason, in my opinion — it’s not that hard to make a reader for major file systems, although it’s by no means easy; making a writer is the real challenge.)

那才是真正的原因。 (而且只有真正的原因,在我看来-这并不作出大的文件系统阅读器,虽然它绝不是简单的;做一个作家是真正的挑战。)

A program like this bypasses the entire (file) system’s security infrastructure, so only an administrator (or someone else who has “Manage Volume” privileges) can actually run it.

这样的程序会绕过整个(文件)系统的安全基础结构,因此只有管理员(或具有“管理卷”权限的其他人)才能真正运行它。

So obviously, it wouldn’t work in many scenarios — and I don’t think Microsoft (or any other big company) would ever consider making a product like this and then encouraging users to run as administrators, because of the security ramifications.

因此,显然,它在许多情况下都行不通 -而且我认为Microsoft(或任何其他大公司)不会考虑过制造这样的产品,然后由于安全问题而鼓励用户以管理员身份运行

It would be theoretically possible to make a system which runs in the background and filters out secured data, but in practice it would be a lot of work to get correct and without security holes for production.

这在理论上可能使该程序在后台运行,并过滤掉安全数据的系统,但在实践中这将是一个大量的工作来获得正确的生产和没有安全漏洞。

By the way I haven’t used UltraSearch, but I’d written a very similar program myself a few years ago which I open-sourced just last month! Check it out if you’re interested. :)

顺便说一下,我还没有使用过UltraSearch,但是几年前我自己写了一个非常类似的程序,上个月才开源了! 如果有兴趣,请查看。 :)



Have something to add to the explanation? Sound off in the the comments. Want to read more answers from other tech-savvy Stack Exchange users? Check out the full discussion thread here.

有什么补充说明吗? 在评论中听起来不对。 是否想从其他精通Stack Exchange的用户那里获得更多答案? 在此处查看完整的讨论线程

翻译自: https://www.howtogeek.com/149250/why-dont-all-file-search-tools-use-the-master-file-table-for-instant-results/

即时配置文件