Searched refs:mntopts (Results 1 - 25 of 41) 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
[all...]
H A Dfs-usr91 checkopt "llock" $mntopts
92 mntopts='remount'
94 [ -n "$otherops" ] && mntopts="${mntopts},${otherops}"
95 [ "$fstype" = nfs ] && mntopts="${mntopts},llock"
105 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
115 checkopt ro $mntopts
119 if [ "x$mntopts" != x- ]; then
120 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}"
114 RVAL=`$MOUNT -m -F $fstype -o $mntopts $new_special \
132 $MOUNT -m -F $fstype -o $mntopts \
182 if [ "$mntopts" = "-" ]; then
183 mntopts='ro,largefiles'
185 checkopt largefiles $mntopts
187 mntopts
[all...]
/illumos-gate/usr/src/cmd/svc/shell/
H A Dfs_include.sh36 # -> (special, fsckdev, mountp, fstype, fsckpass, automnt, mntopts)
48 # mntopts file system-specific mount options.
56 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
76 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
90 # -> (special, mountp, fstype, mntopts, mnttime)
99 # mntopts file system-specific mount options.
108 while read special mountp fstype mntopts mnttime; do
293 while read mntspec mntpath mnttype mntopts on; do
297 hasopts $fsopts $mntopts && return 0
/illumos-gate/usr/src/cmd/initpkg/
H A Dmountall.sh241 # column 7: mntopts- -o specific mount options
251 while read special fsckdev mountp fstype fsckpass automnt mntopts
277 # the "global" option in 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/lib/libfsmgt/common/
H A Dlibfsmgt.h63 char *mntopts; member in struct:mount_default_list
74 char *mntopts; member in struct:mount_list
510 * char *mntopts - The mount options
521 char *mountp, char *fstype, char *mntopts,
1012 * char *mntopts - The mount options
1023 char *mntopts, char *time, boolean_t find_overlays,
1035 * char *mntopts - The mount options
H A Dfs_mounts.c53 char *fstype, char *mntopts, char *time);
75 free(headp->mntopts);
160 char *mntopts, char *time, boolean_t find_overlays, int *errp) {
176 mntopts, time);
570 newp->mntopts = strdup(mnttab_entry.mnt_mntopts);
571 if (newp->mntopts == NULL) {
630 newp->mntopts = strdup(mnttab_entry.mnt_mntopts);
631 if (newp->mntopts == NULL) {
656 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, argument
704 if (mntopts !
159 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, char *mntopts, char *time, boolean_t find_overlays, int *errp) argument
[all...]
H A Dnfs_mntinfo.c56 static char *mntopts[] = { MNTOPT_IGNORE, MNTOPT_DEV, NULL }; variable
99 nfs_get_filtered_mount_list(char *resource, char *mountp, char *mntopts, argument
106 MNTTYPE_NFS, mntopts, time, find_overlays, errp);
289 (ignore(fsmnt_list->mntopts))) {
422 if ((mrp->nml_mntopts = strdup(fsmnt_list->mntopts)) == NULL) {
478 if (getsubopt(&s, mntopts, &value) == IGNORE) {
H A Dfs_mount_defaults.c82 free(headp->mntopts);
572 newp->mntopts = strdup(vfstab_entry.vfs_mntopts);
573 if (newp->mntopts == NULL) {
678 if (filter->mntopts != NULL) {
679 search_entry->vfs_mntopts = strdup(filter->mntopts);
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautomount.c96 char mntopts[MAX_MNTOPT_STR]; local
306 (void) sprintf(mntopts, "ignore,%s",
309 (void) strcat(mntopts, ",");
310 (void) strcat(mntopts, dir->dir_opts);
314 MNTTYPE_AUTOFS, &ai, sizeof (ai), mntopts,
378 compare_opts(opts, mntopts)
379 char *opts, *mntopts;
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, argument
769 if ((mntpnt == NULL) || (fstype == NULL) || (mntopts == NULL) ||
779 free(mntopts);
788 me->map_mntopts = mntopts;
/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/cmd/fs.d/
H A Dmount.c573 elide_dev(char *mntopts) argument
577 if (mntopts != NULL) {
578 dev = strstr(mntopts, "dev=");
583 if (dev != mntopts) {
649 flags(char *mntopts, int flag) argument
658 if (mntopts == NULL || *mntopts == '\0')
662 while (*mntopts != '\0') {
663 switch (getsubopt(&mntopts, myopts, &value)) {
861 char *mntopts[] variable
[all...]
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c332 char mntopts[MNT_LINE_MAX]; local
336 mntopts[0] = '\0';
338 (void) strlcpy(mntopts, options, sizeof (mntopts));
367 strstr(mntopts, MNTOPT_REMOUNT) == NULL &&
377 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) {
411 mntopts);
1135 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) argument
1168 if (zfs_mount(cb.cb_handles[i], mntopts, flag
[all...]
/illumos-gate/usr/src/lib/libtsol/common/
H A Dgetpathbylabel.c266 char mntopts[MAXPATHLEN]; local
274 (void) strncpy(mntopts, mnt->mnt_mntopts, MAXPATHLEN);
275 if ((token = strtok_r(mntopts, ",", &lasts)) != NULL) {
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dvfs.c187 mntopt_t *mntopts; local
249 mntopts = mdb_alloc(size, UM_SLEEP | UM_GC);
251 if (mdb_vread(mntopts, size,
253 mdb_warn("failed to read mntopts %p", vfs.vfs_mntopts.mo_list);
258 if (mntopts[i].mo_flags & MO_SET) {
260 (uintptr_t)mntopts[i].mo_name) == -1) {
262 mntopts[i].mo_name);
272 if (mntopts[i].mo_flags & MO_HASVALUE) {
274 (uintptr_t)mntopts[i].mo_arg) == -1) {
276 "value %p", mntopts[
[all...]
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Dautofs_prot.x213 string mntopts<AUTOFS_MAXOPTSLEN>; /* mntpnt options */
/illumos-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c561 char mntopts[MNT_LINE_MAX] = ""; local
570 (void) strlcpy(mntopts, MNTOPT_LARGEFILES, sizeof (mntopts));
586 fstyp, data, dtsz, mntopts, sizeof (mntopts))) != 0) {
/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/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c3255 char *mntopts; local
3259 mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP);
3271 if (nfs4_trigger_add_mntopt(mntopts, mop->mo_name, vfsp)) {
3272 kmem_free(mntopts, MAX_MNTOPT_STR);
3290 if (nfs4_trigger_add_mntopt(mntopts, MNTOPT_XATTR, vfsp) ||
3291 nfs4_trigger_add_mntopt(mntopts, MNTOPT_NOXATTR, vfsp)) {
3292 kmem_free(mntopts, MAX_MNTOPT_STR);
3296 return (mntopts);
3300 nfs4_trigger_destroy_mntopts(char *mntopts) argument
3302 if (mntopts)
3310 nfs4_trigger_add_mntopt(char *mntopts, char *optname, vfs_t *vfsp) argument
[all...]
/illumos-gate/usr/src/cmd/halt/
H A Dhalt.c665 char mntopts[MNT_LINE_MAX] = MNTOPT_LARGEFILES; local
671 mntopts, sizeof (mntopts)) != 0) {
685 char mntopts[MNT_LINE_MAX] = { '\0' }; local
701 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) {
/illumos-gate/usr/src/uts/common/fs/fd/
H A Dfdops.c530 static mntopt_t mntopts[] = { variable
541 sizeof (mntopts) / sizeof (mntopt_t),
542 mntopts
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vfsops.c95 static mntopt_t mntopts[] = { variable
109 sizeof (mntopts) / sizeof (mntopt_t),
110 mntopts
506 * handled in vfs.c:domount() - see mntopts stuff.
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c704 char *mntopts[] = { MNTOPT_QUOTA, NULL }; variable
719 if (getsubopt(&opts, mntopts, &value) == QUOTA)

Completed in 99 milliseconds

12