grub/grub-core/fs
Vladimir 'phcoder' Serbinenko d3c13cbd62 Integrate hints into autogeneration scripts.
* docs/grub.texi (Filesystems): Add a hostdisk example.
	* Makefile.util.def (grub-mkdevicemap): Remove ofpath.
	(grub-probe): Add ofpath.
	* gentpl.py: Remove group nosparc64.
	* grub-core/commands/search.c (cache_entry): New struct.
	(cache): New var.
	(FUNC_NAME): Use and save cache. Fix handling of trailing comma.
	* grub-core/commands/search_wrap.c (options): Add platform-specific
	hint options.
	(grub_cmd_search): Handle platform-specific hints.
	(GRUB_MOD_INIT): Declare grub_cmd_search as accept_dash.
	* grub-core/kern/emu/hostdisk.c (map): New field device_map.
	(grub_util_biosdisk_data): Likewise.
	(grub_util_biosdisk_open): Set device_map.
	(read_device_map): Handle "" as indication of no map.
	Set device_map.
	(find_system_device): Add hostdisk/ prefix for autogenerated entries.
	(grub_util_biosdisk_get_compatibility_hint): New function.
	* grub-core/normal/main.c (features): Add feature_platform_search_hint.
	* include/grub/emu/hostdisk.h
	(grub_util_biosdisk_get_compatibility_hint): New proto.
	* util/grub-install.in: Don't call grub-mkdevicemap.
	Add platform-specific hint to load.cfg.
	* util/grub-mkconfig.in: Don't call grub-mkdevicemap.
	* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
	hints. Set root preliminary to compatibility hint, not to OS name.
	* util/grub-probe.c (PRINT_*): Add hints.
	(print): Make static.
	(escape_of_path): New function.
	(guess_bios_drive): Likewise.
	(guess_efi_drive): Likewise.
	(guess_baremetal_drive): Likewise.
	(print_full_name): Likewise.
	(probe): Handle hints.
	(main): Likewise.
	* util/ieee1275/devicemap.c: Removed.
	* util/ieee1275/ofpath.c (find_obppath): Allow to fail. All users
	updated.
	(grub_util_devname_to_ofpath): Return NULL on failure.

	* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_get_grub_dev): Fix
	resource leak.
	* util/getroot.c (grub_util_pull_device): Fix memory leak.

	* po/POTFILES.in: Regenerated.

	Allow purely long options

	* grub-core/lib/arg.c (SHORT_ARG_HELP): Removed.
	(SHORT_ARG_USAGE): Likewise.
	(grub_arg_show_help): Compare opt with help_options.
	(parse_option): Receive opt as argument. If makes big simplificatons.
	All users updated
2011-12-24 15:09:26 +01:00
..
zfs * grub-core/fs/zfs/zfs.c (DVA_OFFSET_TO_PHYS_SECTOR): Make into inline 2011-12-13 11:33:02 +01:00
affs.c AFFS never uses unicode. 2011-12-14 09:52:00 +01:00
afs.c Leverage BFS implementation to read AFS. 2011-10-30 16:10:18 +01:00
bfs.c Leverage BFS implementation to read AFS. 2011-10-30 16:10:18 +01:00
btrfs.c * grub-core/fs/btrfs.c (grub_btrfs_embed): Spelling fix. 2011-11-11 17:13:23 +01:00
cpio.c Integrate hints into autogeneration scripts. 2011-12-24 15:09:26 +01:00
cpio_be.c Support odc, newc and bigendian cpio formats. 2011-12-23 16:15:18 +01:00
exfat.c exfat reader 2011-04-11 18:13:00 +02:00
ext2.c * grub-core/fs/ext2.c (grub_ext4_find_leaf): MAke buf as pointer to 2011-12-13 01:58:35 +01:00
fat.c * grub-core/fs/udf.c (read_string): Macroify GRUB_MAX_UTF8_PER_UTF16. 2011-12-13 01:41:16 +01:00
fshelp.c Fix few obvious type discrepancies. 2011-10-16 11:57:48 +02:00
hfs.c * grub-core/fs/hfs.c (grub_hfs_find_node): Handle unaligned keys. 2011-12-13 23:10:38 +01:00
hfsplus.c * grub-core/fs/hfsplus.c (grub_hfsplus_btree_recoffset): Handle the 2011-12-13 02:05:58 +01:00
iso9660.c * grub-core/fs/iso9660.c (grub_iso9660_convert_string): Make first 2011-12-13 16:35:12 +01:00
jfs.c * grub-core/fs/jfs.c (grub_jfs_getent): Handle UTF16 endianness. 2011-12-13 23:11:48 +01:00
minix.c Use shifts in minix filesystem. 2011-10-28 16:09:20 +02:00
minix2.c Split minix.mod into minix.mod and minix2.mod. 2010-09-08 19:13:48 +02:00
minix3.c minix3fs support 2011-04-11 08:16:13 +02:00
newc.c Support odc, newc and bigendian cpio formats. 2011-12-23 16:15:18 +01:00
nilfs2.c * grub-core/fs/nilfs2.c (grub_nilfs2_btree_node): Add zero-size keys 2011-12-13 02:00:44 +01:00
ntfs.c * grub-core/fs/ntfs.c (u16at): Make into inline function. 2011-12-13 14:17:24 +01:00
ntfscomp.c * include/grub/ntfs.h: Add GRUB_NTFS_ prefix. All users updated. 2011-10-27 02:59:45 +02:00
odc.c Support odc, newc and bigendian cpio formats. 2011-12-23 16:15:18 +01:00
reiserfs.c Make reiserfs label retrieval similar to other *_label functions. 2011-11-03 14:57:34 +01:00
romfs.c * grub-core/fs/romfs.c (grub_romfs_mount): Fix pointer comparison 2011-12-13 23:15:56 +01:00
sfs.c Fix few obvious type discrepancies. 2011-10-16 11:57:48 +02:00
squash4.c * grub-core/fs/squash4.c (grub_squash_inode): Fix field sizes. 2011-12-13 23:14:25 +01:00
tar.c automake commit without merge history 2010-05-06 11:34:04 +05:30
udf.c * grub-core/fs/udf.c (grub_udf_partmap): Add packed attribute 2011-12-13 13:58:33 +01:00
ufs.c * grub-core/fs/ufs.c (grub_ufs_mtime) [MODE_UFS2]: Check mtime field 2011-11-03 15:00:45 +01:00
ufs2.c automake commit without merge history 2010-05-06 11:34:04 +05:30
xfs.c * grub-core/fs/xfs.c (grub_xfs_iterate_dir): Use grub_get_unaligned16 2011-12-13 02:02:38 +01:00