2009-12-16 Vladimir Serbinenko <phcoder@gmail.com>

UUID support for HFS.

	* fs/hfs.c (grub_hfs_uuid): New function.
	(grub_hfs_fs): New value .uuid.
	* include/grub/hfs.h (grub_hfs_sblock): New field 'num_serial'.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-12-16 15:40:31 +01:00
parent 574cce0cfa
commit c179ebe4ee
3 changed files with 36 additions and 1 deletions

View file

@ -48,7 +48,8 @@ struct grub_hfs_sblock
/* A pascal style string that holds the volumename. */
grub_uint8_t volname[28];
grub_uint8_t unused5[60];
grub_uint8_t unused5[52];
grub_uint64_t num_serial;
grub_uint16_t embed_sig;
struct grub_hfs_extent embed_extent;
grub_uint8_t unused6[4];