aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-02-14 13:57:41 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-02-14 13:57:41 +0100
commita6e48dead331c3c19e070992d2d571e74a1d9a8d (patch)
tree2c1727953a1b0c53422d626b1cbe520bc901fef2
parentadc540f0dbcd640b37f39364aa4a1c6857a96a96 (diff)
downloadbusybox-a6e48dead331c3c19e070992d2d571e74a1d9a8d.tar.gz
fdisk: add HFS / HFS+ partition type
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--util-linux/fdisk.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index e58cb0fd1..f568fe92c 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -344,6 +344,7 @@ static const char *const i386_sys_types[] = {
"\xa8" "Darwin UFS",
"\xa9" "NetBSD",
"\xab" "Darwin boot",
+ "\xaf" "HFS / HFS+",
"\xb7" "BSDI fs",
"\xb8" "BSDI swap",
"\xbe" "Solaris boot",
@@ -390,15 +391,12 @@ static const char *const i386_sys_types[] = {
"\xc6" "DRDOS/sec (FAT-16)",
"\xc7" "Syrinx",
"\xda" "Non-FS data",
- "\xdb" "CP/M / CTOS / ...",/* CP/M or Concurrent CP/M or
- Concurrent DOS or CTOS */
+ "\xdb" "CP/M / CTOS / ...",/* CP/M or Concurrent CP/M or Concurrent DOS or CTOS */
"\xde" "Dell Utility", /* Dell PowerEdge Server utilities */
"\xdf" "BootIt", /* BootIt EMBRM */
- "\xe1" "DOS access", /* DOS access or SpeedStor 12-bit FAT
- extended partition */
+ "\xe1" "DOS access", /* DOS access or SpeedStor 12-bit FAT extended partition */
"\xe3" "DOS R/O", /* DOS R/O or SpeedStor */
- "\xe4" "SpeedStor", /* SpeedStor 16-bit FAT extended
- partition < 1024 cyl. */
+ "\xe4" "SpeedStor", /* SpeedStor 16-bit FAT extended partition <1024 cyl. */
"\xf1" "SpeedStor",
"\xf4" "SpeedStor", /* SpeedStor large partition */
"\xfe" "LANstep", /* SpeedStor >1024 cyl. or LANstep */