Ext2.xfs
From SpareMiNT Wiki
This is a full working ext2 filesystem driver for FreeMiNT. The complete project is copyrighted by the GNU Public License. It can read and write the actual ext2 version as implemented in Linux for example. The partition size is not limited and the logical sector size can be 1024, 2048 or 4096 bytes. The only restriction is that the physical sector size is smaller or equal to the logical sector size. The blocksize can be configured if you initialize the partition with mke2fs. The next good thing is that it's a lot faster than MinixFS. The ext2 format has a very good structure that is designed for maximal speed and avoids also fragmentation automatically. If you have any problems send me an e-mail or write to the MiNT list. I'm very interested in feedback and suggestions.
Contents |
[edit] Requirements
ext2.xfs requires a XHDI compatible harddisk driver. It also requires a recent FreeMiNT version (at least 1.15.1 beta 0.6). The right version is checked on startup.
[edit] Tips & Tricks
Make sure that your ext2 partition is recognised by the hard disk driver. You can achieve this by setting its partition ID to either RAW or LNX.
The default cache of the new buffer cache in FreeMiNT is small. To get a better performance of the ext2.xfs increase the buffer cache (it is suggest at least a size of 500kb as minimum - this may no longer be relevant). Also the use of latest e2fsprogs may cause problems on some systems (eg. FireBee), in which case you can use the older package (version 1.19 - 2000).
[edit] Installation
ext2.xfs should be placed in the same folder as mint.cnf. Do not mix and match binaries from different kernel versions. Use the version found in the XFS folder in your FreeMiNT distribution (including daily builds).
[edit] WARNING
BE CAREFUL WHEN USING MKE2FS. MAKE SURE YOU SPECIFY THE CORRECT DRIVE WHEN USING THIS PROGRAM, AS ANY DATA ON THAT DRIVE WILL BE LOST.
[edit] History
See in ChangeLog for more details. Thanks to Axel Kaiser who started this project and put it into the GPL. Now it's almost ready, stable and very fast. Thanks also to all other people that helped me and told me that they are very happy to see this development. This was a good motivation. (Frank Naumann - 2000)

