Searched refs:bootfs (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/cmd/fs.d/bootfs/
H A DMakefile16 FSTYPE= bootfs
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_set/
H A Dzpool_set_002_neg.ksh47 # note to self - need to make sure there isn't a pool called bootfs
51 zpool destroy bootfs
57 if poolexists bootfs
60 bootfs"
69 "zpool bootfs " \
70 "bootfs " \
71 "bootfs +" \
72 "bootfs=bootfs/123 " \
73 "bootfs
[all...]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_001_pos.ksh39 # Valid datasets and snapshots are accepted as bootfs property values
58 zpool set 2>&1 | grep bootfs > /dev/null
61 log_unsupported "bootfs pool property not supported on this release."
64 log_assert "Valid datasets are accepted as bootfs property values"
76 log_must zpool set bootfs=$TESTPOOL/$TESTFS $TESTPOOL
77 log_must zpool set bootfs=$TESTPOOL/$TESTFS@snap $TESTPOOL
78 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL
81 log_must zpool set bootfs=$TESTPOOL/clone $TESTPOOL
82 log_pass "Valid datasets are accepted as bootfs property values"
H A Dbootfs_003_pos.ksh42 # 2. Verify we can set the bootfs to that filesystem
57 zpool set 2>&1 | grep bootfs > /dev/null
60 log_unsupported "bootfs pool property not supported on this release."
65 log_assert "Valid pool names are accepted by zpool set bootfs"
76 log_must zpool set bootfs=$POOL/$TESTFS $POOL
77 RES=$(zpool get bootfs $POOL | tail -1 | awk '{print $3}' )
86 log_pass "Valid pool names are accepted by zpool set bootfs"
H A Dbootfs_002_neg.ksh44 # 2. Verify that we can't set the bootfs to that dataset
64 zpool set 2>&1 | grep bootfs > /dev/null
67 log_unsupported "bootfs pool property not supported on this release."
79 log_mustnot zpool set bootfs=$TESTPOOL/vol $TESTPOOL
H A Dbootfs_004_neg.ksh37 # Invalid pool names are rejected by zpool set bootfs
40 # 1. Try to set bootfs on some non-existent pools
58 zpool set 2>&1 | grep bootfs > /dev/null
61 log_unsupported "bootfs pool property not supported on this release."
64 log_assert "Invalid pool names are rejected by zpool set bootfs"
90 log_mustnot zpool set bootfs=$POOL/$TESTFS $POOL
95 log_pass "Invalid pool names are rejected by zpool set bootfs"
H A Dbootfs_007_pos.ksh39 # Setting bootfs on a pool which was configured with the whole disk
45 # 3. verify we can set bootfs on the filesystem we just created.
60 typeset assert_mesg="setting bootfs on a pool which was configured with the \
67 log_must zpool set bootfs=$EFI_BOOTFS $TESTPOOL
H A Dbootfs_006_pos.ksh41 # 2. verify we can set bootfs on each pool type according to design
47 zpool set 2>&1 | grep bootfs > /dev/null
50 log_unsupported "bootfs pool property not supported on this release."
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 DMakefile20 TESTDIR = $(ROOTOPTPKG)/tests/functional/bootfs
H A Dbootfs_005_neg.ksh43 # 3. Verify that zpool set bootfs fails on each
79 log_mustnot zpool set bootfs=$POOL_NAME/$TESTFS $POOL_NAME
H A Dbootfs_008_neg.ksh37 # setting bootfs on a dataset which has gzip compression enabled will fail
42 # 3. set the pool's bootfs property to filesystem we just configured which
58 typeset assert_msg="setting bootfs on a dataset which has gzip \
77 log_mustnot zpool set bootfs=$COMP_FS $TESTPOOL
/illumos-gate/usr/src/test/zfs-tests/tests/functional/rootpool/
H A Drootpool_007_neg.ksh55 typeset rootfs=$(get_pool_prop bootfs $rootpool)
/illumos-gate/usr/src/uts/intel/bootfs/
H A DMakefile17 # This makefile drives the production of the bootfs file system
31 MODULE = bootfs
/illumos-gate/usr/src/uts/sparc/bootfs/
H A DMakefile17 # This makefile drives the production of the bootfs file system
31 MODULE = bootfs
/illumos-gate/usr/src/test/zfs-tests/tests/functional/poolversion/
H A Dpoolversion_002_pos.ksh51 # and also by trying to set bootfs (which should fail if it is not version 6)
58 log_must zpool set bootfs=$TESTPOOL2 $TESTPOOL2
/illumos-gate/usr/src/cmd/luxadm/
H A Dsetboot.c92 getbootdevname(char *bootfs, char *bdev) argument
102 devname = bootfs;
104 if (stat(bootfs, &sbuf) < 0) {
126 if (strcmp(m.mnt_mountp, bootfs))
/illumos-gate/usr/src/man/man7fs/
H A DMakefile22 MANFILES= bootfs.7fs \
/illumos-gate/usr/src/test/zfs-tests/tests/functional/
H A DMakefile21 bootfs \
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.def60 menu_cmd("bootfs", GRBM_BOOTFS_CMD, GRUB_LINE_ENTRY, bootfs)
H A Dlibgrub_impl.h197 int bootfs(const grub_line_t *lp, grub_barg_t *barg);
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dbootfs_impl.h31 * The bootfs node is the file system specific version of the vnode for the
32 * bootfs file system. Because the bootfs file system is entirely a read-only
56 typedef struct bootfs { struct
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c66 char *bootfs; member in struct:menu_entry
171 size_t bootfs_len = strlen(entry->bootfs);
197 if (strcmp(be_node->be_root_ds, entry->bootfs) == 0)
203 entry->bootfs, entry->title);
209 hdr->cols[2].width, entry->bootfs,
236 char *bootfs; local
246 * menu.lst entry is on two lines, one for title, one for bootfs
292 if (strcmp(buf, "bootfs") != 0) {
297 if ((bootfs = strdup(ptr)) == NULL) {
304 free(bootfs);
[all...]
H A Dbootadm_hyper.c768 char *bootfs = NULL; local
852 } else if (strcmp(lp->cmd, "bootfs") == 0) {
853 bootfs = strdupa(lp->arg);
982 module, bootfs)) == BAM_ERROR)
1027 char *bootfs = NULL; local
1083 } else if (strcmp(lp->cmd, "bootfs") == 0) {
1084 bootfs = strdupa(lp->arg);
1247 barchive_path, bootfs)) == BAM_ERROR) {
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c733 char bootfs[ZFS_MAX_DATASET_NAME_LEN]; local
737 static char fmt[] = "-B zfs-bootfs=%s,bootpath=\"%s\"";
743 bzero(bootfs, sizeof (bootfs));
777 (void) strlcpy(bootfs, mntsp, sizeof (bootfs));
801 if (snprintf(bootfs_arg, BOOTARGS_MAX, fmt, bootfs, physpath) >=
1215 strstr(&bootargs_saved[rootlen], "zfs-bootfs=") == NULL ||
/illumos-gate/usr/src/boot/sys/boot/zfs/
H A Dzfsimpl.c826 static char bootfs[ZFS_MAXNAMELEN]; local
837 zfs_rlookup(spa, rootid, bootfs) == 0) {
838 if (bootfs[0] == '\0')
839 ret = pager_printf("bootfs: %s\n", spa->spa_name);
841 ret = pager_printf("bootfs: %s/%s\n", spa->spa_name,
842 bootfs);
1982 uint64_t props, bootfs, root; local
1995 * Lookup the pool_props and see if we can find a bootfs.
1999 && zap_lookup(spa, &propdir, "bootfs", &bootfs)
[all...]

Completed in 152 milliseconds

12