Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/test/zfs-tests/tests/functional/bootfs/
H A Dbootfs_001_pos.ksh54 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
72 log_must $ZPOOL set bootfs=$TESTPOOL/$TESTFS $TESTPOOL
73 log_must $ZPOOL set bootfs=$TESTPOOL/$TESTFS@snap $TESTPOOL
74 log_must $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL
77 log_must $ZPOOL set bootfs=$TESTPOOL/clone $TESTPOOL
H A Dbootfs_006_pos.ksh43 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
58 log_must $ZPOOL set bootfs=$POOL/$TESTFS $POOL
59 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
72 log_mustnot $ZPOOL set bootfs=$POOL/$TESTFS $POOL
73 VAL=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
H A Dbootfs_003_pos.ksh53 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
72 log_must $ZPOOL set bootfs=$POOL/$TESTFS $POOL
73 RES=$($ZPOOL get bootfs $POOL | $TAIL -1 | $AWK '{print $3}' )
H A Dbootfs_002_neg.ksh60 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
75 log_mustnot $ZPOOL set bootfs=$TESTPOOL/vol $TESTPOOL
H A Dbootfs_004_neg.ksh54 $ZPOOL set 2>&1 | $GREP bootfs > /dev/null
86 log_mustnot $ZPOOL set bootfs=$POOL/$TESTFS $POOL
H A Dbootfs_007_pos.ksh63 log_must $ZPOOL set bootfs=$EFI_BOOTFS $TESTPOOL
H A DMakefile20 TESTDIR = $(ROOTOPTPKG)/tests/functional/bootfs
H A Dbootfs_008_neg.ksh73 log_mustnot $ZPOOL set bootfs=$COMP_FS $TESTPOOL
H A Dbootfs_005_neg.ksh75 log_mustnot $ZPOOL set bootfs=$POOL_NAME/$TESTFS $POOL_NAME
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_set/
H A Dzpool_set_002_neg.ksh47 $ZPOOL destroy bootfs
53 if poolexists bootfs
103 log_must $ZPOOL create bootfs /tmp/zpool_set_002.$$.dat
104 log_must $ZFS create bootfs/root
/titanic_41/usr/src/cmd/luxadm/
H A Dsetboot.c92 getbootdevname(char *bootfs, char *bdev) in getbootdevname() argument
102 devname = bootfs; in getbootdevname()
104 if (stat(bootfs, &sbuf) < 0) { in getbootdevname()
126 if (strcmp(m.mnt_mountp, bootfs)) in getbootdevname()
/titanic_41/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c331 char bootfs[BOOTARGS_MAX]; in dollar_kernel() local
338 bfslen = barg_bootfs_var(barg, bootfs, sizeof (bootfs)); in dollar_kernel()
341 if (bfslen >= sizeof (bootfs) || isalen >= sizeof (isadir)) in dollar_kernel()
345 ZFS_BOOT_VAR, strlen(ZFS_BOOT_VAR), bootfs, bfslen)) != 0) in dollar_kernel()
430 bootfs(const grub_line_t *lp, grub_barg_t *barg) in bootfs() function
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);
H A Dlibgrub_errno.def68 grub_errno_def(EG_UNKBOOTFS, "Unknown bootfs filesystem")
/titanic_41/usr/src/cmd/cmd-inet/etc/
H A Dwanboot.conf.sample47 # These are used by wanboot-cgi(bootfile|bootfs|rootfs) to determine
48 # whether boot_file or the bootfs is to be sent encrypted/signed, or
59 # This is used by wanboot-cgi(bootfs) and wanboot to determine whether
65 # This is used by wanboot-cgi(bootfs) and wanboot to determine whether
72 # wanboot-cgi(bootfs) will construct a hosts file which resolves any
/titanic_41/usr/src/cmd/boot/bootadm/
H A Dbootadm_hyper.c764 char *bootfs = NULL; in cvt_to_hyper() local
847 bootfs = strdupa(lp->arg); in cvt_to_hyper()
971 module, bootfs)) == BAM_ERROR) in cvt_to_hyper()
1013 char *bootfs = NULL; in cvt_to_metal() local
1068 bootfs = strdupa(lp->arg); in cvt_to_metal()
1227 barchive_path, bootfs)) == BAM_ERROR) { in cvt_to_metal()
/titanic_41/usr/src/test/zfs-tests/tests/functional/rootpool/
H A Drootpool_007_neg.ksh55 typeset rootfs=$(get_pool_prop bootfs $rootpool)
/titanic_41/usr/src/test/zfs-tests/tests/functional/poolversion/
H A Dpoolversion_002_pos.ksh58 log_must $ZPOOL set bootfs=$TESTPOOL2 $TESTPOOL2
/titanic_41/usr/src/test/zfs-tests/tests/functional/
H A DMakefile21 bootfs \
/titanic_41/usr/src/cmd/halt/
H A Dhalt.c732 char bootfs[ZFS_MAX_DATASET_NAME_LEN]; in get_zfs_bootfs_arg() local
742 bzero(bootfs, sizeof (bootfs)); in get_zfs_bootfs_arg()
776 (void) strlcpy(bootfs, mntsp, sizeof (bootfs)); in get_zfs_bootfs_arg()
800 if (snprintf(bootfs_arg, BOOTARGS_MAX, fmt, bootfs, physpath) >= in get_zfs_bootfs_arg()
/titanic_41/usr/src/lib/libbe/common/
H A Dbe_utils.c514 char *bootfs = strtok(NULL, BE_WHITE_SPACE); in be_append_menu() local
516 if (bootfs == NULL) in be_append_menu()
519 if (strcmp(bootfs, be_root_ds) == 0) { in be_append_menu()
525 strcmp(bootfs, be_orig_root_ds) == 0 && in be_append_menu()
893 char *bootfs = NULL; in be_remove_menu() local
899 if ((bootfs = strtok(NULL, BE_WHITE_SPACE)) == NULL || in be_remove_menu()
900 strcmp(bootfs, be_root_ds) != 0) { in be_remove_menu()
1428 char *bootfs = strtok(NULL, BE_WHITE_SPACE); in be_change_grub_default() local
1429 if (bootfs == NULL) in be_change_grub_default()
1432 if (strcmp(bootfs, be_root_ds) == 0) { in be_change_grub_default()
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_get/
H A Dzpool_get.cfg33 "bootfs" "delegation" "autoreplace" "cachefile" "dedupditto" "dedupratio"
/titanic_41/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c362 bootfs_name_valid(const char *pool, char *bootfs) in bootfs_name_valid() argument
366 if (!zfs_name_valid(bootfs, ZFS_TYPE_FILESYSTEM|ZFS_TYPE_SNAPSHOT)) in bootfs_name_valid()
369 if (strncmp(pool, bootfs, len) == 0 && in bootfs_name_valid()
370 (bootfs[len] == '/' || bootfs[len] == '\0')) in bootfs_name_valid()
379 char bootfs[ZFS_MAX_DATASET_NAME_LEN]; in zpool_is_bootable() local
381 return (zpool_get_prop(zhp, ZPOOL_PROP_BOOTFS, bootfs, in zpool_is_bootable()
382 sizeof (bootfs), NULL, B_FALSE) == 0 && strncmp(bootfs, "-", in zpool_is_bootable()
383 sizeof (bootfs)) != 0); in zpool_is_bootable()
/titanic_41/usr/src/psm/stand/bootblks/zfs/common/
H A Dzfs.fth1164 0 instance value bootfs-obj#
1266 dup to bootfs-obj#
1282 dnode " bootfs" zap-lookup if
1283 " no bootfs" die
1659 bootfs-obj# (xu.) bootprop$ $append
1660 bootprop$ encode-string " zfs-bootfs" ( propval propname )

12