/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | fs-root | 79 mountfs - /usr $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL 88 if [ "x$mntopts" = x- ]; then 89 mntopts='ro,largefiles' 91 checkopt largefiles $mntopts 93 mntopts="largefiles,$mntopts" 96 checkopt ro $mntopts 98 mntopts="ro,$mntopts" 109 checkopt logging $mntopts 111 mntopts="$otherops" 115 mountfs -O /usr $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL [all …]
|
H A D | fs-usr | 93 checkopt "llock" $mntopts 94 mntopts='remount' 96 [ -n "$otherops" ] && mntopts="${mntopts},${otherops}" 97 [ "$fstype" = nfs ] && mntopts="${mntopts},llock" 99 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL 109 checkopt ro $mntopts 113 if [ "x$mntopts" != x- ]; then 114 mntopts="remount,$mntopts" 116 mntopts="remount" 119 mountfs - /usr $fstype $mntopts - || [all …]
|
H A D | fs-minimal | 50 mounted $mountp $mntopts $fstype < /etc/mnttab && continue 52 mountfs -O $mountp $fstype $mntopts - ||
|
/illumos-gate/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 \ 179 if [ "$mntopts" = "-" ]; then 180 mntopts='ro,largefiles' 182 checkopt largefiles $mntopts 184 mntopts="largefiles,$mntopts" 187 checkopt ro $mntopts [all …]
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | fs_include.sh | 55 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 75 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 107 while read special mountp fstype mntopts mnttime; do 292 while read mntspec mntpath mnttype mntopts on; do 296 hasopts $fsopts $mntopts && return 0
|
/illumos-gate/usr/src/lib/libfsmgt/common/ |
H A D | fs_mounts.c | 51 char *fstype, char *mntopts, char *time); 73 free(headp->mntopts); in fs_free_mount_list() 158 char *mntopts, char *time, boolean_t find_overlays, int *errp) { in fs_get_filtered_mount_list() argument 174 mntopts, time); in fs_get_filtered_mount_list() 568 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_mntlist_entry() 569 if (newp->mntopts == NULL) { in create_mntlist_entry() 628 newp->mntopts = strdup(mnttab_entry.mnt_mntopts); in create_extmntlist_entry() 629 if (newp->mntopts == NULL) { in create_extmntlist_entry() 654 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, in create_mnttab_filter() argument 702 if (mntopts != NULL) { in create_mnttab_filter() [all …]
|
H A D | libfsmgt.h | 61 char *mntopts; member 72 char *mntopts; member 519 char *mountp, char *fstype, char *mntopts, 1021 char *mntopts, char *time, boolean_t find_overlays,
|
H A D | nfs_mntinfo.c | 54 static char *mntopts[] = { MNTOPT_IGNORE, MNTOPT_DEV, NULL }; variable 97 nfs_get_filtered_mount_list(char *resource, char *mountp, char *mntopts, in nfs_get_filtered_mount_list() argument 104 MNTTYPE_NFS, mntopts, time, find_overlays, errp); in nfs_get_filtered_mount_list() 287 (ignore(fsmnt_list->mntopts))) { in get_nfs_info() 420 if ((mrp->nml_mntopts = strdup(fsmnt_list->mntopts)) == NULL) { in get_mount_data() 476 if (getsubopt(&s, mntopts, &value) == IGNORE) { in ignore()
|
H A D | fs_mount_defaults.c | 80 free(headp->mntopts); in fs_free_mntdefaults_list() 570 newp->mntopts = strdup(vfstab_entry.vfs_mntopts); in create_mntdefaults_entry() 571 if (newp->mntopts == NULL) { in create_mntdefaults_entry() 676 if (filter->mntopts != NULL) { in create_vfstab_filter() 677 search_entry->vfs_mntopts = strdup(filter->mntopts); in create_vfstab_filter()
|
/illumos-gate/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 | 390 ul->mntopts, in autofs_unmount_1_r() 627 if (args->mntopts) in autofs_unmount_1_free_args() 628 free(args->mntopts); in autofs_unmount_1_free_args()
|
/illumos-gate/usr/src/cmd/initpkg/ |
H A D | mountall.sh | 251 while read special fsckdev mountp fstype fsckpass automnt mntopts 279 isglobal "$mntopts" || continue 285 isglobal "$mntopts" && continue 297 if [ "$ALTM" -a "$mntopts" != "-" ]; then 298 OPTIONS="-o $mntopts" # Use mount options if any
|
/illumos-gate/usr/src/cmd/fs.d/ |
H A D | mount.c | 571 elide_dev(char *mntopts) in elide_dev() argument 575 if (mntopts != NULL) { in elide_dev() 576 dev = strstr(mntopts, "dev="); in elide_dev() 581 if (dev != mntopts) { in elide_dev() 647 flags(char *mntopts, int flag) in flags() argument 656 if (mntopts == NULL || *mntopts == '\0') in flags() 660 while (*mntopts != '\0') { in flags() 661 switch (getsubopt(&mntopts, myopts, &value)) { in flags() 870 char *mntopts[] = { MNTOPT_IGNORE, NULL }; variable 898 if (getsubopt(&my_opts, mntopts, &value) == IGNORE) in ignore()
|
/illumos-gate/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()
|
/illumos-gate/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
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_mount.c | 345 char mntopts[MNT_LINE_MAX]; in zfs_mount() local 351 mntopts[0] = '\0'; in zfs_mount() 353 (void) strlcpy(mntopts, options, sizeof (mntopts)); in zfs_mount() 415 strstr(mntopts, MNTOPT_REMOUNT) == NULL && in zfs_mount() 425 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) { in zfs_mount() 459 mntopts); in zfs_mount() 1519 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) in zpool_enable_datasets() argument 1541 ms.ms_mntopts = mntopts; in zpool_enable_datasets()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_stub_vnops.c | 3255 char *mntopts; in nfs4_trigger_create_mntopts() local 3259 mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP); in nfs4_trigger_create_mntopts() 3271 if (nfs4_trigger_add_mntopt(mntopts, mop->mo_name, vfsp)) { in nfs4_trigger_create_mntopts() 3272 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_create_mntopts() 3290 if (nfs4_trigger_add_mntopt(mntopts, MNTOPT_XATTR, vfsp) || in nfs4_trigger_create_mntopts() 3291 nfs4_trigger_add_mntopt(mntopts, MNTOPT_NOXATTR, vfsp)) { in nfs4_trigger_create_mntopts() 3292 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_create_mntopts() 3296 return (mntopts); in nfs4_trigger_create_mntopts() 3300 nfs4_trigger_destroy_mntopts(char *mntopts) in nfs4_trigger_destroy_mntopts() argument 3302 if (mntopts) in nfs4_trigger_destroy_mntopts() [all …]
|
/illumos-gate/usr/src/lib/libtsol/common/ |
H A D | getpathbylabel.c | 263 char mntopts[MAXPATHLEN]; in getnfspathbyautofs() local 271 (void) strncpy(mntopts, mnt->mnt_mntopts, MAXPATHLEN); in getnfspathbyautofs() 272 if ((token = strtok_r(mntopts, ",", &lasts)) != NULL) { in getnfspathbyautofs()
|
/illumos-gate/usr/src/uts/common/fs/lofs/ |
H A D | lofs_vfsops.c | 74 static mntopt_t mntopts[] = { variable 90 sizeof (mntopts) / sizeof (mntopt_t), 91 mntopts
|
/illumos-gate/usr/src/cmd/halt/ |
H A D | halt.c | 679 char mntopts[MNT_LINE_MAX] = MNTOPT_LARGEFILES; in validate_ufs_disk() local 685 mntopts, sizeof (mntopts)) != 0) { in validate_ufs_disk() 699 char mntopts[MNT_LINE_MAX] = { '\0' }; in validate_zfs_pool() local 715 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) { in validate_zfs_pool()
|
/illumos-gate/usr/src/uts/common/fs/fd/ |
H A D | fdops.c | 532 static mntopt_t mntopts[] = { variable 543 sizeof (mntopts) / sizeof (mntopt_t), 544 mntopts
|
/illumos-gate/usr/src/uts/common/rpcsvc/ |
H A D | autofs_prot.x | 211 string mntopts<AUTOFS_MAXOPTSLEN>; /* mntpnt options */
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_vfsops.c | 156 static mntopt_t mntopts[] = { variable 177 sizeof (mntopts) / sizeof (mntopt_t), 178 mntopts
|