Comment 18 for bug 234516

Revision history for this message
lars (lars-umich) wrote : [Bug 234516] fsck.hfsplus seems to work on Hardy

Ok. (My workload varies.) I now have a machine with Hardy Heron.

As far as I can tell, fsck.hfsplus works there as well. Below is my
method of testing:

$ apt-get install -t hardy-proposed hfsplus hfsutils hfsprogs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libhfsp0
Suggested packages:
  hfsutils-tcltk
The following NEW packages will be installed:
  hfsplus hfsprogs hfsutils libhfsp0
0 upgraded, 4 newly installed, 0 to remove and 31 not upgraded.
Need to get 284kB of archives.
After this operation, 930kB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://fi.archive.ubuntu.com hardy/main libhfsp0 1.0.4-12build1
[39.3kB]
Get:2 http://archive.ubuntu.com hardy-proposed/universe hfsprogs
332.14-1ubuntu0.1 [123kB]
Get:3 http://fi.archive.ubuntu.com hardy/main hfsplus 1.0.4-12build1
[46.7kB]
Get:4 http://fi.archive.ubuntu.com hardy/main hfsutils 3.2.6-11build1
[75.6kB]
Fetched 284kB in 0s (296kB/s)
Selecting previously deselected package libhfsp0.
(Reading database ... 103773 files and directories currently installed.)
Unpacking libhfsp0 (from .../libhfsp0_1.0.4-12build1_i386.deb) ...
Selecting previously deselected package hfsplus.
Unpacking hfsplus (from .../hfsplus_1.0.4-12build1_i386.deb) ...
Selecting previously deselected package hfsprogs.
Unpacking hfsprogs (from .../hfsprogs_332.14-1ubuntu0.1_i386.deb) ...
Selecting previously deselected package hfsutils.
Unpacking hfsutils (from .../hfsutils_3.2.6-11build1_i386.deb) ...
Setting up libhfsp0 (1.0.4-12build1) ...

Setting up hfsplus (1.0.4-12build1) ...
Setting up hfsprogs (332.14-1ubuntu0.1) ...
Setting up hfsutils (3.2.6-11build1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place

$ dd if=/dev/zero bs=512 count=2048 of=/tmp/foo
2048+0 records in
2048+0 records out
1048576 bytes (1.0 MB) copied, 0.0131632 s, 79.7 MB/s

$ mkfs -t hfsplus /tmp/foo
Initialized /tmp/foo as a 1024 KB HFS Plus volume

$ mkfs -t hfsplus /tmp/foo
$ fsck /tmp/foo
fsck 1.40.8 (13-Mar-2008)
** /tmp/foo
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking volume bitmap.
** Checking volume information.
** The volume untitled appears to be OK.