| /onnv-gate/usr/src/cmd/initpkg/ |
| H A D | mountall.sh | 218 while read special fsckdev mountp fstype fsckpass automnt mntopts 230 if [ "$FSType" -a "$FSType" != "$fstype" ]; then 240 if [ "$fstype" = "cachefs" -o "$fstype" = "nfs" -o "$g" ]; then 243 elif [ "$RFLAG" -a "$fstype" != "nfs" ]; then 250 if [ "$fstype" = "cachefs" -o "$fstype" = "nfs" -o -z "$g" ] 256 if [ "$fstype" = "-" ]; then 276 saveentry $fstype "$OPTIONS" $special $mountp 286 if [ -x /usr/lib/fs/$fstype/fsckall ]; then 296 if [ "$fst" = "$fstype" ] ; then 303 fsckall_fstypes="$fsckall_fstypes ${fstype}" [all …]
|
| H A D | umountall.sh | 219 while read dev mountp fstype mode dummy 249 if [ "$fstype" = "nfs" ]; then 258 if [ -n "$FFLAG" -a "$FSType" != "$fstype" ]; then 261 if [ -n "$LFLAG" -a "$fstype" = "nfs" ]; then 277 if [ -n "$LFLAG" -a -n "$nfslist" -a "$fstype" = "autofs" ] 286 if [ -n "$RFLAG" -a "$fstype" != "nfs" ]; then
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/File/ |
| H A D | Basename.pm | 174 my($fstype,$igncase) = ($Fileparse_fstype, $Fileparse_igncase); 178 if ($fstype =~ /^VMS/i) { 179 if ($fullname =~ m#/#) { $fstype = '' } # We're doing Unix emulation 185 if ($fstype =~ /^MS(DOS|Win32)|epoc/i) { 189 elsif ($fstype =~ /^os2/i) { 194 elsif ($fstype =~ /^MacOS/si) { 198 elsif ($fstype =~ /^AmigaOS/i) { 202 elsif ($fstype !~ /^VMS/i) { # default to Unix 250 my($fstype) = $Fileparse_fstype; 252 if ($fstype =~ /VMS/i) { [all …]
|
| /onnv-gate/usr/src/cmd/fs.d/ |
| H A D | volcopy.c | 60 static void doexec(char *fstype, char *nargv[]); 67 char *fstype = NULL; in main() local 140 fstype = &argv[1][0]; in main() 142 fstype = &argv[1][2]; in main() 143 if (strlen(fstype) > FSTYPE_MAX) in main() 145 " characters\n", fstype, FSTYPE_MAX); in main() 153 if (Fflg && strlen(fstype) > FSTYPE_MAX) in main() 158 "operands\n", fstype, FSTYPE_MAX); in main() 164 doexec(fstype, nargv); in main() 190 if (fstype == NULL) { in main() [all …]
|
| H A D | ff.c | 50 char *fstype = NULL; /* fstype name is filled in here */ variable 114 fstype = vfsbuf.vfs_fstype; in main() 138 fstype = optarg; in main() 162 if (F_flg && (strlen(fstype) > (size_t)FSTYPE_MAX)) { in main() 164 cbasename, fstype, FSTYPE_MAX); in main() 191 if ((F_flg) && (strcmp(fstype, vfsbuf.vfs_fstype) != 0)) in main() 194 fstype = vfsbuf.vfs_fstype; in main() 231 if (fstype == NULL) in main() 234 printf("%s -F %s ", cbasename, fstype); in main() 242 fstype = NULL; in main() [all …]
|
| H A D | switchout.c | 59 char *fstype = NULL; /* fstype name is filled in here */ variable 177 fstype = optarg; in main() 218 if (fstype != NULL) { in main() 219 if (strlen(fstype) > FSTYPE_MAX) { in main() 222 cbasename, fstype, FSTYPE_MAX); in main() 251 if ((fstype == NULL) && (usgflag)) in main() 253 if (fstype == NULL) in main() 255 if (fstype == NULL) { in main() 266 sprintf(full_path, "%s/%s/%s", vfs_path, fstype, cbasename); in main() 271 printf("%s -F %s ", cbasename, fstype); in main() [all …]
|
| H A D | fsck.c | 81 char *myname, *fstype; variable 112 static void do_exec(char *fstype, char *nargv[]); 113 static void prnt_cmd(FILE *fd, char *fstype); 258 fstype = optarg; in main() 259 if (strlen(fstype) > (size_t)FSTYPE_MAX) { in main() 262 myname, fstype, FSTYPE_MAX); in main() 309 do_exec(fstype, nargv); in main() 319 if (fstype == NULL) { in main() 329 if (fstype == NULL || strcmp(fstype, MNTTYPE_UFS) == 0) { in main() 395 (fstype == NULL || in main() [all …]
|
| H A D | mount.c | 232 *fstype, /* wherein the fstype name is filled */ in main() local 403 fstype = farg; in main() 406 fstype = "ufs"; in main() 408 fstype = Farg; in main() 412 exit(parmount(argv + optind, fscnt, fstype)); in main() 431 if (fstype == NULL || specific_opts == NULL || special == NULL || in main() 434 if (fstype == NULL || special == NULL || in main() 451 vref.vfs_fstype = fstype; in main() 472 if (fstype == NULL) in main() 473 fstype = vget.vfs_fstype; in main() [all …]
|
| /onnv-gate/usr/src/cmd/wbem/provider/c/filesystems/common/cmdgeneration/unshare/ |
| H A D | cmdgen_unshareall.c | 41 CCIMProperty *fstype; in cmdgen_unshareall() local 59 fstype = currentParam->mDataObject; in cmdgen_unshareall() 60 if (fstype != NULL && fstype->mValue != NULL && in cmdgen_unshareall() 61 strlen(fstype->mValue) != 0) { in cmdgen_unshareall() 68 strlen(fstype->mValue) + 5; in cmdgen_unshareall() 74 FSTYPE_FLAG, fstype->mValue); in cmdgen_unshareall()
|
| /onnv-gate/usr/src/cmd/wbem/provider/c/filesystems/common/cmdgeneration/share/ |
| H A D | cmdgen_shareall.c | 42 CCIMProperty *fstype; in cmdgen_shareall() local 63 fstype = tmpParamList->mDataObject; in cmdgen_shareall() 66 if (fstype != NULL && fstype->mValue != NULL && in cmdgen_shareall() 67 strlen(fstype->mValue) != 0) { in cmdgen_shareall() 69 strlen(fstype->mValue) + 5; in cmdgen_shareall() 82 fstype->mValue); in cmdgen_shareall()
|
| /onnv-gate/usr/src/cmd/svc/milestone/ |
| H A D | fs-usr | 74 if [ "$fstype" = zfs ] ; then 90 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL 95 [ "$fstype" = nfs ] && mntopts="${mntopts},llock" 105 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL 115 if [ "$fstype" = cachefs ]; then 121 checkfs $fsckdev $fstype $mountp || 137 mountfs - /usr $fstype $mntopts - || 151 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL 152 mountfs - $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
|
| H A D | fs-root | 77 if [ "$fstype" = cachefs ]; then 102 elif [ "$fstype" = zfs ]; then 103 mountfs - /usr $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL 139 mountfs -O /usr $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL 148 if [ "$fstype" = zfs ]; then 176 mountfs - /boot $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
|
| H A D | fs-minimal | 42 if [ "$fstype" = zfs ] ; then 50 mounted $mountp $mntopts $fstype < /etc/mnttab && continue 51 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL 52 mountfs -O $mountp $fstype $mntopts - ||
|
| /onnv-gate/usr/src/cmd/svc/shell/ |
| H A D | fs_include.sh | 56 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 76 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 82 [ "$fstype" != swap ] && continue 108 while read special mountp fstype mntopts mnttime; do 291 fstype="$3" 295 [ "$fstype" != "-" ] && [ "$mnttype" != "$fstype" ] && return 1
|
| /onnv-gate/usr/src/cmd/fs.d/mntfs/ |
| H A D | mount.c | 63 static char fstype[] = FSTYPE; variable 84 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 201 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount() 219 fstype, myname, fstype, myname, fstype); in usage()
|
| /onnv-gate/usr/src/lib/libfsmgt/common/ |
| H A D | fs_dfstab.c | 47 char *fstype; member 145 if (headp->fstype != NULL) { in free_dfstab_list() 146 free(headp->fstype); in free_dfstab_list() 172 if (new_entry->fstype) { in create_share_cmd() 173 sprintf(tempstr, "-F %s ", new_entry->fstype); in create_share_cmd() 241 *err |= (dfstablist->fstype != NULL); in dfstab_line_to_dfstab_entry() 242 dfstablist->fstype = strdup(optarg); in dfstab_line_to_dfstab_entry() 243 if (dfstablist->fstype == NULL) { in dfstab_line_to_dfstab_entry() 277 if (dfstablist->fstype == NULL) { in dfstab_line_to_dfstab_entry() 288 dfstablist->fstype = strdup(fileutil_getfs(fp)); in dfstab_line_to_dfstab_entry() [all …]
|
| H A D | fs_mounts.c | 53 char *fstype, char *mntopts, char *time); 74 free(headp->fstype); in fs_free_mount_list() 159 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, in fs_get_filtered_mount_list() argument 175 search_entry = create_mnttab_filter(resource, mountp, fstype, in fs_get_filtered_mount_list() 562 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_mntlist_entry() 563 if (newp->fstype == NULL) { in create_mntlist_entry() 622 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_extmntlist_entry() 623 if (newp->fstype == NULL) { in create_extmntlist_entry() 656 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, in create_mnttab_filter() argument 693 if (fstype != NULL) { in create_mnttab_filter() [all …]
|
| /onnv-gate/usr/src/cmd/fs.d/proc/ |
| H A D | mount.c | 63 static char fstype[] = FSTYPE; variable 84 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main() 209 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount() 226 fstype, myname, fstype, myname, fstype); in usage()
|
| /onnv-gate/usr/src/cmd/iscsid/ |
| H A D | iscsi-initiator | 99 while read special fsckdev mountp fstype fsckpass automnt mntopts; do 111 if [ "$fstype" = "-" ]; then 137 /usr/sbin/fsck -m -F $fstype $fsckdev >/dev/null 2>&1 142 32) checkfs $fsckdev $fstype $mountp 176 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
|
| /onnv-gate/usr/src/cmd/fs.d/sharefs/ |
| H A D | mount.c | 52 static char fstype[] = "sharefs"; variable 86 len = strlen(fstype) + 1 + strlen(myname); in main() 94 (void) snprintf(typename, len, "%s %s", fstype, myname); in main() 145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
|
| /onnv-gate/usr/src/cmd/fs.d/objfs/ |
| H A D | mount.c | 52 static char fstype[] = "objfs"; variable 86 len = strlen(fstype) + 1 + strlen(myname); in main() 94 (void) snprintf(typename, len, "%s %s", fstype, myname); in main() 145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
|
| /onnv-gate/usr/src/cmd/fs.d/ctfs/ |
| H A D | mount.c | 52 static char fstype[] = "ctfs"; variable 86 len = strlen(fstype) + 1 + strlen(myname); in main() 94 (void) snprintf(typename, len, "%s %s", fstype, myname); in main() 145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
|
| /onnv-gate/usr/src/cmd/fs.d/dev/ |
| H A D | mount.c | 50 static char fstype[] = MNTTYPE_DEV; variable 79 " special mount_point\n"), fstype, myname, fstype, myname, fstype); in usage() 96 if (mount(special, mountpt, flags, fstype, &mountargs, in do_mount() 279 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main()
|
| /onnv-gate/usr/src/cmd/fs.d/autofs/ |
| H A D | autod_mount.c | 336 mount_generic(special, fstype, opts, mntpnt, overlay) in mount_generic() argument 337 char *special, *fstype, *opts, *mntpnt; in mount_generic() 347 special, mntpnt, fstype, opts); 377 res = call_fork_exec(fstype, "mount", newargv, verbose); 487 m.mnt_fstype = ur->fstype; 496 if (strcmp(ur->fstype, MNTTYPE_NFS) == 0) { 545 char *fstype = mnt->mnt_fstype; local 550 if (strcmp(fstype, MNTTYPE_NFS) == 0) { 552 } else if (strcmp(fstype, MNTTYPE_LOFS) == 0) { 559 res = call_fork_exec(fstype, "umount", newargv, verbose); [all …]
|
| /onnv-gate/usr/src/cmd/wbem/provider/c/filesystems/common/cmdgeneration/ |
| H A D | cmdgen_include.h | 51 char *cmdgen_mount(int fstype, CCIMInstance *inst, CCIMObjectPath *objPath, 56 char *cmdgen_share(int fstype, CCIMInstance *inst, CCIMObjectPath *objPath, 63 char *cmdgen_unshare(int fstype, CCIMInstance *inst, CCIMObjectPath *objPath,
|