Searched defs:mntflags (Results 1 - 5 of 5) sorted by relevance

/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c62 int mntflags = 0; local
174 mntflags | MS_DATA | MS_OPTIONSTR;
H A Dmount.c66 int mntflags = 0; local
154 error = mount(fni.map, mntpnt, mntflags | MS_DATA | MS_OPTIONSTR,
/illumos-gate/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c146 static int mntflags = MS_DATA | MS_OPTIONSTR; variable
257 mntflags |= MS_RDONLY;
288 mntflags |= MS_OVERLAY;
290 if (mntflags & MS_RDONLY) {
382 mntflags, fstype, &mdata, sizeof (mdata),
469 * but we use the mntflags for these, and
473 mntflags |= MS_RDONLY;
476 mntflags &= ~MS_RDONLY;
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c396 int mntflags = 0; local
416 mntflags |= MS_RDONLY;
425 mntflags |= MS_OVERLAY;
520 if (r = set_args(&mntflags, argp, host, mntp)) {
541 if (replicated && !(mntflags & MS_RDONLY)) {
761 mntflags |= MS_DATA | MS_OPTIONSTR;
764 mntflags |= MS_NOMNTTAB;
775 if (mount(mntp->mnt_special, mntp->mnt_mountp, mntflags, fstype, args,
971 set_args(int *mntflags, struct nfs_args *args, char *fshost, struct mnttab *mnt) argument
1008 *mntflags |
[all...]
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c127 char mntflags[(_POSIX_MAX_INPUT+1) * 2]; variable
651 char opts[sizeof (mntflags)];
689 /* cat '/' separator to mntflags */
697 strcpy(mntflags, "");
699 strcat(mntflags, "read/write");
701 strcat(mntflags, "read only");
703 strcat(mntflags, "read-only");
706 strcat(mntflags, "/setuid");
708 strcat(mntflags, "/nosetuid");
710 strcat(mntflags, "/device
[all...]

Completed in 81 milliseconds