为什么存在 Windows 注册表? [英] Why does the Windows registry exist?

查看:53
本文介绍了为什么存在 Windows 注册表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是比直接编程更多的操作系统架构问题,但仍然如此.为什么 Windows 注册表被创建为一个完全独立的子系统来存储系统/应用程序设置?在 *nix 操作系统中有/etc 目录,这是完全可以理解的,因为文件系统是存储设置的自然分层方式,而微软决定创建一个完全外部的分层子系统,这似乎是一项愚蠢的投资,为什么不他们只是使用文件系统层次结构?

this is more OS architecture question than programming directly, but still. Why was the Windows registry created as a completely separate subsystem for storing system/application settings? In *nix OS'es there is /etc directory which is perfectly understandable, as filesystem is a natural hierarchical way for storing settings, while Microsoft decided to create a completely outside hierarchical subsystem, which seems to be a foolish investment, why didn't they just use a filesystem hierarchy?

推荐答案

  1. 集中式 -这对漫游很有用个人资料.
  2. 交易 -这使得更难粉碎你的配置.
  3. 安全 - 您可以以比文件(每个键/值)更好的粒度强制执行读/写.
  1. Centralized - which is useful for roaming profiles.
  2. Transactional - which makes it harder to smash your configuration.
  3. Security - You can enforce read/write with better granularity than a file (per-key/value).

这篇关于为什么存在 Windows 注册表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