Re: Please, testers of hfsprogs are needed
Hi,
On Jun 03 2008, Michael Schmitz wrote:
I'll do some non-trivial testing (as in: I have a totally messed up
HFS+ filesystem that even Apple's repair disk function does not want
to play with).
I fear that this has a very low probability of working, since this *is*
Apple's repair disk utility, taken from the Darwin sources.
Well, did the trivial testing first (i.e. tried hpfsck on my known good
HFS+ filesystems and I get:
*** Checking Volume Header:
Invalid total blocks 4227EC2, expected 0
Done ***
*** Checking Backup Volume Header:
Unexpected Volume signature ' ' expected 'H+'
hpfsck: hpfsck: This is not a HFS+ volume (Unknown error 4294967295)
Verbose:
*** Checking Volume Header:
This HFS+ volume is not wrapped.
signature : H+
version : 4
attributes : 0X100
last_mount_vers : H+Lx
reserved : 0
create_date : Thu Aug 23 00:49:00 2007
modify_date : Sat Jun 14 16:29:16 2008
backup_date : Fri Jan 1 11:30:00 1904
checked_date : Wed Aug 22 22:49:00 2007
file_count : 249522
folder_count : 48461
blocksize : 1000
total_blocks : 69369538
free_blocks : 8947691
next_alloc : 60513992
rsrc_clump_sz : 65536
data_clump_sz : 65536
next_cnid : 299402
write_count : 3781580
encodings_bmp : 0X200000F
Allocation file
total_size : 0X845000
clump_size : 0X845000
total_blocks : 0X845
extents : (0X1+0X845) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0)
(0+0)
Extension file
total_size : 0X900000
clump_size : 0X900000
total_blocks : 0X900
extents : (0X846+0X900) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0)
(0+0)
Catalog file
total_size : 0X8700000
clump_size : 0X2D00000
total_blocks : 0X8700
extents : (0X1146+0X8700) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0)
(0+0)
Attribute file
total_size : 0
clump_size : 0
total_blocks : 0
extents : (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0)
Start file
total_size : 0
clump_size : 0
total_blocks : 0
extents : (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0) (0+0)
Volume was last Mounted by hfsplus kernel module:
H+Lx
Invalid total blocks 4227EC2, expected 0
Done ***
*** Checking Backup Volume Header:
Unexpected Volume signature ' ' expected 'H+'
hpfsck: hpfsck: This is not a HFS+ volume (Unknown error 4294967295)
(powerpc, 332.14-4)
Can't check pakages.d.o because it seems to be dead ATM, but I have
unstable in the sources.list. The expectation of 0 total blocks seems a
bit off, to my taste.
There are newer upstream versions that could be used, though, but the
current patches to hfsprogs have to be updated and this is a time
consuming task that I wish were managed as a team.
In particular, newer versions of diskdev_cmds (that's what Apple calls
it) are available for download from
http://www.opensource.apple.com/darwinsource/
I'll check that sometime.
Michael
Reply to: