惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

腾讯CDC
Schneier on Security
Schneier on Security
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
P
Proofpoint News Feed
A
About on SuperTechFans
Recorded Future
Recorded Future
Recent Announcements
Recent Announcements
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
Hugging Face - Blog
Hugging Face - Blog
The GitHub Blog
The GitHub Blog
Google DeepMind News
Google DeepMind News
T
Tailwind CSS Blog
Vercel News
Vercel News
H
Hackread – Cybersecurity News, Data Breaches, AI and More
MyScale Blog
MyScale Blog
V2EX - 技术
V2EX - 技术
N
Netflix TechBlog - Medium
F
Fortinet All Blogs
V
Visual Studio Blog
Martin Fowler
Martin Fowler
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
博客园 - Franky
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
T
The Exploit Database - CXSecurity.com
F
Full Disclosure
Scott Helme
Scott Helme
H
Heimdal Security Blog
博客园 - 叶小钗
Google DeepMind News
Google DeepMind News
Cyberwarzone
Cyberwarzone
Application and Cybersecurity Blog
Application and Cybersecurity Blog
V
Vulnerabilities – Threatpost
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
WordPress大学
WordPress大学
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
T
Troy Hunt's Blog
S
SegmentFault 最新的问题
Forbes - Security
Forbes - Security
Jina AI
Jina AI
S
Securelist
小众软件
小众软件
Simon Willison's Weblog
Simon Willison's Weblog
J
Java Code Geeks
AWS News Blog
AWS News Blog
N
News and Events Feed by Topic
博客园 - 三生石上(FineUI控件)
量子位

不止平凡

Token 省钱诀窍速查 梁山上的政治 记一次通过ssh密钥无法推送代码问题排查 进程、线程、协程 系统内核和编程接口 Redis学习笔记 QQ里的故事 撇开和捺住 追逐与回首 我与文学的缘分 心如明镜台 你真的看懂月光宝盒了吗
操作系统笔记
知平 · 2025-07-23 · via 不止平凡
By 知平 in 手札

操作系统笔记

以Linux系统为例,2000w+行代码,浩如烟海,是世界最复杂的软件。

操作系统的演进

1、单任务模式

  • 大型机器、笨重(晶体管),计算功能单一
  • 用于军事或科研领域
  • 此时并没有真正意义的操作系统,只是协助计算机运行的辅助软件

2、多任务模式

  • 多个任务如何同时运行?
  • 多个任务如何共同使用内存、外存、输入输出设备?
  • 任务之间如何通信?
  • 如何处理恶意软件(如病毒、破坏硬件设备的程序)?
  • 计算机如何与外部进行通信(网络)?

计算机有了这些软件治理需求,用于约束和协调各个软件,出现了操作系统的鼻祖:

  • DOS -> Windows -> 个人PC市场
  • Unix ->*Nix(包括Linux)企业市场

3、现代操作系统

操作系统不再是狭义的OS,而是一个软件生态,典型的有:

  • 浏览器:信息流量入口
  • 搜索引擎:互联网世界门户
  • IOS/Android:移动终端设备
  • 小程序:实现账号、支付、应用市场的商业闭环

传统操作系统和现代操作系统的关系:

  • 传统:管理本地软件
  • 现代:管理互联网内容
  • 传统和现代的边界将会越来越模糊,传统操作系统也可能直接涉及互联网世界内容(例如现在出现了用于直接运行容器的CoreOS)

操作系统如何开始运作

1、BIOS主板固定一小段程序,通电后自动运行

2、跳转到外部存储(磁盘、光盘等)一个固定存储地址,外部的操作系统获取执行权限

3、BIOS地址段非常有限,因此只能做很少很有限的事情

4、当计算机安装多个操作系统,启动时让我们选择启动哪个系统,本质就是指定由BIOS跳转到外存的哪个位置