Re: [ANNOUNCE] new HFS(+) driver

Dave O <[email protected]> Thu, 2 Oct 2003 14:00:25 -0500 (CDT)
Newsgroups gmane.linux.file-systems.hfsplus.devel,gmane.linux.file-systems,gmane.linux.kernel
Message-ID <[email protected]>

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    .




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf