[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] Add HFS / HFS+ file system type to fdisk
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2020-02-14 12:59:42
Message-ID: CAK1hOcMREu93WhT2wrm+R3124CdHTzcPFtHW=Ejb3Ve0V_hZVQ () mail ! gmail ! com
[Download RAW message or body]

Thanks, applied!

On Tue, Feb 11, 2020 at 4:11 PM Marcelo Roberto Jimenez
<marcelo.jimenez@gmail.com> wrote:
>
> 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
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic