diff options
author | Serj Kalichev <serj.kalichev@gmail.com> | 2013-11-19 16:30:06 +0400 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2014-03-13 19:58:20 -0700 |
commit | 386b59e18deb2e759c14ecdcaab8a4b589a3ad63 (patch) | |
tree | faa4411634f3791a4eeaadea5250a26b235b1f67 /core/include/fs.h | |
parent | 8bbb10b70905339b7ca6b58d6833b6a95ab03dae (diff) | |
download | syslinux-386b59e18deb2e759c14ecdcaab8a4b589a3ad63.tar.gz |
Add filesystem UUID to SYSAPPEND for FAT
Filesystem UUID shows the partition we boot kernel from.
The kernel parameter has format like FSUUID=DA1A-0B2E.
The SYSAPPEND bit is 0x40000. Now the FAT only supports FSUUID.
The patch is based on 67aaaeeb228.
Signed-off-by: Serj Kalichev <serj.kalichev@gmail.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'core/include/fs.h')
-rw-r--r-- | core/include/fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/include/fs.h b/core/include/fs.h index 31ef3157..22fd6bff 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -73,6 +73,9 @@ struct fs_ops { int (*next_extent)(struct inode *, uint32_t); int (*copy_super)(void *buf); + + char * (*fs_uuid)(struct fs_info *); + }; /* @@ -205,6 +208,7 @@ void pm_open_file(com32sys_t *); void close_file(uint16_t handle); void pm_close_file(com32sys_t *); int open_config(void); +char *fs_uuid(void); extern uint16_t SectorShift; |