[U-Boot] [PATCH v2 0/2] zfs: Add filesystem ZFS support

Jorgen Lundman lundman at lundman.net
Wed May 23 05:45:17 CEST 2012


ZFS filesystem support from GRUB. Adding 'zfsload' and 'zfsls' commands
for filesystem access. ZFS pool notation syntax is in the format
'/POOLNAME/@/directory/directory/file', also explained in help output.

Initial revision given to GRUB is found:
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/grub/grub-0.97/stage2/zfs-include/zfs.h

Using "either version 2 of the License, or (at your option) any later version."

Jorgen Lundman (2):
  ZFS header files
  zfs: Add ZFS support

 Makefile                     |    2 +-
 common/Makefile              |    1 +
 common/cmd_zfs.c             |  236 +++++
 fs/Makefile                  |    3 +-
 fs/{ => zfs}/Makefile        |   39 +-
 fs/zfs/dev.c                 |  137 +++
 fs/zfs/zfs.c                 | 2396 ++++++++++++++++++++++++++++++++++++++++++
 fs/zfs/zfs_fletcher.c        |   84 ++
 fs/zfs/zfs_lzjb.c            |   94 ++
 fs/zfs/zfs_sha256.c          |  145 +++
 include/config_cmd_all.h     |    1 +
 include/zfs/dmu.h            |  119 +++
 include/zfs/dmu_objset.h     |   43 +
 include/zfs/dnode.h          |   80 ++
 include/zfs/dsl_dataset.h    |   52 +
 include/zfs/dsl_dir.h        |   48 +
 include/zfs/sa_impl.h        |   34 +
 include/zfs/spa.h            |  311 ++++++
 include/zfs/uberblock_impl.h |   57 +
 include/zfs/vdev_impl.h      |   69 ++
 include/zfs/zap_impl.h       |  112 ++
 include/zfs/zap_leaf.h       |  103 ++
 include/zfs/zfs.h            |  122 +++
 include/zfs/zfs_acl.h        |   55 +
 include/zfs/zfs_znode.h      |   70 ++
 include/zfs/zil.h            |   56 +
 include/zfs/zio.h            |   92 ++
 include/zfs/zio_checksum.h   |   49 +
 include/zfs_common.h         |   94 ++
 29 files changed, 4687 insertions(+), 17 deletions(-)
 create mode 100644 common/cmd_zfs.c
 copy fs/{ => zfs}/Makefile (56%)
 create mode 100644 fs/zfs/dev.c
 create mode 100644 fs/zfs/zfs.c
 create mode 100644 fs/zfs/zfs_fletcher.c
 create mode 100644 fs/zfs/zfs_lzjb.c
 create mode 100644 fs/zfs/zfs_sha256.c
 create mode 100644 include/zfs/dmu.h
 create mode 100644 include/zfs/dmu_objset.h
 create mode 100644 include/zfs/dnode.h
 create mode 100644 include/zfs/dsl_dataset.h
 create mode 100644 include/zfs/dsl_dir.h
 create mode 100644 include/zfs/sa_impl.h
 create mode 100644 include/zfs/spa.h
 create mode 100644 include/zfs/uberblock_impl.h
 create mode 100644 include/zfs/vdev_impl.h
 create mode 100644 include/zfs/zap_impl.h
 create mode 100644 include/zfs/zap_leaf.h
 create mode 100644 include/zfs/zfs.h
 create mode 100644 include/zfs/zfs_acl.h
 create mode 100644 include/zfs/zfs_znode.h
 create mode 100644 include/zfs/zil.h
 create mode 100644 include/zfs/zio.h
 create mode 100644 include/zfs/zio_checksum.h
 create mode 100644 include/zfs_common.h



More information about the U-Boot mailing list