Searched refs:mntopts (Results 1 - 25 of 45) sorted by relevance

12

/opensolaris-onvv-gate/usr/src/cmd/svc/milestone/
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
116 mountfs -O $mountp cachefs $mntopts $special ||
119 checkopt ro $mntopts
123 if [ "x$mntopts" !
[all...]
H A Dfs-root86 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"
[all...]
H A Dfs-minimal50 mounted $mountp $mntopts $fstype < /etc/mnttab && continue
52 mountfs -O $mountp $fstype $mntopts - ||
/opensolaris-onvv-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
/opensolaris-onvv-gate/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade110 checkopt "llock" $mntopts
111 mntopts='remount'
112 [ -n "$otherops" ] && mntopts="${mntopts},${otherops}"
113 RVAL=`$MOUNT -m -F $fstype -o $mntopts $new_special \
131 $MOUNT -m -F $fstype -o $mntopts \
178 case "$mntopts" in
200 if [ "$mntopts" = "-" ]; then
201 mntopts='ro,largefiles'
203 checkopt largefiles $mntopts
[all...]
/opensolaris-onvv-gate/usr/src/cmd/wbem/provider/c/filesystems/wbem_nfs/common/
H A Dcreateprop_methods.h49 cimchar *get_property_from_opt_string(char *mntopts, char *option,
H A Dcreateprop_methods.c174 * - char *mntopts - The mount option string to search.
188 get_property_from_opt_string(char *mntopts, char *option, argument
197 optionString = strdup(mntopts);
/opensolaris-onvv-gate/usr/src/cmd/initpkg/
H A Dmountall.sh208 # column 7: mntopts- -o specific mount options
218 while read special fsckdev mountp fstype fsckpass automnt mntopts
238 $mntopts
248 $mntopts
261 if [ "$ALTM" -a "$mntopts" != "-" ]; then
262 OPTIONS="-o $mntopts" # Use mount options if any
/opensolaris-onvv-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);
/opensolaris-onvv-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;
/opensolaris-onvv-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
/opensolaris-onvv-gate/usr/src/cmd/wbem/provider/c/filesystems/common/cmdgeneration/mount/nfs/
H A Dcmdgen_mount_nfs.c371 * - char *mntopts - The mount option string.
381 boolean_t spec_option_flag, char *mntopts, int *errp) {
390 if (mntopts != NULL) {
391 cmdMaxLen = cmdMaxLen + strlen(mntopts);
415 SPEC_OPT_FLAG, SPACE, mntopts);
380 create_command(char *resource, char *mntpnt, boolean_t mflag, boolean_t Oflag, boolean_t spec_option_flag, char *mntopts, int *errp) argument
/opensolaris-onvv-gate/usr/src/lib/libgrubmgmt/common/
H A Dlibgrub_fs.c501 char mntopts[MNT_LINE_MAX] = ""; local
510 (void) strlcpy(mntopts, MNTOPT_LARGEFILES, sizeof (mntopts));
526 fstyp, data, dtsz, mntopts, sizeof (mntopts))) != 0) {
/opensolaris-onvv-gate/usr/src/cmd/fs.d/
H A Dmount.c577 elide_dev(char *mntopts) argument
581 if (mntopts != NULL) {
582 dev = strstr(mntopts, "dev=");
587 if (dev != mntopts) {
653 flags(char *mntopts, int flag) argument
662 if (mntopts == NULL || *mntopts == '\0')
666 while (*mntopts != '\0') {
667 switch (getsubopt(&mntopts, myopts, &value)) {
865 char *mntopts[] variable
[all...]
/opensolaris-onvv-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c265 char mntopts[MNT_LINE_MAX]; local
269 mntopts[0] = '\0';
271 (void) strlcpy(mntopts, options, sizeof (mntopts));
300 strstr(mntopts, MNTOPT_REMOUNT) == NULL &&
310 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) {
344 mntopts);
1061 zpool_enable_datasets(zpool_handle_t *zhp, const char *mntopts, int flags) argument
1094 if (zfs_mount(cb.cb_handles[i], mntopts, flag
[all...]
/opensolaris-onvv-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) {
/opensolaris-onvv-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...]
/opensolaris-onvv-gate/usr/src/uts/common/rpcsvc/
H A Dautofs_prot.x213 string mntopts<AUTOFS_MAXOPTSLEN>; /* mntpnt options */
/opensolaris-onvv-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
/opensolaris-onvv-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c3243 char *mntopts; local
3247 mntopts = kmem_zalloc(MAX_MNTOPT_STR, KM_SLEEP);
3259 if (nfs4_trigger_add_mntopt(mntopts, mop->mo_name, vfsp)) {
3260 kmem_free(mntopts, MAX_MNTOPT_STR);
3278 if (nfs4_trigger_add_mntopt(mntopts, MNTOPT_XATTR, vfsp) ||
3279 nfs4_trigger_add_mntopt(mntopts, MNTOPT_NOXATTR, vfsp)) {
3280 kmem_free(mntopts, MAX_MNTOPT_STR);
3284 return (mntopts);
3288 nfs4_trigger_destroy_mntopts(char *mntopts) argument
3290 if (mntopts)
3298 nfs4_trigger_add_mntopt(char *mntopts, char *optname, vfs_t *vfsp) argument
[all...]
/opensolaris-onvv-gate/usr/src/cmd/halt/
H A Dhalt.c660 char mntopts[MNT_LINE_MAX] = MNTOPT_LARGEFILES; local
666 mntopts, sizeof (mntopts)) != 0) {
680 char mntopts[MNT_LINE_MAX] = { '\0' }; local
696 MNTTYPE_ZFS, NULL, 0, mntopts, sizeof (mntopts)) != 0) {

Completed in 312 milliseconds

12