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

推荐订阅源

T
The Blog of Author Tim Ferriss
Know Your Adversary
Know Your Adversary
P
Palo Alto Networks Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
K
Kaspersky official blog
L
LINUX DO - 热门话题
P
Proofpoint News Feed
P
Privacy & Cybersecurity Law Blog
Google DeepMind News
Google DeepMind News
Attack and Defense Labs
Attack and Defense Labs
Cisco Talos Blog
Cisco Talos Blog
AI
AI
L
LINUX DO - 最新话题
H
Heimdal Security Blog
Hacker News: Ask HN
Hacker News: Ask HN
Webroot Blog
Webroot Blog
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
The GitHub Blog
The GitHub Blog
I
Intezer
Blog — PlanetScale
Blog — PlanetScale
有赞技术团队
有赞技术团队
S
Securelist
博客园_首页
IT之家
IT之家
Schneier on Security
Schneier on Security
博客园 - 叶小钗
罗磊的独立博客
WordPress大学
WordPress大学
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
MongoDB | Blog
MongoDB | Blog
P
Proofpoint News Feed
阮一峰的网络日志
阮一峰的网络日志
A
Arctic Wolf
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
W
WeLiveSecurity
The Register - Security
The Register - Security
D
DataBreaches.Net
S
Security @ Cisco Blogs
Security Archives - TechRepublic
Security Archives - TechRepublic
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
Recorded Future
Recorded Future
NISL@THU
NISL@THU
N
News and Events Feed by Topic
T
Tailwind CSS Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
T
Tor Project blog
www.infosecurity-magazine.com
www.infosecurity-magazine.com

不止平凡

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跳转到外存的哪个位置