[CentOS] hfsutils package

Thu Oct 7 13:38:49 UTC 2010
Jerry Geis <geisj at pagestation.com>

Jerry Geis wrote:
> Has anyone used the hfsutils package?
>
> I tried the following and get an error:
>
> hfs mount ../vlc-1.1.3-intel.dmg
>
> hfsutils version 3.2.6 - Copyright (C) 1996-1998 Robert Leslie
> This is free software but comes with ABSOLUTELY NO WARRANTY.
> Type `license' for details.
>
> expected integer but got "../vlc-1.1.3-intel.dmg"
>    while executing
> "hfs mount $path $partno"
>    (procedure "hmount" line 20)
>    invoked from within
> "hmount mount ../vlc-1.1.3-intel.dmg"
>    ("eval" body line 1)
>    invoked from within
> "eval hmount $argv"
>    invoked from within
> "if {$argc > 0} {
>    eval hmount $argv
> }"
>    (file "/usr/bin/hfs" line 457)
>
> I'm sure its something I am doing wrong but I dont see it.
>
> Jerry
>
doing the following:

file vlc-1.1.3-intel.dmg
vlc-1.1.3-intel.dmg:     bzip2 compressed data, block size = 100k

showed me it was bzip2 format. So I did the bunzip on the file and now I 
get this:
vlc-1.1.3-intel.dmg.out: Apple Partition data block size: 512, first 
type: Apple_partition_map, name: Apple, number of blocks: 63, second 
type: Apple_HFS, name: disk image, number of blocks: 190960,


The command: mount -t hfsplus -o loop vlc-1.1.3-intel.dmg.out /mnt/hfs

actually worked.

Jerry