Home
last modified time | relevance | path

Searched refs:bootfs (Results 1 – 25 of 58) sorted by relevance

123

/freebsd-13.1/tests/sys/cddl/zfs/tests/bootfs/
H A Dbootfs_test.sh38 . $(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 Dbootfs_001_pos.ksh68 $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 Dbootfs_006_pos.ksh60 $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 Dbootfs_009_neg.ksh65 $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 Dbootfs_003_pos.ksh74 $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 Dbootfs_002_neg.ksh66 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
79 log_mustnot $ZPOOL set bootfs=$TESTPOOL/vol $TESTPOOL
H A DMakefile6 TESTSDIR=${TESTSBASE}/sys/cddl/zfs/tests/bootfs
9 ${PACKAGE}FILES+= bootfs.cfg
H A Dbootfs_004_neg.ksh75 $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 Dzfsboottest.sh53 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 Dzfs-rollback-bootfs.service.in2 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 Dzfs-snapshot-bootfs.service.in2 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 Dmodule-setup.sh.in115 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 DMakefile.am17 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 Dbootfs_001_pos.ksh62 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 Dbootfs_006_pos.ksh47 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 Dbootfs_003_pos.ksh57 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 Dbootfs_002_neg.ksh63 zpool set 2>&1 | grep bootfs > /dev/null
79 log_mustnot zpool set bootfs=$TESTPOOL/vol $TESTPOOL
H A Dbootfs_004_neg.ksh58 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 Dzpool_vdev_os.c108 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 Dzpool_set_002_neg.ksh51 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 Dzpool_set_002_neg.ksh64 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 DREADME.dracut.markdown8 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
62bootfs.snapshot`: If listed, enables the zfs-snapshot-bootfs service on a Dracut system. The zfs-s…
64bootfs.snapshot flag set persistently on your kernel command line so that a new snapshot of your b…
82bootfs.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 Drootpool_001_pos.ksh65 typeset bootfs=$(get_pool_prop bootfs $rootpool)
67 if [[ $bootfs != $rootfs ]]; then
/freebsd-13.1/tools/boot/
H A Drootgen.sh105 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 Dbe_info.c71 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()

123