Home
last modified time | relevance | path

Searched refs:mntopts (Results 1 – 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-root79 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 Dfs-usr93 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 Dfs-minimal50 mounted $mountp $mntopts $fstype < /etc/mnttab && continue
52 mountfs -O $mountp $fstype $mntopts - ||
/illumos-gate/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade111 checkopt "llock" $mntopts
112 mntopts='remount'
113 [ -n "$otherops" ] && mntopts="${mntopts},${otherops}"
179 if [ "$mntopts" = "-" ]; then
180 mntopts='ro,largefiles'
182 checkopt largefiles $mntopts
184 mntopts="largefiles,$mntopts"
187 checkopt ro $mntopts
189 mntopts="ro,$mntopts"
195 checkopt logging $mntopts
[all …]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dfs_include.sh55 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 Dfs_mounts.c51 char *fstype, char *mntopts, char *time);
73 free(headp->mntopts); in fs_free_mount_list()
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()
702 if (mntopts != NULL) { in create_mnttab_filter()
703 search_entry->mnt_mntopts = strdup(mntopts); in create_mnttab_filter()
788 dev_id = fs_parse_optlist_for_option(mnt_list->mntopts, in find_overlayed_filesystems()
[all …]
H A Dlibfsmgt.h61 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 Dnfs_mntinfo.c54 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 Dfs_mount_defaults.c80 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 Dautomount.c96 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 Dns_fnmount.c191 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()
/illumos-gate/usr/src/cmd/initpkg/
H A Dmountall.sh251 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 Dmount.c571 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 Dvfs.c187 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 Discsi-initiator99 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 Dlibzfs_mount.c345 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 Dlibgrub_fs.c561 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 Dnfs4_stub_vnops.c3255 char *mntopts; in nfs4_trigger_create_mntopts() local
3272 kmem_free(mntopts, MAX_MNTOPT_STR); 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()
3303 kmem_free(mntopts, MAX_MNTOPT_STR); in nfs4_trigger_destroy_mntopts()
3316 size_t mntoptslen = strlen(mntopts); in nfs4_trigger_add_mntopt()
3324 if (*mntopts != '\0') in nfs4_trigger_add_mntopt()
3325 (void) strcat(mntopts, ","); in nfs4_trigger_add_mntopt()
[all …]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c263 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 Dlofs_vfsops.c73 static mntopt_t mntopts[] = { variable
89 sizeof (mntopts) / sizeof (mntopt_t),
90 mntopts
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c679 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 Dfdops.c532 static mntopt_t mntopts[] = { variable
543 sizeof (mntopts) / sizeof (mntopt_t),
544 mntopts
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Dautofs_prot.x211 string mntopts<AUTOFS_MAXOPTSLEN>; /* mntpnt options */
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c130 static mntopt_t mntopts[] = { variable
148 sizeof (mntopts) / sizeof (mntopt_t),
149 mntopts
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_vfsops.c156 static mntopt_t mntopts[] = { variable
177 sizeof (mntopts) / sizeof (mntopt_t),
178 mntopts

12