作者wens (文思)
看板LinuxDev
标题Re: [问题] 有关这份linux kernel文件的描述
时间Wed Aug 31 23:48:04 2016
※ 引述《larkes (larkes)》之铭言:
: 最近研读David A Rusling写的Linux Kernel文件时,
: 遇到一些问题,
: 文件来出处:
: http://www.tldp.org/LDP/tlk/tlk.html
: 我遇到的问题如下:
: 1. 在8.5章节有提到一段文字:
: A lot of Linux systems have a single disk with three partitions; one
: containing a DOS filesystem, another an EXT2 filesystem and a third for the
: swap partition.
: 这段话的意思是什麽呢?
: 意思是说: 大部分的Linux系统,都同时具备DOS,EXT2,跟Swap吗?
: 为什麽Linux会需要同时拥有DOS跟EXT2呢?
因为很多人 dual boot, 装个 lilo (那时候有 grub 吗?) 让你选要开 Linux 还 DOS
有装 DOS 所以会有 FAT (DOS) 磁区,有装 Linux 所以有 ext2 跟 swap
事实上以前还有更恶搞的 umsdos ,把 Linux 装在 FAT 磁区里面。
: 2. 在8.5章节有提到另外一段文字:
: For DOS formatted disks, those formatted by fdisk, there are four primary
: disk partitions. Not all four entries in the partition table have to be used.
: 目前我知道fdisk是把磁碟分割的指令,
: 但是为什麽作者一提到fdisk时, 第一句要强调"For DOS formatted"呢?
: 为什麽要出现"DOS formatted"的关键字呢?
: 不好意思请指教,
: 谢谢!
现在常用的 MBR 分割区表是 PC / DOS 开始用的。
请看英文wikipedia:
https://en.wikipedia.org/wiki/Master_boot_record
中文的没有写他的历史
Linux Kconfig 里面是写 "PC BIOS (MSDOS partition tables) support"
--
※ 发信站: 批踢踢实业坊(ptt.cc), 来自: 140.112.30.76
※ 文章网址: https://webptt.com/cn.aspx?n=bbs/LinuxDev/M.1472658487.A.5CF.html
1F:推 larkes: 谢谢~ 09/01 09:41