[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#973911: hfsprogs: Version 540.1.linux3-1 no longer supports legacy HFS filesystems



Source: hfsprogs
Severity: normal
User: debian-powerpc@lists.debian.org
Usertags: powerpc ppc64
X-Debbugs-Cc: debian-powerpc@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 - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: