aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libfsimage/zfs
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* libfsimage: zfs build fix for NetBSDKeir Fraser2010-04-152-13/+13
| | | | | | | | uchar_t is not defined because both FSYS_ZFS and FSIMAGE are defined at build time. Also fix warnings with ctype. Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* Port latest grub zfs boot code to pygrubKeir Fraser2010-04-1426-469/+996
| | | | | | | | Signed-off-by: Mark Johnson <mark.r.johnson@oracle.com> Add -Werror to CFLAGS and fix numerous warnings/errors. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
* libfsimage: Support for zfs version 16.Keir Fraser2009-07-064-11/+11
| | | | | | | Remove version checks to support boot of ZFS root filesystem version 16. Signed-off-by: Susan Kamm-Worrell <susan.kamm-worrell@sun.com>
* libfsimage: Support for zfs version 14.Keir Fraser2009-03-122-13/+2
| | | | Signed-off-by: Susan Kamm-Worrell <susan.kamm-worrell@sun.com>
* tools: Make functions static which should not be exported.Keir Fraser2008-07-151-3/+3
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* tools: replace sprintf with snprintf where applicableKeir Fraser2008-06-121-1/+1
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* libfsimage: Build fix for NetBSD.Keir Fraser2008-06-051-5/+5
| | | | Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
* [libfsimage/zfs] compilation fix ZFS libfsimage support.Keir Fraser2008-05-021-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | Depending on environments, zfs libfsimage support doesn't compile. This patch fixes it. ia64-linux-gnu-gcc -DPIC -O2 -fomit-frame-pointer -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement -I/usr/ia64-linux-gnu/ sys-root/usr/include -D__XEN_TOOLS__ -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -I../../../tools/libfsimage/common/ -Werror -Wp,-MD,.zfs_lzjb.opic.d -fPIC -c -o zfs_lzjb.opic zfs_ lzjb.c In file included from fsys_zfs.h:41, from zfs_lzjb.c:25: zfs-include/zfs_acl.h:29: error: redefinition of typedef uid_t /usr/ia64-linux-gnu/sys-root/usr/include/sys/types.h:82: error: previous declaration of uid_t was here This depends on how __uid_t is defined in the system header. No file under the zfs directory uses uid_t so that just removing the definition in the zfs_acl.h looks reasonable. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
* Add ZFS libfsimage support patchKeir Fraser2008-05-0123-0/+3535
Add support to pygrub and libfsimage to boot ZFS root filesystems. Boot argument of zfs-bootfs is set to describe ZFS root pool and boot filesystem object number. Boot argument bootpath is set to describe the virtual device root mirror components. Signed-off-by: Susan Kamm-Worrell <susan.kamm-worrell@sun.com>