Re: [ANNOUNCE] new HFS(+) driver

From: Dave O
Date: Thu Oct 02 2003 - 14:01:44 EST




On Thu, 2 Oct 2003, Roman Zippel wrote:
> On Thu, 2 Oct 2003, Dave O wrote:
>
> > I get this when building your driver (20030930) against 2.6.0-test6:
> >
> > *** Warning: "get_gendisk" [fs/hfsplus/hfsplus.ko] undefined!
> > *** Warning: "get_gendisk" [fs/hfs/hfs.ko] undefined!
> >
> > any idea how to resolve this?
>
> You can simply remove the code block from get_gendisk to put_disk in
> hfsplus/wrapper.c and hfs/mdb.c.
>

This works, however du(1) seems to get the block size wrong:

meatloop:/cdrom# ls -l
total 393244
-rwxr-xr-x 1 501 dialout 341952833 Sep 22 17:24 else.zip
-rwxr-xr-x 1 501 dialout 450701627 Sep 22 20:07 outlook.zip
-rwxr-xr-x 1 501 dialout 607534655 Sep 22 17:26 quick1.zip
-rwxr-xr-x 1 501 dialout 431279243 Sep 22 17:26 quick2.zip
-rwxr-xr-x 1 501 dialout 605501959 Sep 22 17:27 quick3.zip
-rwxr-xr-x 1 501 dialout 403836898 Sep 22 17:28 quick4.zip
-rwxr-xr-x 1 501 dialout 380636073 Sep 22 17:28 quick5.zip

meatloop:/cdrom# du -sh
385M .


-
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/