/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/ |
H A D | readonly_001_pos.ksh | 59 typeset fstype=$(get_prop type $dataset) 61 if [[ $fstype == "filesystem" ]] ; then 73 typeset fstype=$(get_prop type $dataset) 75 if [[ $fstype == "filesystem" ]] ; then 92 typeset fstype=$(get_prop type $dataset) 100 case $fstype in
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_event.c | 1722 char *fstype, *hostname; local 1728 long fstype; /* char * */ member in struct:a 1733 u_fstype = (uintptr_t)uap->fstype; 1737 fstype = kmem_alloc(MAXNAMELEN, KM_SLEEP); 1738 if (copyinstr((caddr_t)u_fstype, (caddr_t)fstype, MAXNAMELEN, &len)) 1742 au_uwrite(au_to_text(fstype)); 1744 if (strncmp(fstype, "nfs", 3) == 0) { 1770 kmem_free(fstype, MAXNAMELEN);
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vnode.c | 83 * the same fstype index that is used to index into the vfssw table. 156 * fstype - Index into vsanchor_fstype[], same as index into vfssw[] 614 * If possible, determine which vopstats by fstype to use and 620 int fstype = 0; /* Index into vfssw[] */ local 627 * Set up the fstype. We go to so much trouble because all versions 628 * of NFS use the same fstype in their vfs even though they have 633 fstype = vswp - vfssw; /* Gets us the index */ 635 fstype = vfsp->vfs_fstype; 639 * Point to the per-fstype vopstats. The only valid values are 643 if (fstype > [all...] |
H A D | vfs.c | 302 fsop_sync_by_kind(int fstype, short flag, cred_t *cr) argument 304 ASSERT((fstype >= 0) && (fstype < nfstype)); 306 if (ALLOCATED_VFSSW(&vfssw[fstype]) && VFS_INSTALLED(&vfssw[fstype])) 307 return (*vfssw[fstype].vsw_vfsops.vfs_sync) (NULL, flag, cr); 366 vfs_setfsops(int fstype, const fs_operation_def_t *template, vfsops_t **actual) argument 372 * Verify that fstype refers to a valid fs. Note that 375 if ((fstype < 0) || (fstype > 440 vfs_freevfsops_by_type(int fstype) argument 1176 uint_t fstype; local 4520 vfs_root_redev(vfs_t *vfsp, dev_t ndev, int fstype) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_vfsops.c | 2104 zfs_vfsinit(int fstype, char *name) argument 2108 zfsfstype = fstype; 2113 error = vfs_setfsops(fstype, zfs_vfsops_template, &zfs_vfsops);
|
H A D | zfs_ctldir.c | 902 margs.fstype = "zfs";
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 523 char fstype[MAXPATHLEN]; local 549 /* LINTED - fstype is big enough to hold buf */ 550 if (sscanf(buf, "%s", fstype) == 0) { 556 types[i] = strdup(fstype); 571 is_remote_fstype(const char *fstype, char *const *remote_fstypes) argument 578 if (strcmp(remote_fstypes[i], fstype) == 0) 845 dofsck(zlog_t *zlogp, const char *fstype, const char *rawdev) argument 852 * We could alternatively have called /usr/sbin/fsck -F <fstype>, but 855 if (snprintf(cmdbuf, sizeof (cmdbuf), "/usr/lib/fs/%s/fsck", fstype) 857 zerror(zlogp, B_FALSE, "file-system type %s too long", fstype); 883 domount(zlog_t *zlogp, const char *fstype, const char *opts, const char *special, const char *directory) argument 989 valid_mount_path(zlog_t *zlogp, const char *rootpath, const char *spec, const char *dir, const char *fstype) argument 1567 plat_gmount_cb(void *data, const char *spec, const char *dir, const char *fstype, const char *opt) argument [all...] |
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libsharecore.c | 82 char *fstype; member in struct:sharelist 264 item->fstype = strdup(optarg); 299 if (item != NULL && item->fstype == NULL) 300 item->fstype = strdup("nfs"); 347 (item->fstype != NULL && strcmp(item->fstype, proto) == 0))) 349 if (item->fstype == NULL && 422 item->fstype = strdup(proto); 464 (item->fstype != NULL) ? "-F " : "", 465 (item->fstype ! [all...] |
/illumos-gate/usr/src/cmd/boot/bootadm/ |
H A D | bootadm.c | 5600 find_primary_common(char *mntpt, char *fstype) argument 5666 if (strcmp(fstype, "ufs") == 0 && zfs) { 5671 } else if (strcmp(fstype, "zfs") == 0 && ufs) { 5691 find_backup_common(char *mntpt, char *fstype) argument 5754 if (strcmp(fstype, "ufs") == 0 && zfs) { 5759 } else if (strcmp(fstype, "zfs") == 0 && ufs) { 5797 get_mountpoint(char *special, char *fstype) argument 5806 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, special, fstype)); 5818 mpref.mnt_fstype = fstype; 5825 "fstype 6245 find_existing_sign(char *osroot, char *osdev, char *fstype) argument 6468 char *fstype; local 7170 create_new_sign(char *osdev, char *fstype) argument 7343 set_backup(char *osroot, char *osdev, char *sign, char *fstype) argument 7500 set_primary(char *osroot, char *osdev, char *sign, char *fstype) argument 7625 set_signature(char *osroot, char *osdev, char *sign, char *fstype) argument 7663 char *fstype; local 9000 char *fstype; local 9503 char *fstype; local [all...] |
/illumos-gate/usr/src/cmd/boot/installboot/i386/ |
H A D | installboot.c | 250 if (device->target.fstype == IG_FS_ZFS) { 442 if (device->target.fstype == IG_FS_ZFS) 505 if (device->target.fstype == IG_FS_ZFS) { 575 device->target.fstype != IG_FS_PCFS) { 627 /* zero size means the fstype must be zfs */ 628 assert(device->target.fstype == IG_FS_ZFS); 644 if (device->target.fstype == IG_FS_PCFS) { 671 if (device->target.fstype == IG_FS_PCFS) { 675 if (device->target.fstype == IG_FS_ZFS) 700 if (device->target.fstype [all...] |
H A D | installboot.h | 60 enum ig_fstype_t fstype; /* none or pcfs */ member in struct:stage_part
|
/illumos-gate/usr/src/uts/i86pc/os/ |
H A D | fakebop.c | 939 bsetprops("fstype", "ufs"); 961 bsetprop("fstype", 6, "nfs", 4); 1306 * then we need to set "fstype" to "nfs" so we mount 1506 * - fstype
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vfs.h | 294 char *fstype; member in struct:mounta 440 vopstats_t *vi_fstypevsp; /* ptr to per-fstype vopstats */ 546 void vfs_root_redev(vfs_t *vfsp, dev_t ndev, int fstype); 562 extern char rootfstype[]; /* name of root fstype */
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_vfsops.c | 172 tmpfsinit(int fstype, char *name) argument 186 tmpfsfstype = fstype; 189 error = vfs_setfsops(fstype, tmp_vfsops_template, NULL); 197 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/cmd/oamuser/user/ |
H A D | homedir.c | 310 get_mnt_special(char *mountp, char *fstype) argument 318 search.mnt_fstype = fstype;
|
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | socksubr.c | 219 sockinit(int fstype, char *name) argument 228 error = vfs_setfsops(fstype, sock_vfsops_template, NULL); 305 (void) vfs_freevfsops_by_type(fstype);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | swapgeneric.c | 126 BMDPRINTF(("rootconf: fstype %s\n", rootfs.bo_fstype)); 232 cmn_err(CE_CONT, "Cannot mount root on %s fstype %s\n", 235 cmn_err(CE_CONT, "?root on %s fstype %s\n", 266 cmn_err(CE_CONT, "Cannot remount root on %s fstype %s\n", 269 cmn_err(CE_CONT, "?root remounted on %s fstype %s\n", 348 BMDPRINTF(("loadrootmodules: fstype %s\n", rootfs.bo_fstype)); 364 * Get the root fstype and root device path from boot. 610 get_fstype_prop(char *fstype) argument 612 char *prop = (root_is_ramdisk) ? "archive-fstype" : "fstype"; [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_check.c | 300 char **fstype = skip_these_mntents; local 310 while (*fstype != NULL) 311 if (strcmp(m.mnt_fstype, *fstype++) == 0) { 368 char **fstype = skip_these_mntents; local 378 while (*fstype != NULL) 379 if (strcmp(m.mnt_fstype, *fstype++) == 0) {
|
/illumos-gate/usr/src/uts/common/fs/bootfs/ |
H A D | bootfs_vfsops.c | 234 bootfs_init(int fstype, char *name) argument 238 bootfs_fstype = fstype; 241 ret = vfs_setfsops(fstype, bootfs_vfsops_tmpl, NULL);
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | Makefile | 56 include ../Makefile.fstype
|
H A D | autod_nfs.c | 671 char *fstype; local 1093 * mounts, set fstype now. 1099 fstype = MNTTYPE_NFS4; 1102 fstype = MNTTYPE_NFS3; 1109 fstype = MNTTYPE_NFS; 1808 fstype, remname); 2321 if (strcmp(fstype, MNTTYPE_NFS4) == 0) 2348 if (mount(mnttabtext, mntpnt, flags | MS_DATA, fstype, 2380 alp->action.action_list_entry_u.mounta.fstype = 2381 strdup(fstype); 3481 char fstype[] = MNTTYPE_LOFS; local [all...] |
H A D | autod_parse.c | 282 implied = (*w != '/') || (strstr(defaultopts, "fstype=smbfs") != NULL); 565 #define FSTYPE "fstype" 566 #define FSTYPE_EQ "fstype=" 572 * sets the mapentry's options, fstype and mounter fields by separating 573 * out the fstype part from the opts. Use default options if opts is NULL. 582 char fstype[MAX_FSLEN], mounter[MAX_FSLEN]; local 586 strcpy(fstype, MNTTYPE_NFS); /* default */ 592 strcpy(mounter, fstype); 599 /* separate opts into fstype and (other) entrypopts */ 600 get_opts(opts, entryopts, fstype, 1791 char fstype[32], mounter[32]; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/bootfs/ |
H A D | Makefile | 19 include ../Makefile.fstype
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | mount.c | 211 * execs the appropriate /usr/lib/fs/{fstype}/mount. 215 * appropriate /etc/fs/{fstype}/mount 217 * If the -F fstype, special or directory are missing, 228 *fstype, /* wherein the fstype name is filled */ local 286 break; /* fstype dependent options */ 399 fstype = farg; 402 fstype = "ufs"; 404 fstype = Farg; 408 exit(parmount(argv + optind, fscnt, fstype)); 731 remote(char *fstype, FILE *rfp) argument 802 doexec(char *fstype, char *newargv[]) argument 905 parmount(char **mntlist, int count, char *fstype) argument 1005 getvfsall(char *fstype, int takeall) argument 1573 check_fields(char *fstype, char *mountp) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | smfcfg.c | 107 fs_smf_set_prop(smf_fstype_t fstype, char *prop_name, char *valbuf, argument 162 if (fstype == AUTOFS_SMF) 240 fs_smf_get_prop(smf_fstype_t fstype, char *prop_name, char *cbuf, argument 291 if (fstype == AUTOFS_SMF)
|