Short: SGI(tm) XFileSystem(tm) (XFS) driver Author: Marek Szyprowski Uploader: Marek Szyprowski Type: disk/misc Version: v0.8 Replaces: disk/misc/sgixfs_* Architecture: ppc-morphos; m68k-amigaos Status: freeware, please read http://home.elka.pw.edu.pl/~mszyprow/programy/donate.html This is early version of the SGI(tm) XFileSystem(tm) (XFS) driver for MorphOS and AmigaOS3.x. *** What's new in v0.8 *** * removed a little IO hack introduced in v0.7 * added proper resident structure so "version DRIVE:" now works with SGIX disks *** What's new in v0.7 since v0.4 (read changelog.txt for details) *** * updated to latest Ext2FS filesystem skeleton - this adds support for removable media, handler inhibit and shutdown. * many minor bugfixes *** Features *** * support for different directory and file storage type: in-inode, single block, extent list and btree based * support different blocksizes (but only default 4096 tested so far) * automatically adapts to correct blocksize (not tested) * special un*x files like socket, pipe or devices are listed as files with 0 size * transparent support for un*x path names (like "../etc") * unique volume names for unnamed filesystems * configurable cache size * supports removable media (i.e. floppies) * thanks to great libDeviceIO from Marcin 'Morgoth' Kurek there is: - effective and fast read cache system - support for partitions beyond 4Gb boundary (using TD64) *** Limitations *** * read-only support (this probably won't change in future) * no symlinks support yet * no directory hashtables support yet (object lookup in really large directory will take some time) * only 32 bit inodes are supported (it isn't a real problem, because Linux on 32bit systems also supports only 32bit inodes) *** Warning *** There is no guarantee that this filesystem will work with your disk. It may crash without any reasons. This filesystem is a COMPLETE HACK - there is no up-to-date documentation about XFS on-disk structures. Linux XFS sources are so weird that are almost useless (in terms of code). A bit helpful was XFS driver from GNU Grub - where I found all needed in-block offsets. However all of the SOURCE CODE is written from scratch basing mainly on what I found with disk editor. I did not use any GPL covered code in this driver. *** Cache size and disk buffers *** You can adjust number of memory buffers used by this filesystem. Just set 'Buffers' field in mountlist to the requested number of buffers. The only difference between this and other filesystems that the size of SIGNLE buffer is 16KB, NOT the size of filesystem block. So setting 64 buffers will use about 1MB of memory! Reasonable value for SGIXFileSystem filesystem is about 64 or 128 (1MB or 2MB). *** How to install *** Copy SGIXFileSystem to SYS:L, then create a mountlist for your partition and mount it with shell 'mount' command. The easied way to create a mountlist for XFS partition or disk is to use GiggleDisk tool created by Guido Mersmann. It is available on http://www.geit.de/ Once you generate mountlist please make sure that the following fields have correct values: GlobVec = -1 DosType = 0x58465300 StackSize = 16384 FileSystem = L:SGIXFileSystem Activate = 1 Also set the 'Buffers' field to requested value. More informations is available in the 'Cache size' paragraph. If you want to have XFS partition mounted every boot, copy your mountlist to SYS:Devs/DOSDrivers *** Additional informations *** If you want to change or set the volume name of XFS partition, use 'xfs_admin' tool under Linux: xfs_admin -L /dev/ *** Author, contact and copyright infos *** More informations about SGI(tm) XFS(tm) can be found on: http://www.sgi.com/products/software/xfs/ SGI(tm) and XFS(tm) are registered trademark of Silicon Graphics, Inc. More informations about GNU Grub can be found on: http://www.gnu.org/software/grub/grub.en.html SGIXFileSystem has been written by Marek 'March' Szyprowski . Mail me if you have any suggestions or found a bug. Copyright (C) 2004,2005,2006 Marek 'March' Szyprowski SGIXFileSystem is a free software. If you want to support its development please read http://home.elka.pw.edu.pl/~mszyprow/programy/donate.html SGIXFileSystem uses libDeviceIO by Marcin Kurek (Morgoth/Dreamolers-CAPS). Big thanks to him for it and for help in writing this driver.