Re: Some hfsplus questions
From: Bob Copeland
Date: Fri Sep 19 2008 - 09:55:33 EST
On Thu, Sep 18, 2008 at 9:55 PM, Andrey Vul <andrey.vul@xxxxxxxxx> wrote:
> I have some questions about hfsplus:
> 1) Is there a / how do you patch the fs driver / mount options to
> allow starting from an offset (f.e. certain DMG files' HFS+ superblock
> start at 32768)?
In general you do this with losetup(8) instead of in the filesystem itself,
since the FS generally doesn't care about the block device.
e.g. losetup -o 32768 ....
> 2) Is there a / how do you patch the fs driver to allow for
> transparent zlib decompression of the HFS+ volume (inside the DMG
> file)?
No idea. A device mapper target (or fuse-over-loopback) could do that but
I don't know if there is something suitable already.
--
Bob Copeland %% www.bobcopeland.com
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/