Home
last modified time | relevance | path

Searched refs:mntflags (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/fs.d/smbclnt/mount/
H A Dmount.c146 static int mntflags = MS_DATA | MS_OPTIONSTR; variable
257 mntflags |= MS_RDONLY; in main()
288 mntflags |= MS_OVERLAY; in main()
290 if (mntflags & MS_RDONLY) { in main()
382 mntflags, fstype, &mdata, sizeof (mdata), in main()
473 mntflags |= MS_RDONLY; in setsubopt()
476 mntflags &= ~MS_RDONLY; in setsubopt()
/titanic_41/usr/src/cmd/fs.d/
H A Dmount.c125 char mntflags[(_POSIX_MAX_INPUT+1) * 2]; variable
658 char opts[sizeof (mntflags)]; in flags()
704 strcpy(mntflags, ""); in flags()
706 strcat(mntflags, "read/write"); in flags()
708 strcat(mntflags, "read only"); in flags()
710 strcat(mntflags, "read-only"); in flags()
713 strcat(mntflags, "/setuid"); in flags()
715 strcat(mntflags, "/nosetuid"); in flags()
717 strcat(mntflags, "/devices"); in flags()
719 strcat(mntflags, "/nodevices"); in flags()
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dmount.c66 int mntflags = 0; in main() local
154 error = mount(fni.map, mntpnt, mntflags | MS_DATA | MS_OPTIONSTR, in main()
H A Dautod_autofs.c62 int mntflags = 0; in mount_autofs() local
174 mntflags | MS_DATA | MS_OPTIONSTR; in mount_autofs()
/titanic_41/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c396 int mntflags = 0; in mount_nfs() local
416 mntflags |= MS_RDONLY; in mount_nfs()
425 mntflags |= MS_OVERLAY; in mount_nfs()
520 if (r = set_args(&mntflags, argp, host, mntp)) { in mount_nfs()
541 if (replicated && !(mntflags & MS_RDONLY)) { in mount_nfs()
761 mntflags |= MS_DATA | MS_OPTIONSTR; in mount_nfs()
764 mntflags |= MS_NOMNTTAB; in mount_nfs()
775 if (mount(mntp->mnt_special, mntp->mnt_mountp, mntflags, fstype, args, in mount_nfs()
971 set_args(int *mntflags, struct nfs_args *args, char *fshost, struct mnttab *mnt) in set_args() argument
1008 *mntflags |= MS_RDONLY; in set_args()
[all …]