boot1.efi and ZFS

Victor Sudakov vas at sibptus.ru
Tue Oct 22 07:33:56 UTC 2019


Dear Colleagues,

Out of curiousity. UEFI(8) says that 

"boot1.efi searches partitions of type freebsd-ufs and
freebsd-zfs for	loader.efi.  The search	begins with partitions
on the device from which boot1.efi was loaded, and continues
with other available partitions.  If both freebsd-ufs and
freebsd-zfs partitions exist on	the same device	the
freebsd-zfs partition is preferred.  boot1.efi then loads and
executes loader.efi."

This means that boot1.efi (with binary size 80k) includes a ZFS
filesystem driver (even if just readonly)? Really, a ZFS implementation
can be so small in size?

Is _all_ the ZFS access code really in /src/stand/efi/boot1/zfs_module.c ? 

-- 
Victor Sudakov,  VAS4-RIPE, VAS47-RIPN
2:5005/49 at fidonet http://vas.tomsk.ru/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20191022/700c3a2a/attachment.sig>


More information about the freebsd-questions mailing list