Re: [问题] 有关这份linux kernel文件的描述

楼主: wens (文思)   2016-08-31 23:48:04
※ 引述《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"
作者: larkes (larkes)   2016-09-01 09:41:00
谢谢~

Links booklink

Contact Us: admin [ a t ] ucptt.com