2005-09-28 Marco Gerards <metgerards@student.han.nl>

Adds support for the XFS filesystem.  Btrees are not supported
	yet.

	* fs/xfs.c: New file.

	* DISTLIST: Added `fs/xfs.c'.

	* conf/i386-pc.rmk (grub_setup_SOURCES): Add `fs/xfs.c'.
	(grub_probefs_SOURCES): Likewise.
	(grub_emu_SOURCES): Likewise.
	(pkgdata_MODULES): Add `xfs.mod'.
	(xfs_mod_SOURCES): New variable.
	(xfs_mod_CFLAGS): Likewise.

	* conf/powerpc-ieee1275.rmk (grub_emu_SOURCES): Add `fs/xfs.c'.
	(pkgdata_MODULES): Add `xfs.mod'.
	(xfs_mod_SOURCES): New variable.
	(xfs_mod_CFLAGS): Likewise.

	* util/grub-emu.c (main): Call `grub_xfs_init' and
	`grub_xfs_fini'.

	* include/grub/fs.h (grub_xfs_init): New prototype.
	(grub_xfs_fini): Likewise.
This commit is contained in:
marco_g 2005-09-28 10:07:22 +00:00
parent 83d37a627e
commit b2499b29cd
9 changed files with 898 additions and 24 deletions

View file

@ -202,6 +202,7 @@ main (int argc, char *argv[])
grub_minix_init ();
grub_hfs_init ();
grub_jfs_init ();
grub_xfs_init ();
grub_ls_init ();
grub_boot_init ();
grub_cmp_init ();
@ -233,6 +234,7 @@ main (int argc, char *argv[])
grub_loop_fini ();
grub_util_biosdisk_fini ();
grub_normal_fini ();
grub_xfs_fini ();
grub_ufs_fini ();
grub_ext2_fini ();
grub_minix_fini ();