You now have the option of installing the test versions via IPK. (sorry you will have to uudecode it after download - it was the only way I could post it here).
Please note that this IPK installs to /usr/sbin and makes no attempt to check for previous files named...
/usr/sbin/fdisk
/usr/sbin/mke2fs
/usr/sbin/mkfs.ext2
/usr/sbin/e2fsck
/usr/sbin/fsck.ext2
/usr/sbin/fsck.ext3
/usr/sbin.tune2fs
So if you have these files installed from another source then you may want to back them up first - or at least determine the original IPK if you wish to roll back !
The package also doesn't attempt to rearrange the PATH variable so please READ the notes attached !
The binaries are identical to the original tests in all but name. In the IPK version I have dropped the -2.12a and -1.35 suffixes.
Please test and report on this thread.
Please report successes as well as failures and please state your model, ROM, ROM rev and Kernel version.
- Andy
/home/root/fsutils.readme.txt from IPK
Firstly a note regarding use..
Once the IPK has been installed it is suggested that you edit your .profile (roots too I would suggest) and rearrange the path order such that /usr/sbin appears before /sbin. This should enable the new tools to be run instead of any preinstalled tools.
This is particularly important with the Cacko ROM since tools of the same name are present in the read only /sbin directory. The install makes no attempt to correct paths for you so it's up to you to ensure that you are running the correct versions of the tools.
Once you have modified the path in qpe.sh restart your console app and check that the path to each tool is correct with the following commands..
which fdisk
which mke2fs
which mkfs.ext2
which e2fsck
which fsck.ext2
which fsck.ext3
which tune2fs
All of these commands should return paths to the /usr/sbin directory versions of the commands. If that is the case then you should pick up the correct versions of the tools by running them.
Please note, do NOT use fsck <dev> to test file systems if you want to use the newer versions of the tools. I would suggest using e2fsck but for your convenience the IPK includes symlinks for fsck.ext2 and fsck.ext3. Please use one of those to test your file systems.
About the tools versions
Original note...
This is a test version and we are looking for "Guinnea Pigs" who don't mind testing these tools on various SD Cards and CF Cards on a variety of Zaurii.
Update of this note - 8th September 2004
Tests thus far are promising. The tools seem to be well behaved and in their limited testing pool have gained approval over the original tools - read the rest of this file for more info.
This IPK release of the tools now names the tools appropriately and places them in the /usr/sbin directory so that they can be called as standard tools in place of the originals.
Note that this is also the default location for the original fdisk ipk present on the ZSI so you will need to reinstall this IPK if you wish to revert to the original. On Cacko ROMs with these tools present in the /sbin directory a simple uninstall should suffice to return to the original tools.
The main point of these tests are...
i. fdisk-2.12a gives accurate geometry readings on some larger cards - observed -(older version 2.11g doesn't).
ii. e2fsck-1.35 seems to handle the journal's in ext3 filesystem correctly - observed - (older 1.19 can destroy firstly the journal pointer and then orphan the inodes composing the journal, this reverts the fs to ext2 when it happens).
iii. mke2fs-1.35 and tune2fs-1.35 are the main tools expected for ext2/3 alongside e2fsck.
I would like experienced Zaurus users to try these out and am interested in providing feedback to Anton Maslovsky regarding suitability for inclusion into the Cacko 1.22 ROM so we really want to know if these tools improve the situation for anyone. - Although I'm not actually involved with the Cacko ROM.
Due to the fact that fdisk 2.11g seems to misdetect the geometry and that e2fsck 1.19 caused problems with some journals I would also be interested in knowing if anyone has been able to ressurect previously dead storage cards.
Final point, this is a test release.
This is not a DR release for people who have major problems with a card and can't use this release without an awful lot of hand holding.
We are looking for people to test this who are capable of running these tools without too much handholding and can provide detailed feedback in the event of problems.
For the interested the build details of these files are :-
fdisk 2.12a was built from util-linux-2.12a downloaded from
www.kernel.org - no source modifications, however, one compiler flag (-mstructure-size-boundary=8) was required to get the compiler to produce code without a structure alignment bug.
the e2fs programs were built from e2fsprogs with no modification (no flag needed either) downloaded from the 1.35 link off e2fsprogs.sourceforge.net.
All source unmodified, compiled with devimg-1.5
Let me know your feedback on the forum please (let's keep it to one thread please).