| /freebsd-13.1/tests/sys/cddl/zfs/tests/bootfs/ |
| H A D | bootfs_test.sh | 38 . $(atf_get_srcdir)/bootfs.cfg 53 . $(atf_get_srcdir)/bootfs.cfg 69 . $(atf_get_srcdir)/bootfs.cfg 84 . $(atf_get_srcdir)/bootfs.cfg 99 . $(atf_get_srcdir)/bootfs.cfg 115 . $(atf_get_srcdir)/bootfs.cfg 130 . $(atf_get_srcdir)/bootfs.cfg 146 . $(atf_get_srcdir)/bootfs.cfg 162 . $(atf_get_srcdir)/bootfs.cfg
|
| H A D | bootfs_001_pos.ksh | 68 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 92 log_must $ZPOOL set bootfs=$TESTPOOL/$FS $TESTPOOL 93 log_must $ZPOOL set bootfs=$TESTPOOL/$FS@snap $TESTPOOL 94 log_must $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL 97 log_must $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL
|
| H A D | bootfs_006_pos.ksh | 60 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 81 log_must $ZPOOL set bootfs=$POOL/$FS $POOL 82 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' ) 94 log_mustnot $ZPOOL set bootfs=$POOL/$FS $POOL 95 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
|
| H A D | bootfs_009_neg.ksh | 65 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 87 log_mustnot $ZPOOL set bootfs=$TESTPOOL/$FS $TESTPOOL 95 log_mustnot $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL
|
| H A D | bootfs_003_pos.ksh | 74 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 99 log_must $ZPOOL set bootfs=$POOL/$FS $POOL 100 RES=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
|
| H A D | bootfs_002_neg.ksh | 66 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 79 log_mustnot $ZPOOL set bootfs=$TESTPOOL/vol $TESTPOOL
|
| H A D | Makefile | 6 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/bootfs 9 ${PACKAGE}FILES+= bootfs.cfg
|
| H A D | bootfs_004_neg.ksh | 75 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null 105 log_mustnot $ZPOOL set bootfs=$POOL/$FS $POOL
|
| /freebsd-13.1/tools/tools/zfsboottest/ |
| H A D | zfsboottest.sh | 53 bootfs=`zpool get bootfs "${pool}" | tail -1 | awk '{print $3}'` 54 if [ "${bootfs}" = "-" ]; then 55 bootfs="${pool}" 57 mountpoint=`df -t zfs "${bootfs}" 2>/dev/null | tail -1 | awk '{print $6}'` 59 echo "The \"${bootfs}\" dataset is not mounted." >&2
|
| /freebsd-13.1/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 zfs-snapshot-bootfs.service 7 ConditionKernelCommandLine=bootfs.rollback 10 # ${BOOTFS} should have been set by zfs-env-bootfs.service 13 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 10 # ${BOOTFS} should have been set by zfs-env-bootfs.service 13 ExecStart=-/bin/sh -c '. /lib/dracut-lib.sh; SNAPNAME="$(getarg bootfs.snapshot)"; exec @sbindir@/z…
|
| H A D | module-setup.sh.in | 115 inst "${moddir}"/zfs-env-bootfs.service "${systemdsystemunitdir}"/zfs-env-bootfs.service 116 …ln -s ../zfs-env-bootfs.service "${initdir}/${systemdsystemunitdir}/zfs-import.target.wants"/zfs-e… 117 type mark_hostonly >/dev/null 2>&1 && mark_hostonly @systemdunitdir@/zfs-env-bootfs.service 129 for _service in zfs-snapshot-bootfs.service zfs-rollback-bootfs.service ; do
|
| H A D | Makefile.am | 17 zfs-env-bootfs.service \ 18 zfs-snapshot-bootfs.service \ 19 zfs-rollback-bootfs.service
|
| /freebsd-13.1/sys/contrib/openzfs/tests/zfs-tests/tests/functional/bootfs/ |
| H A D | bootfs_001_pos.ksh | 62 zpool set 2>&1 | grep bootfs > /dev/null 80 log_must zpool set bootfs=$TESTPOOL/$TESTFS $TESTPOOL 81 log_must zpool set bootfs=$TESTPOOL/$TESTFS@snap $TESTPOOL 82 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL 85 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL
|
| H A D | bootfs_006_pos.ksh | 47 zpool set 2>&1 | grep bootfs > /dev/null 62 log_must zpool set bootfs=$POOL/$TESTFS $POOL 63 VAL=$(zpool get bootfs $POOL | tail -1 | awk '{print $3}' ) 76 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL 77 VAL=$(zpool get bootfs $POOL | tail -1 | awk '{print $3}' )
|
| H A D | bootfs_003_pos.ksh | 57 zpool set 2>&1 | grep bootfs > /dev/null 76 log_must zpool set bootfs=$POOL/$TESTFS $POOL 77 RES=$(zpool get bootfs $POOL | tail -1 | awk '{print $3}' )
|
| H A D | bootfs_002_neg.ksh | 63 zpool set 2>&1 | grep bootfs > /dev/null 79 log_mustnot zpool set bootfs=$TESTPOOL/vol $TESTPOOL
|
| H A D | bootfs_004_neg.ksh | 58 zpool set 2>&1 | grep bootfs > /dev/null 90 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL
|
| /freebsd-13.1/sys/contrib/openzfs/cmd/zpool/os/freebsd/ |
| H A D | zpool_vdev_os.c | 108 char bootfs[ZPOOL_MAXPROPLEN]; in after_zpool_upgrade() local 110 if (zpool_get_prop(zhp, ZPOOL_PROP_BOOTFS, bootfs, in after_zpool_upgrade() 111 sizeof (bootfs), NULL, B_FALSE) == 0 && in after_zpool_upgrade() 112 strcmp(bootfs, "-") != 0) { in after_zpool_upgrade()
|
| /freebsd-13.1/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-13.1/tests/sys/cddl/zfs/tests/cli_root/zpool_set/ |
| H A D | zpool_set_002_neg.ksh | 64 destroy_pool bootfs 77 if poolexists bootfs 128 log_must $ZPOOL create bootfs $VDEV 129 log_must $ZFS create bootfs/root
|
| /freebsd-13.1/sys/contrib/openzfs/contrib/dracut/ |
| H A D | README.dracut.markdown | 8 2) Set the bootfs property for the bootable dataset in the pool. Then set 11 $ zpool set bootfs=pool/dataset pool 36 * `root=...`: If not set, importable pools are searched for a bootfs 62 …bootfs.snapshot`: If listed, enables the zfs-snapshot-bootfs service on a Dracut system. The zfs-s… 64 …bootfs.snapshot flag set persistently on your kernel command line so that a new snapshot of your b… 82 …bootfs.rollback`: If listed, enables the zfs-rollback-bootfs service on a Dracut system. The zfs-r… 177 zpool and friends, we can proceed to find the bootfs attribute if necessary. 188 its bootfs attribute set. First, already-imported pools are scanned and if 190 with bootfs is found, any additional pools in the system are imported with 191 `zpool import -N -a`, and the scan for bootfs is tried again. If no bootfs [all …]
|
| /freebsd-13.1/tests/sys/cddl/zfs/tests/rootpool/ |
| H A D | rootpool_001_pos.ksh | 65 typeset bootfs=$(get_pool_prop bootfs $rootpool) 67 if [[ $bootfs != $rootfs ]]; then
|
| /freebsd-13.1/tools/boot/ |
| H A D | rootgen.sh | 105 zpool set bootfs=${pool} ${pool} 120 zpool set bootfs=${pool}/ROOT/default ${pool} 144 zpool set bootfs=${pool} ${pool} 159 zpool set bootfs=${pool}/ROOT/default ${pool} 184 zpool set bootfs=${pool} ${pool} 266 zpool set bootfs=${pool} ${pool} 308 zpool set bootfs=${pool} ${pool} 350 zpool set bootfs=${pool} ${pool} 505 zpool set bootfs=${pool} ${pool} 554 zpool set bootfs=${pool} ${pool} [all …]
|
| /freebsd-13.1/lib/libbe/ |
| H A D | be_info.c | 71 if (*lbh->bootfs != '\0') in be_nextboot_name() 72 return (strrchr(lbh->bootfs, '/') + sizeof(char)); in be_nextboot_name() 74 return (lbh->bootfs); in be_nextboot_name() 85 return (lbh->bootfs); in be_nextboot_path()
|