Add iso9660 support to libfsimage
PATCH 1/1 Add iso9660 support to libfsimage
# HG changeset patch
# User [email protected]
# Date 1172012044 28800
# Node ID ba6219d465a57363f2e9db2c92bd537bcfe44a80 # Parent 32af7d1cf326c33b5c02e3114e94afc5c7ab360b Add iso9660 support to libfsimage.
Signed-off-by John Levon <[email protected]>
tools/libfsimage/Makefile +1 -1
@@ -1,7 +1,7 @@ XEN_ROOT = ../.. XEN_ROOT = ../.. include $(XEN_ROOT)/tools/Rules.mk -SUBDIRS-y = common ufs reiserfs +SUBDIRS-y = common ufs reiserfs iso9660 SUBDIRS-y += $(shell ./check-libext2fs) .PHONY: all
tools/libfsimage/common/fsimage_grub.c +78 -0
84 lines not on this page · raw message
tools/libfsimage/common/fsimage_grub.h +4 -1
@@ -57,16 +57,19 @@ typedef struct fsig_plugin_ops {#define disk_read_func (*fsig_disk_read_junk())#define disk_read_hook (*fsig_disk_read_junk())#define print_possibilities 0 +#define noisy_printf#define grub_memset memset#define grub_memmove memmove +#define grub_log2 fsig_log2extern char **fsig_disk_read_junk (void ); +unsigned long fsig_log2 (unsigned long );#define ERR_FSYS_CORRUPT 1 +#define ERR_OUTSIDE_PART 1#define ERR_SYMLINK_LOOP 1#define ERR_FILELENGTH 1 -#define ERR_BAD_FILETYPE 1#define ERR_BAD_FILETYPE 1#define ERR_FILE_NOT_FOUND 1
tools/libfsimage/common/mapfile-GNU +1 -0
@@ -20,6 +20,7 @@ VERSION { fsig_init; fsig_devread; fsig_substring; + fsig_log2; fsig_fs_buf; fsig_file_alloc; fsig_file_buf;
tools/libfsimage/common/mapfile-SunOS +1 -0
@@ -19,6 +19,7 @@ libfsimage.so.1.0 { fsig_init; fsig_devread; fsig_substring; + fsig_log2; fsig_fs_buf; fsig_file_alloc; fsig_file_buf;
tools/libfsimage/ext2fs/fsys_ext2fs.c +1 -88
101 lines not on this page · raw message
tools/libfsimage/iso9660/Makefile new file +15 -0
@@ -0,0 +1,15 @@ +XEN_ROOT = ../../.. + +LIB_SRCS-y = fsys_iso9660.c + +FS = iso9660 + +.PHONY: all +all: fs-all + +.PHONY: install +install: fs-install + +fsys_iso9660.c: iso9660.h + +include $(XEN_ROOT)/tools/libfsimage/Rules.mk
tools/libfsimage/iso9660/fsys_iso9660.c new file +463 -0
463 lines not on this page · raw message
tools/libfsimage/iso9660/iso9660.h new file +219 -0
219 lines not on this page · raw message
tools/libfsimage/reiserfs/fsys_reiserfs.c +0 -77
83 lines not on this page · raw message