Home
last modified time | relevance | path

Searched refs:fstype (Results 1 – 25 of 204) sorted by relevance

123456789

/titanic_41/usr/src/cmd/initpkg/
H A Dmountall.sh250 while read special fsckdev mountp fstype fsckpass automnt mntopts
262 if [ "$FSType" -a "$FSType" != "$fstype" ]; then
277 isremote "$fstype" && continue
283 isremote "$fstype" && continue
288 isremote "$fstype" || continue
291 if [ "$fstype" = "-" ]; then
311 saveentry $fstype "$OPTIONS" $special $mountp
321 if [ -x /usr/lib/fs/$fstype/fsckall ]; then
331 if [ "$fst" = "$fstype" ] ; then
338 fsckall_fstypes="$fsckall_fstypes ${fstype}"
[all …]
H A Dumountall.sh253 while read dev mountp fstype mode dummy
284 if [ "$fstype" = "nfs" ]; then
287 if [ "$fstype" = "smbfs" ]; then
294 if [ -n "$FFLAG" -a "$FSType" != "$fstype" ]; then
300 isremote "$fstype" && continue
317 isremote "$fstype" || continue
/titanic_41/usr/src/cmd/fs.d/
H A Dvolcopy.c60 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 Dff.c50 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 Dswitchout.c59 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 Dfsck.c81 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 Dmount.c235 *fstype, /* wherein the fstype name is filled */ in main() local
406 fstype = farg; in main()
409 fstype = "ufs"; in main()
411 fstype = Farg; in main()
415 exit(parmount(argv + optind, fscnt, fstype)); in main()
434 if (fstype == NULL || specific_opts == NULL || special == NULL || in main()
437 if (fstype == NULL || special == NULL || in main()
454 vref.vfs_fstype = fstype; in main()
475 if (fstype == NULL) in main()
476 fstype = vget.vfs_fstype; in main()
[all …]
/titanic_41/usr/src/cmd/svc/milestone/
H A Dfs-usr74 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 Dfs-root77 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 Dfs-minimal42 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 - ||
/titanic_41/usr/src/cmd/svc/shell/
H A Dfs_include.sh56 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
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Dreadonly_001_pos.ksh59 typeset fstype=$(get_prop type $dataset)
61 if [[ $fstype == "filesystem" ]] ; then
73 typeset fstype=$(get_prop type $dataset)
75 if [[ $fstype == "filesystem" ]] ; then
92 typeset fstype=$(get_prop type $dataset)
100 case $fstype in
/titanic_41/usr/src/cmd/fs.d/mntfs/
H A Dmount.c63 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()
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c47 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 Dfs_mounts.c53 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 …]
/titanic_41/usr/src/cmd/fs.d/proc/
H A Dmount.c63 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()
/titanic_41/usr/src/cmd/iscsid/
H A Discsi-initiator99 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
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c336 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 …]
/titanic_41/usr/src/cmd/fs.d/dev/
H A Dmount.c50 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()
/titanic_41/usr/src/cmd/fs.d/ctfs/
H A Dmount.c52 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()
/titanic_41/usr/src/cmd/fs.d/objfs/
H A Dmount.c52 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()
/titanic_41/usr/src/cmd/fs.d/sharefs/
H A Dmount.c52 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()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_patch.c71 char fstype[512]; in meta_patch_vfstab() local
93 cmpstr = &fstype[0]; in meta_patch_vfstab()
130 bdev, cdev, mntpt, fstype, fsckpass, in meta_patch_vfstab()
154 blkname, char_device, mntpt, fstype, fsckpass, in meta_patch_vfstab()
159 blkname, char_device, mntpt, fstype, fsckpass, in meta_patch_vfstab()
/titanic_41/usr/src/cmd/fs.d/lofs/mount/
H A Dmount.c57 static char fstype[] = MNTTYPE_LOFS; variable
80 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main()
129 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c230 if ((strcmp(fs_tab[n]->fstype, MNTTYPE_AUTO)) == NULL) in get_server_host()
233 return (fs_tab[n]->fstype); in get_server_host()
589 fs_tab_init(char *mountp, char *fstype) in fs_tab_init() argument
638 if ((nfte->fstype = malloc(strlen(fstype)+1)) == NULL) { in fs_tab_init()
642 (void) strcpy(nfte->fstype, fstype); in fs_tab_init()
660 free(fs_tab[n]->fstype); in fs_tab_free()
1021 load_fsentry(struct fstable *fs_entry, char *name, char *fstype, in load_fsentry() argument
1026 if ((nfte = fs_tab_init(name, fstype)) == NULL) in load_fsentry()
1031 fs_entry->fstype = nfte->fstype; in load_fsentry()

123456789