No description
Find a file
bean 887d2619bf 2008-05-20 Bean <bean123ch@gmail.com>
* fs/fshelp.c (grub_fshelp_map_block): New function.
	(grub_fshelp_find_file): Use 64-bit type for pos and block address.
	Use `>>' and `&' operator to avoid 64-bit divide and modulo.

	* include/grub/fshelp.h (grub_fshelp_journal_type): New enum.
	(GRUB_FSHELP_JOURNAL_UNUSED_MAPPING): New macro.
	(grub_fshelp_journal): New structure.
	(grub_fshelp_map_block): New function prototype.
	(grub_fshelp_read_file): Use grub_disk_addr_t as block type.
	(grub_fshelp_map_block): Likewise.

	* fs/ext2.c (EXT3_FEATURE_COMPAT_HAS_JOURNAL): New macro.
	(EXT3_JOURNAL_MAGIC_NUMBER): Likewise.
	(EXT3_JOURNAL_DESCRIPTOR_BLOCK): Likewise.
	(EXT3_JOURNAL_COMMIT_BLOCK): Likewise.
	(EXT3_JOURNAL_SUPERBLOCK_V1): Likewise.
	(EXT3_JOURNAL_SUPERBLOCK_V2): Likewise.
	(EXT3_JOURNAL_REVOKE_BLOCK): Likewise.
	(EXT3_JOURNAL_FLAG_ESCAPE): Likewise.
	(EXT3_JOURNAL_FLAG_SAME_UUID): Likewise.
	(EXT3_JOURNAL_FLAG_DELETED): Likewise.
	(EXT3_JOURNAL_FLAG_LAST_TAG): Likewise.
	(grub_ext2_sblock): New members for journal support.
	(grub_ext3_journal_header): New structure.
	(grub_ext3_journal_revoke_header): Likewise.
	(grub_ext3_journal_block_tag): Likewise.
	(grub_ext3_journal_sblock): Likewise.
	(grub_fshelp_node): New members logfile and journal.
	(grub_ext2_read_block): Change block type to grub_disk_addr_t. Use
	grub_fshelp_map_block to get real block number.
	(grub_ext2_blockgroup): Use grub_fshelp_map_block to get real block
	number.
	(grub_ext2_read_inode): Likewise.
	(grub_ext3_get_journal): New function.
	(grub_read_inode): Initialize journal using grub_ext3_get_journal.
	(grub_ext2_close): Release memory used by journal.

	* fs/reiserfs.c (REISERFS_MAGIC_STRING): Changed to "ReIsEr".
	(REISERFS_MAGIC_DESC_BLOCK): New macro.
	(grub_reiserfs_transaction_header): Renamed to
	grub_reiserfs_description_block, replace field data with real_blocks.
	(grub_reiserfs_commit_block): New structure.
	(grub_reiserfs_data): New member journal.
	(grub_reiserfs_get_item): Use grub_fshelp_map_block to get real block
	number.
	(grub_reiserfs_read_symlink): Likewise.
	(grub_reiserfs_iterate_dir): Likewise.
	(grub_reiserfs_open): Likewise.
	(grub_reiserfs_read): Likewise.
	(grub_reiserfs_get_journal): New function.
	(grub_reiserfs_mount): Use "ReIsEr" as super block magic, as there are
	three varieties ReIsErFs, ReIsEr2Fs and ReIsEr3Fs. Initialize journal
	using grub_reiserfs_get_journal.
	(grub_reiserfs_close): Release memory used by journal.

	* fs/affs.c (grub_affs_read_block): Change block type to
	grub_disk_addr_t. Use grub_divmod64 to do 64-bit division.

	* fs/afs.c (grub_afs_read_block): Change block type to grub_disk_addr_t.

	* fs/hfsplus.c (grub_hfsplus_read_block): Likewise.

	* fs/ntfs.c (grub_ntfs_read_block): Likewise.

	* fs/udf.c (grub_udf_read_block): Change block type to
	grub_disk_addr_t. Use type cast to avoid warning.

	* fs/xfs.c (grub_xfs_read_block): Likewise.
