1 2 3\ ident "%Z%%M% %I% %E% SMI" 4\ Copyright 2008 Sun Microsystems, Inc. All rights reserved. 5\ Use is subject to license terms. 6\ 7\ CDDL HEADER START 8\ 9\ The contents of this file are subject to the terms of the 10\ Common Development and Distribution License (the "License"). 11\ You may not use this file except in compliance with the License. 12\ 13\ You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 14\ or http://www.opensolaris.org/os/licensing. 15\ See the License for the specific language governing permissions 16\ and limitations under the License. 17\ 18\ When distributing Covered Code, include this CDDL HEADER in each 19\ file and include the License file at usr/src/OPENSOLARIS.LICENSE. 20\ If applicable, add the following below this CDDL HEADER, with the 21\ fields enclosed by brackets "[]" replaced with your own identifying 22\ information: Portions Copyright [yyyy] [name of copyright owner] 23\ 24\ CDDL HEADER END 25\ 26 27 28id: %Z%%M% %I% %E% SMI 29purpose: ZFS bootblock 30copyright: Copyright 2006 Sun Microsystems, Inc. All Rights Reserved 31 32\ big bootblk 33create doheaders 34create bigbootblk 35d# 8192 constant /fs-fcode 36d# 8192 constant fs-offset 37 38\ for [ifdef] zfs 39create zfs 40 41: fs-pkg$ " zfs-file-system" ; 42: fs-type$ " zfs" ; 43 44\ load common words 45fload ../../../common/util.fth 46 47\ load booter 48fload ../../../common/boot.fth 49