Re: [問題] 有關這份linux kernel文件的描述

看板LinuxDev作者 (文思)時間7年前 (2016/08/31 23:48), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《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://www.ptt.cc/bbs/LinuxDev/M.1472658487.A.5CF.html

09/01 09:41, , 1F
謝謝~
09/01 09:41, 1F
文章代碼(AID): #1NnlmtNF (LinuxDev)
文章代碼(AID): #1NnlmtNF (LinuxDev)