On 2/3/21 4:32 PM, John Paul Adrian Glaubitz wrote:
> On 2/3/21 4:21 PM, John Paul Adrian Glaubitz wrote:
>> On 2/3/21 2:52 PM, John Paul Adrian Glaubitz wrote:
>>> I quickly hacked that together now, but it's not really working yet as some 
>>> size
>>> calculations are incorrect:
>>
>> Works:
> 
> In case someone is interested, attaching the preliminary patch.

The MDB is still corrupted, so I have to look into that:

root@z6:..hfsprogs/newfs_hfs.tproj> ./newfs_hfs -h /dev/sdl2
Initialized /dev/sdl2 as a 3863 MB HFS volume
root@z6:..hfsprogs/newfs_hfs.tproj> fsck.hfs /dev/sdl2
** /dev/sdl2
   Executing fsck_hfs (version 540.1-Linux).
** Checking HFS volume.
   The volume name is untitled
** Checking extents overflow file.
** Checking catalog file.
** Checking catalog hierarchy.
** Checking volume bitmap.
** Checking volume information.
   Master Directory Block needs minor repair
(1, 0)
** Repairing volume.
** Rechecking volume.
** Checking HFS volume.
   The volume name is untitled
** Checking extents overflow file.
** Checking catalog file.
** Checking catalog hierarchy.
** Checking volume bitmap.
** Checking volume information.
   Master Directory Block needs minor repair
(1, 0)
** Repairing volume.
** Rechecking volume.
** Checking HFS volume.
   The volume name is untitled
** Checking extents overflow file.
** Checking catalog file.
** Checking catalog hierarchy.
** Checking volume bitmap.
** Checking volume information.
   Master Directory Block needs minor repair
(1, 0)
** Repairing volume.
** Rechecking volume.
** Checking HFS volume.
   The volume name is untitled
** Checking extents overflow file.
** Checking catalog file.
** Checking catalog hierarchy.
** Checking volume bitmap.
** Checking volume information.
   Master Directory Block needs minor repair
(1, 0)
** The volume untitled could not be repaired after 3 attempts.
root@z6:..hfsprogs/newfs_hfs.tproj>

-- 
 .''`.  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