Re: [AVFS] Patch for inode calculation and fix of bzlib

Miklos Szeredi <[email protected]> Fri, 27 May 2005 09:53:11 +0200
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
> Attached is another patch which changes the inode calculation for the
> virtual files in /#avfsstat as discussed. I also fixed the bzlib so it
> doesn't hangs anymore when accessing a corrupt bz2 archive.
> "bzfile_decompress" will now return -EIO if there are no bytes available
> after fill_inbuf. I hope this solution is okay.

Hmm, probably OK.  I think it's bzlib's fault if it doesn't return an
error on corrupted input, but this seems a good workaround.

> I will also update the extfs scripts to include the latest versions from
> mc. Is there something I need to care about (changes in extfs interface
> or something)?

I really don't know.  You should try it out and if it works, it's ok.

> Currently I change the build process to use automake/libtool. Using
> automake the package should be easier to maintain. As a side effect the
> shared library gets version information so it's much easier to change
> the code as the linker will refuse to use the library if the version
> doesn't match. The build process already works for the shared library
> but I have problems with the kernel modules and additional scripts for
> avfscode (emacs script/rc scripts and so), but nothing unsolveable (I
> hope :-)
> In the end I hope that new version are much easier to do (think of "make
> dist") and perhaps at least the shared library will be portable to more
> systems (as libtool handles the build process).
> 
> What do you think about this?

I think it's great.

Would you like to have access to the CVS repository?  Then you don't
have to wait for me with these changes :)

Thanks,
Miklos



-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005