2008-05-20 05:00:53 +00:00
boot/i386/pc 2008-03-05 Bean <bean123ch@gmail.com> 2008-03-05 05:09:35 +00:00
bus 2008-04-05 Pavel Roskin <proski@gnu.org> 2008-04-05 07:20:29 +00:00
commands 2008-05-16 Christian Franke <franke@computer.org> 2008-05-16 21:55:29 +00:00
conf 2008-04-25 Bean <bean123ch@gmail.com> 2008-04-25 19:41:51 +00:00
disk 2008-05-07 Robert Millan <rmh@aybabtu.com> 2008-05-07 12:39:26 +00:00
docs 2008-04-29 Robert Millan <rmh@aybabtu.com> 2008-04-29 12:17:33 +00:00
font 2008-02-09 Vesa Jaaskelainen <chaac@nic.fi> 2008-02-10 11:04:38 +00:00
fs 2008-05-20 Bean <bean123ch@gmail.com> 2008-05-20 05:00:53 +00:00
hello 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
include 2008-05-20 Bean <bean123ch@gmail.com> 2008-05-20 05:00:53 +00:00
io Typo fixes in comments and variable names. 2007-12-30 08:52:06 +00:00
kern 2008-05-15 Bean <bean123ch@gmail.com> 2008-05-15 11:51:22 +00:00
loader 2008-04-25 Bean <bean123ch@gmail.com> 2008-04-25 19:41:51 +00:00
normal 2008-04-01 Pavel Roskin <proski@gnu.org> 2008-04-02 01:27:09 +00:00
partmap 2008-02-23 Robert Millan <rmh@aybabtu.com> 2008-02-23 20:33:32 +00:00
term 2008-04-25 Bean <bean123ch@gmail.com> 2008-04-25 19:41:51 +00:00
util 2008-05-16 Christian Franke <franke@computer.org> 2008-05-16 21:39:52 +00:00
video 2008-03-31 Bean <bean123ch@gmail.com> 2008-03-31 12:00:48 +00:00
.cvsignore Add kernel.elf and kernel_elf_symlist.c, they are generated on PowerPC 2007-11-26 05:43:50 +00:00
aclocal.m4 2008-04-17 Lubomir Kundrak <lkundrak@redhat.com> 2008-04-17 14:14:10 +00:00
AUTHORS 2005-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2005-09-03 16:54:27 +00:00
autogen.sh Initial revision 2002-12-27 08:53:07 +00:00
ChangeLog 2008-05-20 Bean <bean123ch@gmail.com> 2008-05-20 05:00:53 +00:00
config.guess 2008-03-01 Yoshinori K. Okuji <okuji@enbug.org> 2008-03-01 17:27:51 +00:00
config.h.in 2008-02-13 Robert Millan <rmh@aybabtu.com> 2008-02-13 20:04:37 +00:00
config.sub 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
configure 2008-04-17 Lubomir Kundrak <lkundrak@redhat.com> 2008-04-17 14:14:10 +00:00
configure.ac 2008-04-17 Lubomir Kundrak <lkundrak@redhat.com> 2008-04-17 14:14:10 +00:00
COPYING 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
DISTLIST 2008-04-29 Robert Millan <rmh@aybabtu.com> 2008-04-29 12:17:33 +00:00
gencmdlist.sh 2005-03-18 Yoshinori K. Okuji <okuji@enbug.org> 2005-03-18 18:16:26 +00:00
gendistlist.sh 2008-04-13 Robert Millan <rmh@aybabtu.com> 2008-04-13 10:55:19 +00:00
genfslist.sh 2005-07-03 Yoshinori Okuji <okuji@enbug.org> 2005-07-03 18:06:56 +00:00
geninit.sh 2007-07-22 Robert Millan <rmh@aybabtu.com> 2007-07-22 19:17:27 +00:00
geninitheader.sh 2007-07-22 Robert Millan <rmh@aybabtu.com> 2007-07-22 19:17:27 +00:00
genkernsyms.sh.in 2008-04-02 Pavel Roskin <proski@gnu.org> 2008-04-02 07:29:59 +00:00
genmk.rb 2008-04-17 Lubomir Kundrak <lkundrak@redhat.com> 2008-04-17 14:14:10 +00:00
genmoddep.awk 2006-05-29 Yoshinori K. Okuji <okuji@enbug.org> 2006-05-28 23:01:43 +00:00
genmodsrc.sh 2007-07-22 Yoshinori K. Okuji <okuji@enbug.org> 2007-07-21 23:32:33 +00:00
genpartmaplist.sh forgot to add genpartmaplist.sh 2008-04-13 10:58:23 +00:00
gensymlist.sh.in 2008-04-02 Pavel Roskin <proski@gnu.org> 2008-04-02 07:29:59 +00:00
INSTALL 2006-01-03 Marco Gerards <marco@gnu.org> 2006-01-03 17:58:02 +00:00
install-sh 2008-03-01 Yoshinori K. Okuji <okuji@enbug.org> 2008-03-01 17:27:51 +00:00
Makefile.in 2008-04-25 Bean <bean123ch@gmail.com> 2008-04-25 19:41:51 +00:00
mkinstalldirs 2006-06-04 Yoshinori K. Okuji <okuji@enbug.org> 2006-06-04 12:59:19 +00:00
NEWS 2008-02-03 Yoshinori K. Okuji <okuji@enbug.org> 2008-02-03 13:57:54 +00:00
README Update the URL of the wiki. 2006-04-02 08:59:23 +00:00
stamp-h.in Initial revision 2002-12-27 08:53:07 +00:00
THANKS 2007-09-03 Yoshinori K. Okuji <okuji@enbug.org> 2007-09-03 20:33:20 +00:00
TODO 2008-01-07 Robert Millan <rmh@aybabtu.com> 2008-01-07 19:21:34 +00:00

This is GRUB 2, the second version of the GRand Unified Bootloader.
GRUB 2 is rewritten from scratch to make GNU GRUB cleaner, safer, more
robust, more powerful, and more portable.

See the file NEWS for a description of recent changes to GRUB 2.

See the file INSTALL for instructions on how to build and install the
GRUB 2 data and program files.

Please visit the official web page of GRUB 2, for more information.
The URL is <http://www.gnu.org/software/grub/grub.html>.

For now, there is not much documentation yet. Please look at the GRUB
Wiki <http://grub.enbug.org> for testing procedures.