gandalf:/mnt/harrylv# losetup -f laciedump
gandalf:/mnt/harrylv# fsck.hfsplus -d /dev/loop0
** /dev/loop0
** Checking HFS Plus volume.
Invalid number of allocation blocks
(-1, 0)
IVChk - volume header total allocation blocks is greater than device size
volume allocation block count 14658335 device allocation block count 14658325
** Volume check failed.
volume check failed with error 7
volume type is pure HFS+
primary MDB is at block 0 0x00
alternate MDB is at block 0 0x00
primary VHB is at block 2 0x02
alternate VHB is at block 117266598 0x6fd58a6
sector size = 512 0x200
VolumeObject flags = 0x07
total sectors for volume = 117266600 0x6fd58a8
total sectors for embedded volume = 0 0x00
gandalf:/mnt/harrylv# losetup -d /dev/loop0
gandalf:/mnt/harrylv# dd if=/dev/zero bs=4096 count=10 >> laciedump
10+0 records in
10+0 records out
40960 bytes transferred in 0.042767 seconds (957748 bytes/sec)
gandalf:/mnt/harrylv# losetup -f laciedump
gandalf:/mnt/harrylv# fsck.hfsplus -d /dev/loop0
** /dev/loop0
Block 117266678 is not an MDB or Volume Header
** Checking HFS Plus volume.
hfs_swap_HFSPlusBTInternalNode: extents key #5119 offset too big (0x0000)
Invalid node structure
(3, 0)
** Volume check failed.
volume check failed with error 7
volume type is pure HFS+
primary MDB is at block 0 0x00
alternate MDB is at block 0 0x00
primary VHB is at block 2 0x02
alternate VHB is at block 117266678 0x6fd58f6
sector size = 512 0x200
VolumeObject flags = 0x03
total sectors for volume = 117266680 0x6fd58f8
total sectors for embedded volume = 0 0x00