aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/ext2fs-lib
Commit message (Collapse)AuthorAgeFilesLines
* libfsimage: add ext4 support for CentOS 5.xRoger Pau Monne2012-09-142-2/+8
| | | | | | | | | | | | | | | CentOS 5.x forked e2fs ext4 support into a different package called e4fs, and so headers and library names changed from ext2fs to ext4fs. Check if ext4fs/ext2fs.h and -lext4fs work, and use that instead of ext2fs to build libfsimage. This patch assumes that if the ext4fs library is present it should always be used instead of ext2fs. This patch includes a rework of the ext2fs check, a new ext4fs check and a minor modification in libfsimage to use the correct library. Signed-off-by: Roger Pau Monne <roger.pau@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
* tools: Revert c/s 25150:b490ef93bad7 tools/libfsimage: include Rules.mk firstGeorge Dunlap2012-04-131-1/+2
| | | | | | | | | | | | | tools/libfsimage/Rules.mk relies on having certain variables set already; if they're not set, the definitions dont' work right. The result was a bunch of empty files and pygrub failing with an uninformative error message. It's likely that this didn't cause anyone problems becasue changing the Makefiles didn't cause a re-build; building from a fresh repo results in completely empty filesystem plugin binaries. Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
* tools/libfsimage: include Rules.mk firstOlaf Hering2012-03-141-2/+1
| | | | | | | | | Move the inclusion of Rules.mk up so that things like CFLAGS get initialized properly. Currently only zfs appends CFLAGS. If CFLAGS get reset by Rules.mk the private settings are lost and compilation of zfs support fails. Signed-off-by: Olaf Hering <olaf@aepfle.de> Committed-by: Ian Jackson <ian.jackson.citrix.com>
* build: Make XEN_ROOT an absolute path.Keir Fraser2011-03-171-1/+1
| | | | | | | | Otherwise make can search the path relative to certain standard paths such as /usr/include (e.g., the line '-include $(XEN_ROOT)/.config' in Config.mk suffers from this). Signed-off-by: Keir Fraser <keir@xen.org>
* Filesystem implementations may need optional arguments in terms ofjohn.levon@sun.com2007-02-191-1/+1
| | | | | | what to mount. Add an options string to the libfsimage API. Signed-off-by: John Levon <john.levon@sun.com>
* Remove useless fsip_fs_free(). Delegate freeing of private data to its pluginjohn.levon@sun.com2007-01-161-0/+2
| | | | | | users. Miscellaneous tidy. Signed-off-by: John Levon <john.levon@sun.com>
* [LIBFSIMAGE] Further 64bit compile fixTim Deegan2006-11-101-1/+1
| | | | | | | 64bit libext2fs can have __u64 defined as unsigned long long, while a uint64_t is unsigned long, and GCC complains. Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
* [LIBFSIMAGE] Fix printf-format warning on x86/64.kaf24@firebug.cl.cam.ac.uk2006-11-101-1/+2
| | | | Signed-off-by: Ben Thomas <ben@virtualiron.com>
* Add libfsimage, a C library for reading files from filesystem images.Tim Deegan2006-11-092-0/+186
Initial support is provided for Solaris UFS, ext2 (both using libext2fs and not), and reiserfs. Signed-off-by: John Levon <john.levon@sun.com>