Home
last modified time | relevance | path

Searched full:rootfs (Results 1 – 25 of 191) sorted by relevance

12345678

/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.snapshot_recursive.ksh26 rootfs=$TESTPOOL/$TESTFS/root
31 destroy_dataset $rootfs "-R"
36 filesystems="$rootfs \
37 $rootfs/child1 \
38 $rootfs/child1/subchild1 \
39 $rootfs/child1/subchild2 \
40 $rootfs/child1/subchild3 \
41 $rootfs/child2 \
42 $rootfs/child2/subchild4 \
43 $rootfs/child2/subchild5"
[all …]
H A Dtst.terminate_by_signal.ksh25 rootfs=$TESTPOOL/$TESTFS
31 datasetexists $rootfs && destroy_dataset $rootfs -R
40 log_must zfs create "$rootfs/child$i"
53 zfs program -t $limit $TESTPOOL - $rootfs $snapname <<-EOF
/freebsd/tests/sys/cddl/zfs/tests/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib53 function default_setup_datasets #rootfs
55 typeset rootfs=$1
56 typeset pool=${rootfs%%/*}
66 typeset current_fs=$rootfs/$verfs
68 typeset current_clone=$rootfs/clone$verfs
113 function default_cleanup_datasets #rootfs
115 typeset rootfs=$1
117 if datasetexists $rootfs ; then
118 log_must $ZFS destroy -Rf $rootfs
121 if datasetnonexists $rootfs ; then
[all …]
H A Dzfs_upgrade_005_pos.ksh58 if datasetexists $rootfs ; then
59 log_must $ZFS destroy -Rf $rootfs
61 log_must $ZFS create $rootfs
70 typeset current_fs=$rootfs/$verfs
72 typeset current_clone=$rootfs/clone$verfs
96 rootfs=$TESTPOOL/$TESTFS
114 for fs in $($ZFS list -rH -t filesystem -o name $rootfs) ; do
H A Dzfs_upgrade_003_pos.ksh58 if datasetexists $rootfs ; then
59 log_must $ZFS destroy -Rf $rootfs
61 log_must $ZFS create $rootfs
70 typeset current_fs=$rootfs/$verfs
72 typeset current_clone=$rootfs/clone$verfs
83 rootfs=$TESTPOOL/$TESTFS
H A Dzfs_upgrade_004_pos.ksh58 if datasetexists $rootfs ; then
59 log_must $ZFS destroy -Rf $rootfs
61 log_must $ZFS create $rootfs
70 typeset current_fs=$rootfs/$verfs
72 typeset current_clone=$rootfs/clone$verfs
90 rootfs=$TESTPOOL/$TESTFS
H A Dzfs_upgrade_001_pos.ksh62 if datasetexists $rootfs ; then
63 log_must $ZFS destroy -Rf $rootfs
65 log_must $ZFS create $rootfs
77 rootfs=$TESTPOOL/$TESTFS
92 typeset current_fs=$rootfs/$verfs
94 typeset current_clone=$rootfs/clone$verfs
105 log_must $ZFS create -V 100m $rootfs/$TESTVOL
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_upgrade/
H A Dzfs_upgrade.kshlib56 function default_setup_datasets #rootfs
58 typeset rootfs=$1
59 typeset pool=${rootfs%%/*}
69 typeset current_fs=$rootfs/$verfs
71 typeset current_clone=$rootfs/clone$verfs
116 function default_cleanup_datasets #rootfs
118 typeset rootfs=$1
120 if datasetexists $rootfs ; then
121 log_must_busy zfs destroy -Rf $rootfs
124 if datasetnonexists $rootfs ; then
[all …]
H A Dzfs_upgrade_005_pos.ksh50 datasetexists $rootfs && destroy_dataset $rootfs -Rf
51 log_must zfs create $rootfs
60 typeset current_fs=$rootfs/$verfs
62 typeset current_clone=$rootfs/clone$verfs
80 rootfs=$TESTPOOL/$TESTFS
100 for fs in $(zfs list -rH -t filesystem -o name $rootfs) ; do
H A Dzfs_upgrade_003_pos.ksh50 datasetexists $rootfs && destroy_dataset $rootfs -Rf
51 log_must zfs create $rootfs
60 typeset current_fs=$rootfs/$verfs
62 typeset current_clone=$rootfs/clone$verfs
73 rootfs=$TESTPOOL/$TESTFS
H A Dzfs_upgrade_004_pos.ksh50 datasetexists $rootfs && destroy_dataset $rootfs -Rf
51 log_must zfs create $rootfs
60 typeset current_fs=$rootfs/$verfs
62 typeset current_clone=$rootfs/clone$verfs
80 rootfs=$TESTPOOL/$TESTFS
H A Dzfs_upgrade_001_pos.ksh53 datasetexists $rootfs && destroy_dataset $rootfs -Rf
54 log_must zfs create $rootfs
66 rootfs=$TESTPOOL/$TESTFS
81 typeset current_fs=$rootfs/$verfs
83 typeset current_clone=$rootfs/clone$verfs
94 log_must zfs create -V 100m $rootfs/$TESTVOL
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rootpool/
H A Drootpool_003_neg.ksh41 # 1) check if the current system is installed as zfs rootfs
42 # 2) get the rootfs
43 # 3) try to rename the rootfs to some newfs, which should fail.
44 # 4) try to destroy the rootfs, which should fail.
45 # 5) try to destroy the rootfs with -f which should fail
46 # 6) try to destroy the rootfs with -fR which should fail
53 typeset rootfs=$(get_rootfs)
55 log_mustnot zfs rename $rootfs $rootpool/newfs
56 log_mustnot zfs rename -f $rootfs $rootpool/newfs
58 log_mustnot zfs destroy $rootfs
[all …]
H A Drootpool_007_pos.ksh41 # 2) get the rootfs
42 # 3) set the rootfs's compression to gzip 1-9 which should not fail.
49 log_must zfs set compression=$orig_compress $rootfs
52 typeset assert_msg="the zfs rootfs's compression property can be set to \
59 typeset rootfs=$(get_pool_prop bootfs $rootpool)
60 typeset orig_compress=$(get_prop compression $rootfs)
67 log_must zfs set compression=${gtype[i]} $rootfs
/freebsd/release/scripts/
H A Dmake-oci-image.sh37 # Install packages using pkg(8) into a container with rootfs at $3
41 local rootdir=${workdir}/rootfs
83 if [ -d ${workdir}/rootfs ]; then
84 chflags -R 0 ${workdir}/rootfs
85 rm -rf ${workdir}/rootfs
87 mkdir -p ${workdir}/rootfs
89 tar -C ${workdir}/rootfs -xf ${base_workdir}/rootfs.tar.gz
99 tar -C ${workdir}/rootfs --strip-components 1 -cf ${workdir}/rootfs.tar .
100 local diff_id=$(sha256 -q < ${workdir}/rootfs.tar)
101 gzip -f ${workdir}/rootfs.tar
[all …]
/freebsd/tests/sys/cddl/zfs/tests/rootpool/
H A Drootpool_001_pos.ksh37 # rootpool's bootfs property must be equal to <rootfs>
41 # 2) get the rootpool and rootfs if it's zfs root
43 # 4) chek if the boofs equal to rootfs
55 log_assert "rootpool's bootfs property must be equal to <rootfs>"
57 typeset rootfs=$(get_rootfs)
61 if [[ $bootfs != $rootfs ]]; then
62 log_fail "rootfs is not same as bootfs."
65 log_pass "rootpool's bootfs property equal to rootfs."
H A Drootpool_007_neg.ksh41 # 2) get the rootfs
42 # 3) set the rootfs's compression to gzip 1-9 which should fail.
57 log_must $ZFS set compression=$orig_compress $rootfs
64 typeset rootfs=$(get_pool_prop bootfs $rootpool)
65 typeset orig_compress=$(get_prop compression $rootfs)
67 typeset assert_msg="the zfs rootfs's compression property can not set to \
75 log_mustnot $ZFS set compression=${gtype[i]} $rootfs
/freebsd/release/
H A DMakefile.firecracker22 firecracker: firecracker-freebsd-kern.bin firecracker-freebsd-rootfs.bin
39 firecracker-freebsd-rootfs.bin:
43 echo '/dev/ufs/rootfs / ufs rw 1 1' > ${FCWDIR}/etc/fstab
58 makefs -s ${FCROOTFSSZ} -o label=rootfs -o version=2 -o softupdates=1 \
59 ${DESTDIR}/freebsd-rootfs.bin ${FCWDIR}
/freebsd/sys/contrib/device-tree/src/arm/microchip/
H A Dat91-wb45n.dtsi16 bootargs = "ubi.mtd=6 root=ubi0:rootfs rootfstype=ubifs rw";
99 rootfs-a@5e0000 {
100 label = "rootfs-a";
104 rootfs-b@2be0000 {
105 label = "rootfs-b";
H A Dat91-wb50n.dtsi16 bootargs = "ubi.mtd=6 root=ubi0:rootfs rootfstype=ubifs rw";
166 rootfs-a@ae0000 {
167 label = "rootfs-a";
171 rootfs-b@3ae0000 {
172 label = "rootfs-b";
H A Daks-cdu.dts15 bootargs = "console=ttyS0,115200 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs";
88 rootfs@500000 {
89 label = "rootfs";
H A Dsama5d3xcm.dtsi13 bootargs = "rootfstype=ubifs ubi.mtd=5 root=ubi0:rootfs";
120 rootfs@800000 {
121 label = "rootfs";
/freebsd/sys/contrib/openzfs/contrib/dracut/
H A DREADME.md38 after pool import but before the rootfs is mounted.
43 after pool import but before the rootfs is mounted.
45 …This has obvious potential for data loss: make sure your persistent data is not below the rootfs a…
/freebsd/sys/contrib/openzfs/contrib/initramfs/
H A DREADME.md50 `rpool/ROOT/rootfs`, `rpool/root/rootfs/var`, `rpool/root/rootfs/usr`, etc.
/freebsd/lib/libbe/
H A Dbe_info.c45 if (*lbh->rootfs != '\0') in be_active_name()
46 return (strrchr(lbh->rootfs, '/') + sizeof(char)); in be_active_name()
48 return (lbh->rootfs); in be_active_name()
59 return (lbh->rootfs); in be_active_path()

12345678