When enabling the xfs-specific allocation method in Azureus, it will call /usr/sbin/xfs_io to create zero-filled files. However, xfsprogs 2.8.21 installs this tool as /usr/bin/xfs_io. Manually creating a symlink named "/usr/sbin/xfs_io" that points to "../bin/xfs_io" makes everything work. Now, what is the proper approach ? a) xfsprogs creates the symlink b) xfsprogs installs xfs_io in /usr/sbin instead of /usr/bin -- may it break other apps ? c) apply patch to azureus source code to change the path Opinions welcome :-)
This option is gone in azureus-3* betelgeuse@pena /mnt/checkouts/azureus3 $ grep xfs_io -r . betelgeuse@pena /mnt/checkouts/azureus3 $
Well, at least it's there in Azureus_3.0.3.4_source.zip (md5sum 1dd3f6cbf77ce90c1eb2f80d01c7e912)
Yeah it's still there. This is an upstream issue and we should file a bug upstream. Probably a good solution would be to provide a property to overwrite the location. searching $PATH is probably not useful as sbin is not usually in $PATH of normal users. http://www.azureuswiki.com/index.php/Bug_reporting
Sorry, I am so lazy and didn't check. But with Vuze the problem is still there :( It would be great to have an option to specify a path (so that no changes are needed in how distributions file the programs), but of course this is an upstream issue.
Fixed by a patch in CVS in vuze-4.3.1.2. The patch just changes /usr/sbin/ to /usr/bin
Seems like xfsprogs-3.1.2 installs it into /usr/sbin/xfs_io now. azp@skare$ whereis xfs_io xfs_io: /usr/sbin/xfs_io /usr/share/man/man8/xfs_io.8.bz2 In Vuze 4.4.0.6 I get an error message complains about not finding it. The tooltip for it says "Make sure that /usr/sbin/xfs_io is properly installed on your system. In most Linux packages the files are in xfsprogs.", but it still doesn't seem to find it when running.
OK, reopening.
Patch removed in vuze 4.5.0.2 so it will expect /usr/sbin again. We'll have to get it stable at the same time or do some conditional patching if not possible.
This is in stable now.