Searched defs:bootfs (Results 1 - 10 of 10) sorted by relevance

/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/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/lib/libgrubmgmt/common/
H A Dlibgrub_cmd.c32 * kernel, kernel$, module, module$, findroot, bootfs
54 #define BPROP_ZFSBOOTFS "zfs-bootfs"
231 * 1. zfs-bootfs property is set explicitly
242 /* zfs-bootfs is not specified, or bootpath is allready set */
331 char bootfs[BOOTARGS_MAX]; local
338 bfslen = barg_bootfs_var(barg, bootfs, sizeof (bootfs));
341 if (bfslen >= sizeof (bootfs) || isalen >= sizeof (isadir))
345 ZFS_BOOT_VAR, strlen(ZFS_BOOT_VAR), bootfs, bfslen)) != 0)
430 bootfs(cons function
[all...]
/illumos-gate/usr/src/cmd/boot/bootadm/
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) {
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.c184 "bootfs", /* BOOTFS_CMD */
1065 * are read from pool bootfs unless alt root is set.
5171 char *bootfs)
5241 if (bootfs != NULL) {
5243 menu_cmds[BOOTFS_CMD], menu_cmds[SEP_CMD], bootfs);
5165 add_boot_entry(menu_t *mp, char *title, char *findroot, char *kernel, char *mod_kernel, char *module, char *bootfs) argument
/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/lib/libbe/common/
H A Dbe_utils.c265 "-B zfs-bootfs=%s,bootpath=\"%s\"\n", kernel,
269 "-B zfs-bootfs=%s,bootpath=\"%s\"\n", kernel,
731 } else if (strcmp(tok, "bootfs") == 0) {
732 char *bootfs = strtok(NULL, BE_WHITE_SPACE); local
734 if (bootfs == NULL)
737 if (strcmp(bootfs, be_root_ds) == 0) {
743 strcmp(bootfs, be_orig_root_ds) == 0 &&
757 * and the bootfs line store these. Also
767 * Store the new bootfs line.
769 (void) snprintf(str, BUFSIZ, "bootfs
1111 char *bootfs = NULL; local
1646 char *bootfs = strtok(NULL, BE_WHITE_SPACE); local
[all...]
/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...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_pool.c388 * Check if the bootfs name has the same pool name as it is set to.
389 * Assuming bootfs is a valid dataset name.
392 bootfs_name_valid(const char *pool, char *bootfs) argument
396 if (!zfs_name_valid(bootfs, ZFS_TYPE_FILESYSTEM|ZFS_TYPE_SNAPSHOT))
399 if (strncmp(pool, bootfs, len) == 0 &&
400 (bootfs[len] == '/' || bootfs[len] == '\0'))
409 char bootfs[ZFS_MAX_DATASET_NAME_LEN]; local
411 return (zpool_get_prop(zhp, ZPOOL_PROP_BOOTFS, bootfs,
412 sizeof (bootfs), NUL
[all...]

Completed in 114 milliseconds