Short: Second Extended FileSystem (EXT2) driver for MorphOS v0.2 Author: Marek Szyprowski Uploader: Marek Szyprowski Type: disk/misc This is early version of the Second Extended FileSystem (EXT2) driver for MorphOS. *** What's new in 0.2 *** * speed-up in directory listing * reduced memory usage and fragmentation * added some error requesters * works also when blocksize is not specified corectly * better handling files larger than 2 GB (these files are reported as 2 GB, not as filesize modulo 4 GB) *** Features *** * support for Ext2 and Ext3 partitions * support different blocksizes * special un*x files like socket, pipe or devices are listed as files with 0 size * hardlinks and symlinks (softlinks) are supported * transparent support for un*x path names (like "../etc") * thanks to great libDeviceIO from Marcin 'Morgoth' Kurek there is: - effective and fast read cache system - support for partitions larger than 4Gb - support for partitions beyond 4Gb boundary (useing TD64) *** Limitations *** * read-only support (this is a subject to change in future versions) * it is simple handler not a filesystem (you cannot put it in RDB for automount on startup) * no removable media (i.e. floppies) support *** How to install *** Step 1 - determine the block size of the specified file system This can be easily done with dumpe2fs tool under linux. Simply type "dumpe2fs -h /dev/", where is a device with specified filesystem. In the middle output there is a line with "Block size". Remember its vaule. Step 2 - correcting partition parameters in RDB Run SCSIConfig (or other tool used for partitioning your HD). Select ext2 partition. Set blocksize you got in step 1. Also turn 'Mount' option on. Save you changes and reboot machine. Step 3 - creating mountlist Run 'MakeMountList' tool (included) with the ext2 partition name as an argument. Save generated mount list and open it in your favourite editor. Remove the first line (partition name) and the last list ('#' sign). Change 'GlobVec' field to '-1' (if it was set to '0'). Change 'Stack' field to '16384' (just in case). Add these two lines to the mountlist: FileSystem = L:EXT2FileSystem Activate = 1 DosType = 0x444F5300 Save mountlist. Step 4 - cleaning up RDB Run SCSIConfig once more and select ext2 partition. Turn 'Mount' option off. Save changes and reboot machine. Step 5 - finish Copy EXT2FileSystem to SYS:L and mount ext2 partition with shell 'mount' command. You should see an extra icon on your Ambient screen. Warning: use 'mount' tool from MorphOS NOT THE ONE FROM AMIGA OS3.x (don't know why the second doesn't work with my EXT2FileSystem). Warning: don't add an icon to generated mountlist. MorphOS 'mount' tool doesn't work when launched from icon. *** Additional informations *** If you want to change or set the volume name of ext2 partition, use 'tune2fs' tool under Linux: tune2fs -L /dev/ If you want to have ext2 partition mounted every boot, copy your mountlist to SYS:Devs/DOSDrivers If you want to set blocksize manually use SectorsPerBlock field in mountlist, not the SectorSize field (it almost always should be left untouched). The default SectorSize is 512 (in case when this field is missing in mountlist). Set SectorsPerBlock to Blocksize/SectorSize. For example to set blocksize to 4096, set SectorsPerBlock to 8 (4096/512 = 8). If you whan to mount partition from disk which has partitions in PC (MDB) format, use 'mountdos' from Aminet. Use 'GENERATE' option and correct generated mountlist in same way that is written in 'Install' section. *** Author, contact and copyright infos *** EXT2FileSystem has been written by Marek 'March' Szyprowski . Mail me if you have any suggestions or found a bug. Copyright (C) 2004 Marek 'March' Szyprowski EXT2FileSystem uses livDeviceIO by Marcin Kurek (Morgoth/Dreamolers-CAPS). Big thanks to him for it and for help in writing this driver.