分区方案: 2分区 (FAT32 + FreeBSD)
分区大小: 1/2 Size /Partition
- ko# dd if=/dev/zero of=/dev/da0 bs=1k count=1 # 跟移动硬盘打个招呼说:“表妹,跟我走吧!” $_$
- ko# fdisk -BI da0 # 其实是聊聊天,明天会不会下雨呵? O_o
- ko# fdisk -u /dev/da0 # 好了,聊天过后进入真题 ^_^
- ******* Working on device /dev/da0 *******
- parameters extracted from in-core disklabel are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Figures below won't work with BIOS for partitions not in cyl 1
- parameters to be used for BIOS calculations are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Do you want to change our idea of what BIOS thinks ? [n] n
- Media sector size is 512
- Warning: BIOS sector numbering starts with sector 1
- Information from DOS bootblock is:
- The data for partition 1 is:
- sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
- start 63, size 976768002 (476937 Meg), flag 80 (active)
- beg: cyl 0/ head 1/ sector 1;
- end: cyl 384/ head 254/ sector 63
- Do you want to change it? [n] y
- Supply a decimal value for "sysid (165=FreeBSD)" [165]
- Supply a decimal value for "start" [63]
- Supply a decimal value for "size" [976768002] 488384064
- ================================================================
- > echo '976768002/2' |bc
- 488384001
- > echo '488384001+63' |bc
- 488384064
- ================================================================
- Explicitly specify beg/end address ? [n]
- sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
- start 63, size 488384064 (238468 Meg), flag 80 (active)
- beg: cyl 0/ head 1/ sector 1;
- end: cyl 704/ head 128/ sector 63
- Are we happy with this entry? [n] y
- The data for partition 2 is:
- Do you want to change it? [n] y
- Supply a decimal value for "sysid (165=FreeBSD)" [0] 12
- Supply a decimal value for "start" [0] 488384127
- Supply a decimal value for "size" [0] 488383876
- ================================================================
- > echo '488384064+62' |bc
- 488384126
- > echo '976768002-488384126' |bc
- 488383876
- ================================================================
- fdisk: WARNING: partition does not end on a cylinder boundary
- fdisk: WARNING: this may confuse the BIOS or some operating systems
- Correct this automatically? [n] y
- fdisk: WARNING: adjusting size of partition to 488367873
- Explicitly specify beg/end address ? [n]
- sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
- start 488384127, size 488367873 (238460 Meg), flag 0
- beg: cyl 704/ head 129/ sector 1;
- end: cyl 383/ head 254/ sector 63
- Are we happy with this entry? [n] y
- The data for partition 3 is:
- Do you want to change it? [n]
- The data for partition 4 is:
- Do you want to change it? [n]
- Partition 1 is marked active
- Do you want to change the active partition? [n]
- We haven't changed the partition table yet. This is your last chance.
- parameters extracted from in-core disklabel are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Figures below won't work with BIOS for partitions not in cyl 1
- parameters to be used for BIOS calculations are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Information from DOS bootblock is:
- 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
- start 63, size 488384064 (238468 Meg), flag 80 (active)
- beg: cyl 0/ head 1/ sector 1;
- end: cyl 704/ head 128/ sector 63
- 2: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
- start 488384127, size 488367873 (238460 Meg), flag 0
- beg: cyl 704/ head 129/ sector 1;
- end: cyl 383/ head 254/ sector 63
- 3:
- 4:
- Should we write new partition table? [n] y
- ko# newfs -U /dev/da0s1
- /dev/da0s1: 238468.8MB (488384064 sectors) block size 32768, fragment size 4096
- using 323 cylinder groups of 740.00MB, 23680 blks, 47360 inodes.
- with soft updates
- super-block backups (for fsck -b #) at:
- 192, 1515712, 3031232, 4546752, 6062272, 7577792, 9093312, 10608832, 12124352,
- 13639872, 15155392, 16670912, 18186432, 19701952, 21217472, 22732992,
- 24248512, 25764032, 27279552, 28795072, 30310592, 31826112, 33341632,
- 34857152, 36372672, 37888192, 39403712, 40919232, 42434752, 43950272,
- 45465792, 46981312, 48496832, 50012352, 51527872, 53043392, 54558912,
- 56074432, 57589952, 59105472, 60620992, 62136512, 63652032, 65167552,
- 66683072, 68198592, 69714112, 71229632, 72745152, 74260672, 75776192,
- 77291712, 78807232, 80322752, 81838272, 83353792, 84869312, 86384832,
- 87900352, 89415872, 90931392, 92446912, 93962432, 95477952, 96993472,
- 98508992, 100024512, 101540032, 103055552, 104571072, 106086592, 107602112,
- 109117632, 110633152, 112148672, 113664192, 115179712, 116695232, 118210752,
- 119726272, 121241792, 122757312, 124272832, 125788352, 127303872, 128819392,
- 130334912, 131850432, 133365952, 134881472, 136396992, 137912512, 139428032,
- 140943552, 142459072, 143974592, 145490112, 147005632, 148521152, 150036672,
- 151552192, 153067712, 154583232, 156098752, 157614272, 159129792, 160645312,
- 162160832, 163676352, 165191872, 166707392, 168222912, 169738432, 171253952,
- 172769472, 174284992, 175800512, 177316032, 178831552, 180347072, 181862592,
- 183378112, 184893632, 186409152, 187924672, 189440192, 190955712, 192471232,
- 193986752, 195502272, 197017792, 198533312, 200048832, 201564352, 203079872,
- 204595392, 206110912, 207626432, 209141952, 210657472, 212172992, 213688512,
- 215204032, 216719552, 218235072, 219750592, 221266112, 222781632, 224297152,
- 225812672, 227328192, 228843712, 230359232, 231874752, 233390272, 234905792,
- 236421312, 237936832, 239452352, 240967872, 242483392, 243998912, 245514432,
- 247029952, 248545472, 250060992, 251576512, 253092032, 254607552, 256123072,
- 257638592, 259154112, 260669632, 262185152, 263700672, 265216192, 266731712,
- 268247232, 269762752, 271278272, 272793792, 274309312, 275824832, 277340352,
- 278855872, 280371392, 281886912, 283402432, 284917952, 286433472, 287948992,
- 289464512, 290980032, 292495552, 294011072, 295526592, 297042112, 298557632,
- 300073152, 301588672, 303104192, 304619712, 306135232, 307650752, 309166272,
- 310681792, 312197312, 313712832, 315228352, 316743872, 318259392, 319774912,
- 321290432, 322805952, 324321472, 325836992, 327352512, 328868032, 330383552,
- 331899072, 333414592, 334930112, 336445632, 337961152, 339476672, 340992192,
- 342507712, 344023232, 345538752, 347054272, 348569792, 350085312, 351600832,
- 353116352, 354631872, 356147392, 357662912, 359178432, 360693952, 362209472,
- 363724992, 365240512, 366756032, 368271552, 369787072, 371302592, 372818112,
- 374333632, 375849152, 377364672, 378880192, 380395712, 381911232, 383426752,
- 384942272, 386457792, 387973312, 389488832, 391004352, 392519872, 394035392,
- 395550912, 397066432, 398581952, 400097472, 401612992, 403128512, 404644032,
- 406159552, 407675072, 409190592, 410706112, 412221632, 413737152, 415252672,
- 416768192, 418283712, 419799232, 421314752, 422830272, 424345792, 425861312,
- 427376832, 428892352, 430407872, 431923392, 433438912, 434954432, 436469952,
- 437985472, 439500992, 441016512, 442532032, 444047552, 445563072, 447078592,
- 448594112, 450109632, 451625152, 453140672, 454656192, 456171712, 457687232,
- 459202752, 460718272, 462233792, 463749312, 465264832, 466780352, 468295872,
- 469811392, 471326912, 472842432, 474357952, 475873472, 477388992, 478904512,
- 480420032, 481935552, 483451072, 484966592, 486482112, 487997632
- ko# newfs_msdos /dev/da0s2
- /dev/da0s2: 488248576 sectors in 7628884 FAT32 clusters (32768 bytes/cluster)
- BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=488367873 FATsecs=59601 RootCluster=2 FSInfo=1 Backup=2
- ko# fdisk /dev/da0
- ******* Working on device /dev/da0 *******
- parameters extracted from in-core disklabel are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Figures below won't work with BIOS for partitions not in cyl 1
- parameters to be used for BIOS calculations are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Media sector size is 512
- Warning: BIOS sector numbering starts with sector 1
- Information from DOS bootblock is:
- The data for partition 1 is:
- sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
- start 63, size 488384064 (238468 Meg), flag 80 (active)
- beg: cyl 0/ head 1/ sector 1;
- end: cyl 704/ head 128/ sector 63
- The data for partition 2 is:
- sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
- start 488384127, size 488367873 (238460 Meg), flag 0
- beg: cyl 704/ head 129/ sector 1;
- end: cyl 383/ head 254/ sector 63
- The data for partition 3 is:
- The data for partition 4 is:
- ko# mount /dev/da0s1 /media/
- ko# mount_msdosfs /dev/da0s2 /mnt/
- mount_msdosfs: /dev/da0s2: Disk too big, try '-o large' mount option: Invalid argument
- ko# mount_msdosfs -o large /dev/da0s2 /mnt/
- ko# df
- Filesystem Size Used Avail Capacity Mounted on
- /dev/ada0p2 9.9G 649M 8.4G 7% /
- devfs 1.0k 1.0k 0B 100% /dev
- /dev/ada0p4 118G 27G 81G 25% /var
- /dev/ada0p5 2G 23M 1.8G 1% /tmp
- /dev/ada0p6 118G 46G 62G 43% /usr
- /dev/ada0p7 103G 64G 31G 67% /usr/home
- /dev/da0s1 229G 8.0k 210G 0% /media
- /dev/da0s2 232G 96k 232G 0% /mnt
- ko# gpart show da0
- => 63 976773105 da0 MBR (465G)
- 63 488384064 1 freebsd [active] (232G)
- 488384127 488367873 2 !12 (232G)
- 976752000 21168 - free - (10M)
My brother's old laptop died and I got to keep its hard-drive. Being a Windows machine, it had a bunch of NTFS partitions.
So this post explains how to identify a NTFS partition, mount it as read-only and finally learn how to mount it in write mode.
I should mention that FreeBSD 7.4 was used but the same steps should apply to latter versions of the OS.
Physically attached the hard-drive (in my case I plugged an USB HDD) and have a look at /var/log/messages to identify the harddrive.
- # tail -n 20 /var/log/messages
- Jan 26 21:40:03 flumen kernel: da0: Fixed Direct Access SCSI-4 device
- Jan 26 21:40:03 flumen kernel: da0: 40.000MB/s transfers
- Jan 26 21:40:03 flumen kernel: da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)
- Similar information can be collected from dmesg.
- # dmesg
- umass0: on uhub4
- da0 at umass-sim0 bus 0 target 0 lun 0
- da0: Fixed Direct Access SCSI-4 device
- da0: 40.000MB/s transfers
- da0: 114473MB (234441648 512 byte sectors: 255H 63S/T 14593C)
- Let's find out which is the NTFS partition:
- # fdisk /dev/da0
- ******* Working on device /dev/da0 *******
- parameters extracted from in-core disklabel are:
- cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)
- Figures below won't work with BIOS for partitions not in cyl 1
- parameters to be used for BIOS calculations are:
- cylinders=14593 heads=255 sectors/track=63 (16065 blks/cyl)
- Media sector size is 512
- Warning: BIOS sector numbering starts with sector 1
- Information from DOS bootblock is:
- The data for partition 1 is:
- sysid 18 (0x12),(Compaq diagnostics)
- start 63, size 16611147 (8110 Meg), flag 0
- beg: cyl 0/ head 1/ sector 1;
- end: cyl 1023/ head 254/ sector 63
- The data for partition 2 is:
- sysid 7 (0x07),(OS/2 HPFS, NTFS, QNX-2 (16 bit) or Advanced UNIX)
- start 16611210, size 117194175 (57223 Meg), flag 80 (active)
- beg: cyl 1023/ head 0/ sector 1;
- end: cyl 1023/ head 254/ sector 63
- The data for partition 3 is:
- sysid 15 (0x0f),(Extended DOS (LBA))
- start 133805385, size 100631160 (49136 Meg), flag 0
- beg: cyl 1023/ head 0/ sector 1;
- end: cyl 1023/ head 254/ sector 63
- The data for partition 4 is:
- Issuing the following command will mount a NTFS partition in read-only mode:
- # mount -t ntfs /dev/da0s2 /mnt/
- To be able to write into a NTFS partition it is required to install the sysutils/fuse-ntfs port:
- # cd /usr/ports/sysutils/fusefs-ntfs/ && make install clean
- If you use, as described in the man page, mount -t ntfs-3g an error will occurr:
- # mount -t ntfs-3g /dev/da0s2 /mnt/
- mount: /dev/da0s2 : Operation not supported by device
- To mount the NTFS partition in write mode issue:
- # ntfs-3g /dev/da0s2 /mnt/
- Let's make sure that the partition is mounted:
- # mount
- /dev/ad4s1a on / (ufs, local)
- devfs on /dev (devfs, local)
- /dev/ad4s1e on /tmp (ufs, local, soft-updates)
- /dev/ad4s1f on /usr (ufs, local, soft-updates)
- /dev/ad4s1d on /var (ufs, local, soft-updates)
- /dev/ad5s1d on /mnt/1 (ufs, local, soft-updates)
- /dev/fuse0 on /mnt/2 (fusefs, local, synchronous)
- > man ntfs-3g #contains some Linuxisms and as such read the man page with a grain of salt
将第二个分区改为NTFS:
- ko# fdisk -u /dev/da0
- ******* Working on device /dev/da0 *******
- parameters extracted from in-core disklabel are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Figures below won't work with BIOS for partitions not in cyl 1
- parameters to be used for BIOS calculations are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Do you want to change our idea of what BIOS thinks ? [n]
- Media sector size is 512
- Warning: BIOS sector numbering starts with sector 1
- Information from DOS bootblock is:
- The data for partition 1 is:
- sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
- start 63, size 488384064 (238468 Meg), flag 80 (active)
- beg: cyl 0/ head 1/ sector 1;
- end: cyl 704/ head 128/ sector 63
- Do you want to change it? [n]
- The data for partition 2 is:
- sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
- start 488384127, size 488367873 (238460 Meg), flag 0
- beg: cyl 704/ head 129/ sector 1;
- end: cyl 383/ head 254/ sector 63
- Do you want to change it? [n] y
- Supply a decimal value for "sysid (165=FreeBSD)" [12] 7
- Supply a decimal value for "start" [488384127]
- Supply a decimal value for "size" [488367873]
- Explicitly specify beg/end address ? [n]
- sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX)
- start 488384127, size 488367873 (238460 Meg), flag 0
- beg: cyl 704/ head 129/ sector 1;
- end: cyl 383/ head 254/ sector 63
- Are we happy with this entry? [n] y
- The data for partition 3 is:
- Do you want to change it? [n]
- The data for partition 4 is:
- Do you want to change it? [n]
- Partition 1 is marked active
- Do you want to change the active partition? [n] n
- We haven't changed the partition table yet. This is your last chance.
- parameters extracted from in-core disklabel are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Figures below won't work with BIOS for partitions not in cyl 1
- parameters to be used for BIOS calculations are:
- cylinders=60801 heads=255 sectors/track=63 (16065 blks/cyl)
- Information from DOS bootblock is:
- 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
- start 63, size 488384064 (238468 Meg), flag 80 (active)
- beg: cyl 0/ head 1/ sector 1;
- end: cyl 704/ head 128/ sector 63
- 2: sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX)
- start 488384127, size 488367873 (238460 Meg), flag 0
- beg: cyl 704/ head 129/ sector 1;
- end: cyl 383/ head 254/ sector 63
- 3:
- 4:
- Should we write new partition table? [n] y
- ko# mkntfs -Ffv /dev/da0s2
- Cluster size has been automatically set to 4096 bytes.
- Creating NTFS volume structures.
- Creating root directory (mft record 5)
- Creating $MFT (mft record 0)
- Creating $MFTMirr (mft record 1)
- Creating $LogFile (mft record 2)
- Creating $AttrDef (mft record 4)
- Creating $Bitmap (mft record 6)
- Creating $Boot (mft record 7)
- Creating backup boot sector.
- Failed to write to device /dev/da0s2.
- Couldn't write backup boot sector: Invalid argument
- Creating $Volume (mft record 3)
- Setting the volume dirty so check disk runs on next reboot into Windows.
- Creating $BadClus (mft record 8)
- Creating $Secure (mft record 9)
- Creating $UpCase (mft record 0xa)
- Creating $Extend (mft record 11)
- Creating system file (mft record 0xc)
- Creating system file (mft record 0xd)
- Creating system file (mft record 0xe)
- Creating system file (mft record 0xf)
- Creating $Quota (mft record 24)
- Creating $ObjId (mft record 25)
- Creating $Reparse (mft record 26)
- Syncing root directory index record.
- Syncing $Bitmap.
- Syncing $MFT.
- Updating $MFTMirr.
- Syncing device.
- mkntfs completed successfully. Have a nice day.
- As I found out, there’s two packages for working with NTFS — ntfs-3g, and ntfsprogs.
- And of course they are conflicting. let me explain.
- ntfsprogs contains old ntfsprogs, while ntfs-3g have pretty current ntfsprogs set
- (in FreeBSD world, 1 year old is not old at all).
- And culmination of whole ports system is that ntfsprogs contains patched and working mkntfs,
- while ntfs-3g maintainers don’t bother.
- That was a bit of my frustration and helplessness >_<
- Here’s guide how to format NTFS disk:
- # cd /usr/ports/sysutils/ntfsprogs && make
- # cd /usr/ports/sysutils/ntfsprogs/work/ntfsprogs-2.0.0/ntfsprogs
- ./mkntfs [NEEDED FLAGS FROM MAN] /dev/xx
- That’s it! Enjoy.
- > less /usr/local/share/doc/ntfs-3g/README.FreeBSD
- ==============================================================================
- NTFS-3G README for the FreeBSD port
- ==============================================================================
- 1. Introduction
- 2. Port specific notes
- 3. Mounting at startup with /etc/fstab
- 4. Ublio configuration
- 5. Known issues
- 6. Reporting bugs
- ==============================================================================
- 1. Introduction
- ==============================================================================
- ...
- ...
- ...
- Information from DOS bootblock is:
- 1: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD)
- 2: sysid 7 (0x07),(NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX)
- 3: sysid 12 (0x0c),(DOS or Windows 95 with 32 bit FAT (LBA))
- 像这里的
- 165 是 FreeBSD
- 7 是 NTFS
- 12 是 FAT32
- 这是怎么知道的?有没有一个列表
- ko# less /usr/src/sbin/fdisk/fdisk.c
- /*
- * A list of partition types, probably outdated.
- */
- static const char *const part_types[256] = {
- [0x00] = "unused",
- [0x01] = "Primary DOS with 12 bit FAT",
- [0x02] = "XENIX / file system",
- [0x03] = "XENIX /usr file system",
- [0x04] = "Primary DOS with 16 bit FAT (< 32MB)",
- [0x05] = "Extended DOS",
- [0x06] = "Primary DOS, 16 bit FAT (>= 32MB)",
- [0x07] = "NTFS, OS/2 HPFS, QNX-2 (16 bit) or Advanced UNIX",
- [0x08] = "AIX file system or SplitDrive",
- [0x09] = "AIX boot partition or Coherent",
- [0x0A] = "OS/2 Boot Manager, OPUS or Coherent swap",
- [0x0B] = "DOS or Windows 95 with 32 bit FAT",
- [0x0C] = "DOS or Windows 95 with 32 bit FAT (LBA)",
- [0x0E] = "Primary 'big' DOS (>= 32MB, LBA)",
- [0x0F] = "Extended DOS (LBA)",
- [0x10] = "OPUS",
- [0x11] = "OS/2 BM: hidden DOS with 12-bit FAT",
- [0x12] = "Compaq diagnostics",
- [0x14] = "OS/2 BM: hidden DOS with 16-bit FAT (< 32MB)",
- [0x16] = "OS/2 BM: hidden DOS with 16-bit FAT (>= 32MB)",
- [0x17] = "OS/2 BM: hidden IFS (e.g. HPFS)",
- [0x18] = "AST Windows swapfile",
- [0x1b] = "ASUS Recovery partition (NTFS)",
- [0x24] = "NEC DOS",
- [0x3C] = "PartitionMagic recovery",
- [0x39] = "plan9",
- [0x40] = "VENIX 286",
- [0x41] = "Linux/MINIX (sharing disk with DRDOS)",
- [0x42] = "SFS or Linux swap (sharing disk with DRDOS)",
- [0x43] = "Linux native (sharing disk with DRDOS)",
- [0x4D] = "QNX 4.2 Primary",
- [0x4E] = "QNX 4.2 Secondary",
- [0x4F] = "QNX 4.2 Tertiary",
- [0x50] = "DM (disk manager)",
- [0x51] = "DM6 Aux1 (or Novell)",
- [0x52] = "CP/M or Microport SysV/AT",
- [0x53] = "DM6 Aux3",
- [0x54] = "DM6",
- [0x55] = "EZ-Drive (disk manager)",
- [0x56] = "Golden Bow (disk manager)",
- [0x5c] = "Priam Edisk (disk manager)", /* according to S. Widlake */
- [0x61] = "SpeedStor",
- [0x63] = "System V/386 (such as ISC UNIX), GNU HURD or Mach",
- [0x64] = "Novell Netware/286 2.xx",
- [0x65] = "Novell Netware/386 3.xx",
- [0x70] = "DiskSecure Multi-Boot",
- [0x75] = "PCIX",
- [0x77] = "QNX4.x",
- [0x78] = "QNX4.x 2nd part",
- [0x79] = "QNX4.x 3rd part",
- [0x80] = "Minix until 1.4a",
- [0x81] = "Minix since 1.4b, early Linux partition or Mitac disk manager",
- [0x82] = "Linux swap or Solaris x86",
- [0x83] = "Linux native",
- [0x84] = "OS/2 hidden C: drive",
- [0x85] = "Linux extended",
- [0x86] = "NTFS volume set??",
- [0x87] = "NTFS volume set??",
- [0x93] = "Amoeba file system",
- [0x94] = "Amoeba bad block table",
- [0x9F] = "BSD/OS",
- [0xA0] = "Suspend to Disk",
- [0xA5] = "FreeBSD/NetBSD/386BSD",
- [0xA6] = "OpenBSD",
- [0xA7] = "NeXTSTEP",
- [0xA9] = "NetBSD",
- [0xAC] = "IBM JFS",
- [0xAF] = "HFS+",
- [0xB7] = "BSDI BSD/386 file system",
- [0xB8] = "BSDI BSD/386 swap",
- [0xBE] = "Solaris x86 boot",
- [0xBF] = "Solaris x86 (new)",
- [0xC1] = "DRDOS/sec with 12-bit FAT",
- [0xC4] = "DRDOS/sec with 16-bit FAT (< 32MB)",
- [0xC6] = "DRDOS/sec with 16-bit FAT (>= 32MB)",
- [0xC7] = "Syrinx",
- [0xDB] = "CP/M, Concurrent CP/M, Concurrent DOS or CTOS",
- [0xDE] = "DELL Utilities - FAT filesystem",
- [0xE1] = "DOS access or SpeedStor with 12-bit FAT extended partition",
- [0xE3] = "DOS R/O or SpeedStor",
- [0xE4] = "SpeedStor with 16-bit FAT extended partition < 1024 cyl.",
- [0xEB] = "BeOS file system",
- [0xEE] = "EFI GPT",
- [0xEF] = "EFI System Partition",
- [0xF1] = "SpeedStor",
- [0xF2] = "DOS 3.3+ Secondary",
- [0xF4] = "SpeedStor large partition",
- [0xFE] = "SpeedStor >1024 cyl. or LANstep",
- [0xFF] = "Xenix bad blocks table",
- };
FROM: