Hi,

I have been using the fdisk app of busybox, but I need it to recognize HFS
/ HFS+ partitions.

Is it possible to add the support? The following patch does the job.

Regards,
Marcelo.

---
 util-linux/fdisk.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index e58cb0fd1..663e64866 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",
-- 
2.25.0
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to