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

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
博客园_首页
WordPress大学
WordPress大学
博客园 - 聂微东
P
Privacy International News Feed
Forbes - Security
Forbes - Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Last Week in AI
Last Week in AI
C
CERT Recently Published Vulnerability Notes
月光博客
月光博客
NISL@THU
NISL@THU
美团技术团队
T
Tailwind CSS Blog
Jina AI
Jina AI
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
Apple Machine Learning Research
Apple Machine Learning Research
C
Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The Hacker News
The Hacker News
B
Blog
P
Palo Alto Networks Blog
L
Lohrmann on Cybersecurity
有赞技术团队
有赞技术团队
The Register - Security
The Register - Security
S
Securelist
A
Arctic Wolf
MyScale Blog
MyScale Blog
H
Help Net Security
N
Netflix TechBlog - Medium
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Threatpost
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Security Latest
Security Latest
T
Tor Project blog
V
Vulnerabilities – Threatpost
V
V2EX
AI
AI
Hugging Face - Blog
Hugging Face - Blog
大猫的无限游戏
大猫的无限游戏
博客园 - Franky
Simon Willison's Weblog
Simon Willison's Weblog
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
H
Hackread – Cybersecurity News, Data Breaches, AI and More
T
Troy Hunt's Blog
Schneier on Security
Schneier on Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Heimdal Security Blog
Google Online Security Blog
Google Online Security Blog
Know Your Adversary
Know Your Adversary

博客园 - dolinux

在ubuntu22上编译perfbook ftrace可视化工具迎来重大升级 内核技术问答:scoped_guard(rcu)与guard(rcu)的区别 内核技术问答:rcu_boost技术以及CPU静止状态与任务静止状态的区别 内核技术问答:内核调度器中有没有识别交互式应用和非交互式应用的算法? 内核技术问答:sysctl_sched_min_granularity 与 sysctl_sched_wakeup_granularity 跟CPU数量是什么关系? 内核技术问答:sysctl_sched_wakeup_granularity与sysctl_sched_min_granularity冲突吗? 内核技术问答:传统CFS调度器是如何惩罚fork出来的进程的? 内核技术问答:传统CFS调度器中wakeup_preempt_entity的实现中为什么不给wakeup_gran传入current的se呢? 内核技术问答:传统的CFS调度器对一个线程的时间片是如何规定的? 借助AI知识库学习内核 Linux Master 知识库 —— 致 Linux 系统工程师 利用AI生成批量导出内核源码的脚本 利用AI生成批量下载LWN上的技术文章的脚本 利用AI生成批量导出内核patch的脚本 通过Synergy共享鼠标的前进和后退键 vscode + clangd 配置代码阅读环境 使用HugeTLB验证基于Contiguous Bit的大页 ubuntu20.04安装Synergy
如何在Win10下阅读Linux内核代码?
dolinux · 2025-07-24 · via 博客园 - dolinux

参考

背景

我一般习惯在Windows系统下面使用sourceinsight阅读Linux内核代码,但是大家都知道,Windows是大小写不敏感的,而Linux是大小写敏感的,所以Linux内核源码在Windows下就会遇到这样的问题。

解决

  1. 开启WSL

image

然后重启系统。经过测试,开启上面的这个选项不影响VMware启动开启硬件虚拟化的虚拟机

  1. 新建一个空的目录

在D盘下新建一个空的目录:
image

  1. 将这个目录设置为支持大小写

查看帮助:
image

使用其中的setCaseSensitiveInfo子命令:

fsutil.exe file setCaseSensitiveInfo '.\codes\' enable
  1. 检查一下是否开启成功

image

  1. 测试

在这个目录下分别创建A和a两个文件,看能否识别:
image

注意

  1. 必须是空的目录
  2. 没有开启大小写敏感的的目录即使剪切到这个目录下,也是不支持大小写的