/freebsd/sys/contrib/openzfs/contrib/dracut/ |
H A D | README.md | 7 3. Either (a) set `bootfs=` on the pool to the dataset: 9 zpool set bootfs=pool/dataset pool 23 *(empty)* | the first `bootfs=` after `zpool import -aN` | 36 3. `bootfs.snapshot`, `bootfs.snapshot=snapshot-name`: enables `zfs-snapshot-bootfs.service`, 41 4. `bootfs.rollback`, `bootfs.rollback=snapshot-name`: enables `zfs-rollback-bootfs.service`, 47 5. If both `bootfs.snapshot` and `bootfs.rollback` are set, `bootfs.rollback` is ordered *after* `b…
|
H A D | Makefile.am | 18 %D%/90zfs/zfs-env-bootfs.service \ 20 %D%/90zfs/zfs-rollback-bootfs.service \ 21 %D%/90zfs/zfs-snapshot-bootfs.service
|
/freebsd/tests/sys/cddl/zfs/tests/bootfs/ |
H A D | bootfs_test.sh | 36 . $(atf_get_srcdir)/bootfs.cfg 51 . $(atf_get_srcdir)/bootfs.cfg 67 . $(atf_get_srcdir)/bootfs.cfg 82 . $(atf_get_srcdir)/bootfs.cfg 97 . $(atf_get_srcdir)/bootfs.cfg 113 . $(atf_get_srcdir)/bootfs.cfg 128 . $(atf_get_srcdir)/bootfs.cfg 144 . $(atf_get_srcdir)/bootfs.cfg 160 . $(atf_get_srcdir)/bootfs.cfg
|
H A D | bootfs_001_pos.ksh | 63 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 87 log_must $ZPOOL set bootfs=$TESTPOOL/$FS $TESTPOOL 88 log_must $ZPOOL set bootfs=$TESTPOOL/$FS@snap $TESTPOOL 89 log_must $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL 92 log_must $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL
|
H A D | bootfs_006_pos.ksh | 55 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 76 log_must $ZPOOL set bootfs=$POOL/$FS $POOL 77 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' ) 89 log_mustnot $ZPOOL set bootfs=$POOL/$FS $POOL 90 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
|
H A D | bootfs_009_neg.ksh | 60 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 82 log_mustnot $ZPOOL set bootfs=$TESTPOOL/$FS $TESTPOOL 90 log_mustnot $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL
|
H A D | bootfs_003_pos.ksh | 69 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 94 log_must $ZPOOL set bootfs=$POOL/$FS $POOL 95 RES=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
|
H A D | bootfs_002_neg.ksh | 61 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 74 log_mustnot $ZPOOL set bootfs=$TESTPOOL/vol $TESTPOOL
|
H A D | bootfs_004_neg.ksh | 70 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 100 log_mustnot $ZPOOL set bootfs=$POOL/$FS $POOL
|
H A D | Makefile | 4 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/bootfs 7 ${PACKAGE}FILES+= bootfs.cfg
|
H A D | bootfs_005_neg.ksh | 74 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 94 log_mustnot $ZPOOL set bootfs=$POOL_NAME/$FS $POOL_NAME
|
/freebsd/tools/tools/zfsboottest/ |
H A D | zfsboottest.sh | 52 bootfs=`zpool get bootfs "${pool}" | tail -1 | awk '{print $3}'` 53 if [ "${bootfs}" = "-" ]; then 54 bootfs="${pool}" 56 mountpoint=`df -t zfs "${bootfs}" 2>/dev/null | tail -1 | awk '{print $6}'` 58 echo "The \"${bootfs}\" dataset is not mounted." >&2
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_set/ |
H A D | zpool_set_002_neg.ksh | 51 zpool destroy bootfs 57 if poolexists bootfs 108 log_must zpool create bootfs $FILEVDEV 109 log_must zfs create bootfs/root
|
/freebsd/sys/contrib/openzfs/contrib/dracut/90zfs/ |
H A D | zfs-rollback-bootfs.service.in | 2 Description=Rollback bootfs just before it is mounted 4 After=zfs-import.target dracut-pre-mount.service zfs-snapshot-bootfs.service 7 ConditionKernelCommandLine=bootfs.rollback 12 ExecStart=/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.rollback)"; exec @sbindir@/zf…
|
H A D | zfs-snapshot-bootfs.service.in | 2 Description=Snapshot bootfs just before it is mounted 7 ConditionKernelCommandLine=bootfs.snapshot 12 ExecStart=-/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.snapshot)"; exec @sbindir@/z…
|
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zpool_set/ |
H A D | zpool_set_002_neg.ksh | 59 destroy_pool bootfs 72 if poolexists bootfs 123 log_must $ZPOOL create bootfs $VDEV 124 log_must $ZFS create bootfs/root
|
/freebsd/sys/contrib/openzfs/cmd/zpool/os/freebsd/ |
H A D | zpool_vdev_os.c | 110 char bootfs[ZPOOL_MAXPROPLEN]; in after_zpool_upgrade() local 112 if (zpool_get_prop(zhp, ZPOOL_PROP_BOOTFS, bootfs, in after_zpool_upgrade() 113 sizeof (bootfs), NULL, B_FALSE) == 0 && in after_zpool_upgrade() 114 strcmp(bootfs, "-") != 0) { in after_zpool_upgrade()
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/ |
H A D | bootfs_001_pos.ksh | 74 log_must zpool set bootfs=$TESTPOOL/$TESTFS $TESTPOOL 75 log_must zpool set bootfs=$TESTPOOL/$TESTFS@snap $TESTPOOL 76 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL 79 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL
|
H A D | bootfs_006_pos.ksh | 56 log_must zpool set bootfs=$POOL/$TESTFS $POOL 57 VAL=$(zpool get bootfs $POOL | awk 'END {print $3}' ) 70 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL 71 VAL=$(zpool get bootfs $POOL | awk 'END {print $3}' )
|
H A D | bootfs_003_pos.ksh | 70 log_must zpool set bootfs=$POOL/$TESTFS $POOL 71 RES=$(zpool get bootfs $POOL | awk 'END {print $3}' )
|
/freebsd/tests/sys/cddl/zfs/tests/rootpool/ |
H A D | rootpool_001_pos.ksh | 59 typeset bootfs=$(get_pool_prop bootfs $rootpool) 61 if [[ $bootfs != $rootfs ]]; then
|
/freebsd/lib/libbe/ |
H A D | be_info.c | 69 if (*lbh->bootfs != '\0') in be_nextboot_name() 70 return (strrchr(lbh->bootfs, '/') + sizeof(char)); in be_nextboot_name() 72 return (lbh->bootfs); in be_nextboot_name() 83 return (lbh->bootfs); in be_nextboot_path()
|
/freebsd/tools/boot/ |
H A D | rootgen.sh | 114 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \ 137 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \ 160 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \ 217 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \ 245 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \ 265 -o poolname=${pool} -o bootfs=${pool} -o rootpath=/ \ 406 zpool set bootfs=${pool} ${pool} 423 zpool set bootfs=${pool}/ROOT/default ${pool} 455 zpool set bootfs=${pool} ${pool} 472 zpool set bootfs=${pool}/ROOT/default ${pool} [all …]
|
/freebsd/sys/contrib/openzfs/contrib/initramfs/scripts/ |
H A D | zfs | 8 # $quiet, $root, $rpool, $bootfs come from the cmdline: 69 # Find the 'bootfs' property on pool $1. 86 # Not set, try to find it in the 'bootfs' property of the pool. 87 # NOTE: zpool does not support 'get -H -ovalue bootfs'... 779 # rpool=<pool> (tries to finds bootfs automatically) 780 # bootfs=<pool>/<dataset> (uses this for rpool - first part) 781 # rpool=<pool> bootfs=<pool>/<dataset> 782 # -B zfs-bootfs=<pool>/<fs> (uses this for rpool - first part) 805 # Look for 'rpool' and 'bootfs' parameter 807 [ -n "$bootfs" ] && ZFS_BOOTFS="${bootfs#bootfs=}" [all …]
|
/freebsd/sys/contrib/openzfs/contrib/initramfs/ |
H A D | README.md | 21 * `bootfs=<pool>/<dataset>` 22 * `rpool=<pool> bootfs=<pool>/<dataset>` 23 * `-B zfs-bootfs=<pool>/<fs>`
|