随笔分类 - Linux
摘要:编译内核 make meauconfig 后: Kernel hacking > Compile-time checks and compiler options > [*] Compile the kernel with debug info [*] Provide GDB scripts for
阅读全文
摘要:在Linux文件系统中的总体结构图 相关数据结构 1. file_system_type 这个结构来描述一种文件系统类型,一般具体文件系统会定义这个结构,然后注册到系统中;定义了具体文件系统的挂载和卸载方法,文件系统挂载时调用其挂载方法构建超级块、跟dentry等实例。 1 struct file_
阅读全文
摘要:学习链接:sunym1993/flash-linux0.11-talk: 你管这破玩意叫操作系统源码 — 像小说一样品读 Linux 0.11 核心代码 (github.com) 1. 从开机到运行main.c的过程 在主板上写死的固件程序BIOS会将硬盘中启动的512字节的数据,复制到0x7c00
阅读全文
摘要:1.ubuntu16.04更换和配置阿里源 1.1找到并备份源文件 mv /etc/apt/sources.list /etc/apt/sources.list_bak vim /etc/apt/sources.list 1.2替换源文件 # deb cdrom:[Ubuntu 16.04
阅读全文