/titanic_44/usr/src/cmd/svc/milestone/ |
H A D | fs-root | 86 case "$mntopts" in 103 mountfs - /usr $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL 112 if [ "x$mntopts" = x- ]; then 113 mntopts='ro,largefiles' 115 checkopt largefiles $mntopts 117 mntopts="largefiles,$mntopts" 120 checkopt ro $mntopts 122 mntopts="ro,$mntopts" 133 checkopt logging $mntopts 135 mntopts="$otherops" [all …]
|
H A D | fs-usr | 92 checkopt "llock" $mntopts 93 mntopts='remount' 95 [ -n "$otherops" ] && mntopts="${mntopts},${otherops}" 96 [ "$fstype" = nfs ] && mntopts="${mntopts},llock" 98 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL 109 mountfs -O $mountp cachefs $mntopts $special || 112 checkopt ro $mntopts 116 if [ "x$mntopts" != x- ]; then 117 mntopts="remount,$mntopts" 119 mntopts="remount" [all …]
|
H A D | fs-minimal | 50 mounted $mountp $mntopts $fstype < /etc/mnttab && continue 52 mountfs -O $mountp $fstype $mntopts - ||
|
/titanic_44/usr/src/cmd/stmsboot/ |
H A D | mpxio-upgrade | 111 checkopt "llock" $mntopts 112 mntopts='remount' 113 [ -n "$otherops" ] && mntopts="${mntopts},${otherops}" 114 RVAL=`$MOUNT -m -F $fstype -o $mntopts $new_special \ 132 $MOUNT -m -F $fstype -o $mntopts \ 176 case "$mntopts" in 198 if [ "$mntopts" = "-" ]; then 199 mntopts='ro,largefiles' 201 checkopt largefiles $mntopts 203 mntopts="largefiles,$mntopts" [all …]
|
/titanic_44/usr/src/cmd/svc/shell/ |
H A D | fs_include.sh | 56 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 76 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 108 while read special mountp fstype mntopts mnttime; do 293 while read mntspec mntpath mnttype mntopts on; do 297 hasopts $fsopts $mntopts && return 0
|
/titanic_44/usr/src/lib/libfsmgt/common/ |
H A D | fs_mounts.c | 53 char *fstype, char *mntopts, char *time); 75 free(headp->mntopts); in fs_free_mount_list() 160 char *mntopts, char *time, boolean_t find_overlays, int *errp) { in fs_get_filtered_mount_list() argument 176 mntopts, time); in fs_get_filtered_mount_list() 570 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_mntlist_entry() 571 if (newp->mntopts == NULL) { in create_mntlist_entry() 630 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_extmntlist_entry() 631 if (newp->mntopts == NULL) { in create_extmntlist_entry() 656 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, in create_mnttab_filter() argument 704 if (mntopts != NULL) { in create_mnttab_filter() [all …]
|
H A D | libfsmgt.h | 63 char *mntopts; member 74 char *mntopts; member 521 char *mountp, char *fstype, char *mntopts, 1023 char *mntopts, char *time, boolean_t find_overlays,
|
H A D | nfs_mntinfo.c | 56 static char *mntopts[] = { MNTOPT_IGNORE, MNTOPT_DEV, NULL }; variable 99 nfs_get_filtered_mount_list(char *resource, char *mountp, char *mntopts, in nfs_get_filtered_mount_list() argument 106 MNTTYPE_NFS, mntopts, time, find_overlays, errp); in nfs_get_filtered_mount_list() 289 (ignore(fsmnt_list->mntopts))) { in get_nfs_info() 422 if ((mrp->nml_mntopts = strdup(fsmnt_list->mntopts)) == NULL) { in get_mount_data() 478 if (getsubopt(&s, mntopts, &value) == IGNORE) { in ignore()
|
H A D | fs_mount_defaults.c | 82 free(headp->mntopts); in fs_free_mntdefaults_list() 572 newp->mntopts = strdup(vfstab_entry.vfs_mntopts); in create_mntdefaults_entry() 573 if (newp->mntopts == NULL) { in create_mntdefaults_entry() 678 if (filter->mntopts != NULL) { in create_vfstab_filter() 679 search_entry->vfs_mntopts = strdup(filter->mntopts); in create_vfstab_filter()
|
/titanic_44/usr/src/cmd/fs.d/autofs/ |
H A D | automount.c | 96 char mntopts[MAX_MNTOPT_STR]; in main() local 306 (void) sprintf(mntopts, "ignore,%s", in main() 309 (void) strcat(mntopts, ","); in main() 310 (void) strcat(mntopts, dir->dir_opts); in main() 314 MNTTYPE_AUTOFS, &ai, sizeof (ai), mntopts, in main() 378 compare_opts(opts, mntopts) in compare_opts() argument 379 char *opts, *mntopts; in compare_opts() 393 if (mntopts != NULL) 394 (void) strcpy(s, mntopts);
|
H A D | ns_fnmount.c | 191 new_mapent(char *root, char *mntpnt, char *fstype, char *mntopts, char *host, 757 new_mapent(char *root, char *mntpnt, char *fstype, char *mntopts, char *host, in new_mapent() argument 769 if ((mntpnt == NULL) || (fstype == NULL) || (mntopts == NULL) || in new_mapent() 779 free(mntopts); in new_mapent() 788 me->map_mntopts = mntopts; in new_mapent()
|
H A D | autod_main.c | 389 ul->mntopts, in autofs_unmount_1_r() 626 if (args->mntopts) in autofs_unmount_1_free_args() 627 free(args->mntopts); in autofs_unmount_1_free_args()
|
/titanic_44/usr/src/cmd/initpkg/ |
H A D | mountall.sh | 250 while read special fsckdev mountp fstype fsckpass automnt mntopts 278 isglobal "$mntopts" || continue 284 isglobal "$mntopts" && continue 296 if [ "$ALTM" -a "$mntopts" != "-" ]; then 297 OPTIONS="-o $mntopts" # Use mount options if any
|
/titanic_44/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 266 char mntopts[MNT_LINE_MAX]; in zfs_mount() local 270 mntopts[0] = '\0'; in zfs_mount() 272 (void) strlcpy(mntopts, options, sizeof (mntopts)); in zfs_mount() 301 strstr(mntopts, MNTOPT_REMOUNT) == NULL && in zfs_mount() 311 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) { in zfs_mount() 345 mntopts); in zfs_mount() 1074 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) in zpool_enable_datasets() argument 1107 if (zfs_mount(cb.cb_handles[i], mntopts, flags) != 0) in zpool_enable_datasets()
|
/titanic_44/usr/src/cmd/fs.d/ |
H A D | mount.c | 580 elide_dev(char *mntopts) in elide_dev() argument 584 if (mntopts != NULL) { in elide_dev() 585 dev = strstr(mntopts, "dev="); in elide_dev() 590 if (dev != mntopts) { in elide_dev() 656 flags(char *mntopts, int flag) in flags() argument 665 if (mntopts == NULL || *mntopts == '\0') in flags() 669 while (*mntopts != '\0') { in flags() 670 switch (getsubopt(&mntopts, myopts, &value)) { in flags() 868 char *mntopts[] = { MNTOPT_IGNORE, NULL }; variable 896 if (getsubopt(&my_opts, mntopts, &value) == IGNORE) in ignore()
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | vfs.c | 187 mntopt_t *mntopts; in fsinfo() local 249 mntopts = mdb_alloc(size, UM_SLEEP | UM_GC); in fsinfo() 251 if (mdb_vread(mntopts, size, in fsinfo() 258 if (mntopts[i].mo_flags & MO_SET) { in fsinfo() 260 (uintptr_t)mntopts[i].mo_name) == -1) { in fsinfo() 262 mntopts[i].mo_name); in fsinfo() 272 if (mntopts[i].mo_flags & MO_HASVALUE) { in fsinfo() 274 (uintptr_t)mntopts[i].mo_arg) == -1) { in fsinfo() 276 "value %p", mntopts[i].mo_arg); in fsinfo()
|
/titanic_44/usr/src/cmd/iscsid/ |
H A D | iscsi-initiator | 99 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 176 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
|
/titanic_44/usr/src/lib/libgrubmgmt/common/ |
H A D | libgrub_fs.c | 561 char mntopts[MNT_LINE_MAX] = ""; in grub_fsd_mount_tmp() local 570 (void) strlcpy(mntopts, MNTOPT_LARGEFILES, sizeof (mntopts)); in grub_fsd_mount_tmp() 586 fstyp, data, dtsz, mntopts, sizeof (mntopts))) != 0) { in grub_fsd_mount_tmp()
|
/titanic_44/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 266 char mntopts[MAXPATHLEN]; in getnfspathbyautofs() local 274 (void) strncpy(mntopts, mnt->mnt_mntopts, MAXPATHLEN); in getnfspathbyautofs() 275 if ((token = strtok_r(mntopts, ",", &lasts)) != NULL) { in getnfspathbyautofs()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_stub_vnops.c | 3250 char *mntopts; in nfs4_trigger_create_mntopts() local 3254 mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP); in nfs4_trigger_create_mntopts() 3266 if (nfs4_trigger_add_mntopt(mntopts, mop->mo_name, vfsp)) { in nfs4_trigger_create_mntopts() 3267 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_create_mntopts() 3285 if (nfs4_trigger_add_mntopt(mntopts, MNTOPT_XATTR, vfsp) || in nfs4_trigger_create_mntopts() 3286 nfs4_trigger_add_mntopt(mntopts, MNTOPT_NOXATTR, vfsp)) { in nfs4_trigger_create_mntopts() 3287 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_create_mntopts() 3291 return (mntopts); in nfs4_trigger_create_mntopts() 3295 nfs4_trigger_destroy_mntopts(char *mntopts) in nfs4_trigger_destroy_mntopts() argument 3297 if (mntopts) in nfs4_trigger_destroy_mntopts() [all …]
|
/titanic_44/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vfsops.c | 73 static mntopt_t mntopts[] = { variable 89 sizeof (mntopts) / sizeof (mntopt_t), 90 mntopts
|
/titanic_44/usr/src/cmd/halt/ |
H A D | halt.c | 677 char mntopts[MNT_LINE_MAX] = MNTOPT_LARGEFILES; in validate_ufs_disk() local 683 mntopts, sizeof (mntopts)) != 0) { in validate_ufs_disk() 697 char mntopts[MNT_LINE_MAX] = { '\0' }; in validate_zfs_pool() local 713 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) { in validate_zfs_pool()
|
/titanic_44/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 530 static mntopt_t mntopts[] = { variable 541 sizeof (mntopts) / sizeof (mntopt_t), 542 mntopts
|
/titanic_44/usr/src/uts/common/rpcsvc/ |
H A D | autofs_prot.x | 213 string mntopts<AUTOFS_MAXOPTSLEN>; /* mntpnt options */
|
/titanic_44/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 95 static mntopt_t mntopts[] = { variable 109 sizeof (mntopts) / sizeof (mntopt_t), 110 mntopts
|