Source: hfsprogs
Severity: normal
User: debian-powe...@lists.debian.org
Usertags: powerpc ppc64
X-Debbugs-Cc: debian-powe...@lists.debian.org

Hello!

The recently uploaded version 540.1.linux3-1 of hfsprogs no longer supports 
creating
legacy HFS filesystems as the "-h" flag is no longer supported for mk.hfs.

Looking at the source code, for 332.25 [1] and 540.1.linux3 [2], it looks like 
we would
need to add back the handling of the "-h" flag for getopts(), the variable 
forceHFS
and the function hfs_params() as well as the handling of legacy HFS in 
hfs_newfs().

In makehfs.c [3], we would need to re-add make_fs() as well as 
WriteSystemFile() and
WriteReadMeFile() as well as the files hfsbootdata.img and readme.h.

It's not clear yet how feasible that is, but if everything fails, there is 
still hfsutils
available for creating legacy HFS filesystems.

Adrian

> [1] 
> https://sources.debian.org/src/hfsprogs/332.25-11/newfs_hfs.tproj/newfs_hfs.c/
> [2] 
> https://sources.debian.org/src/hfsprogs/540.1.linux3-1/newfs_hfs.tproj/newfs_hfs.c/
> [3] 
> https://sources.debian.org/src/hfsprogs/540.1.linux3-1/newfs_hfs.tproj/makehfs.c/

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaub...@debian.org
`. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply via email to