Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/cmd/initpkg/
H A Dmountall.sh251 while read special fsckdev mountp fstype fsckpass automnt mntopts
263 if [ "$FSType" -a "$FSType" != "$fstype" ]; then
278 isremote "$fstype" && continue
284 isremote "$fstype" && continue
289 isremote "$fstype" || continue
292 if [ "$fstype" = "-" ]; then
312 saveentry $fstype "$OPTIONS" $special $mountp
322 if [ -x /usr/lib/fs/$fstype/fsckall ]; then
332 if [ "$fst" = "$fstype" ] ; then
339 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
/illumos-gate/usr/src/cmd/fs.d/
H A Dvolcopy.c57 static void doexec(char *fstype, char *nargv[]);
64 char *fstype = NULL; in main() local
137 fstype = &argv[1][0]; in main()
139 fstype = &argv[1][2]; in main()
140 if (strlen(fstype) > FSTYPE_MAX) in main()
142 " characters\n", fstype, FSTYPE_MAX); in main()
150 if (Fflg && strlen(fstype) > FSTYPE_MAX) in main()
155 "operands\n", fstype, FSTYPE_MAX); in main()
161 doexec(fstype, nargv); in main()
187 if (fstype == NULL) { in main()
[all …]
H A Dff.c49 char *fstype = NULL; /* fstype name is filled in here */ variable
113 fstype = vfsbuf.vfs_fstype; in main()
137 fstype = optarg; in main()
161 if (F_flg && (strlen(fstype) > (size_t)FSTYPE_MAX)) { in main()
163 cbasename, fstype, FSTYPE_MAX); in main()
190 if ((F_flg) && (strcmp(fstype, vfsbuf.vfs_fstype) != 0)) in main()
193 fstype = vfsbuf.vfs_fstype; in main()
230 if (fstype == NULL) in main()
233 printf("%s -F %s ", cbasename, fstype); in main()
241 fstype = NULL; in main()
[all …]
H A Dswitchout.c57 char *fstype = NULL; /* fstype name is filled in here */ variable
175 fstype = optarg; in main()
216 if (fstype != NULL) { in main()
217 if (strlen(fstype) > FSTYPE_MAX) { in main()
220 cbasename, fstype, FSTYPE_MAX); in main()
249 if ((fstype == NULL) && (usgflag)) in main()
251 if (fstype == NULL) in main()
253 if (fstype == NULL) { in main()
264 sprintf(full_path, "%s/%s/%s", vfs_path, fstype, cbasename); in main()
269 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.c226 *fstype, /* wherein the fstype name is filled */ in main() local
397 fstype = farg; in main()
400 fstype = "ufs"; in main()
402 fstype = Farg; in main()
406 exit(parmount(argv + optind, fscnt, fstype)); in main()
425 if (fstype == NULL || specific_opts == NULL || special == NULL || in main()
428 if (fstype == NULL || special == NULL || in main()
445 vref.vfs_fstype = fstype; in main()
466 if (fstype == NULL) in main()
467 fstype = vget.vfs_fstype; in main()
[all …]
/illumos-gate/usr/src/cmd/svc/milestone/
H A Dfs-usr76 if [ "$fstype" = zfs ] ; then
92 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
97 [ "$fstype" = nfs ] && mntopts="${mntopts},llock"
99 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
111 checkfs $fsckdev $fstype $mountp ||
119 mountfs - /usr $fstype $mntopts - ||
132 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
133 mountfs - $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
H A Dfs-root78 if [ "$fstype" = zfs ]; then
79 mountfs - /usr $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
115 mountfs -O /usr $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
124 if [ "$fstype" = zfs ]; then
152 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 - ||
/illumos-gate/usr/src/cmd/svc/shell/
H A Dfs_include.sh55 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
75 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
81 [ "$fstype" != swap ] && continue
107 while read special mountp fstype mntopts mnttime; do
290 fstype="$3"
294 [ "$fstype" != "-" ] && [ "$mnttype" != "$fstype" ] && return 1
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_dfstab.c45 char *fstype; member
143 if (headp->fstype != NULL) { in free_dfstab_list()
144 free(headp->fstype); in free_dfstab_list()
170 if (new_entry->fstype) { in create_share_cmd()
171 sprintf(tempstr, "-F %s ", new_entry->fstype); in create_share_cmd()
239 *err |= (dfstablist->fstype != NULL); in dfstab_line_to_dfstab_entry()
240 dfstablist->fstype = strdup(optarg); in dfstab_line_to_dfstab_entry()
241 if (dfstablist->fstype == NULL) { in dfstab_line_to_dfstab_entry()
275 if (dfstablist->fstype == NULL) { in dfstab_line_to_dfstab_entry()
286 dfstablist->fstype = strdup(fileutil_getfs(fp)); in dfstab_line_to_dfstab_entry()
[all …]
H A Dfs_mounts.c51 char *fstype, char *mntopts, char *time);
72 free(headp->fstype); in fs_free_mount_list()
157 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, in fs_get_filtered_mount_list() argument
173 search_entry = create_mnttab_filter(resource, mountp, fstype, in fs_get_filtered_mount_list()
560 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_mntlist_entry()
561 if (newp->fstype == NULL) { in create_mntlist_entry()
620 newp->fstype = strdup(mnttab_entry.mnt_fstype); in create_extmntlist_entry()
621 if (newp->fstype == NULL) { in create_extmntlist_entry()
654 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, in create_mnttab_filter() argument
691 if (fstype != NULL) { in create_mnttab_filter()
[all …]
/illumos-gate/usr/src/cmd/fs.d/mntfs/
H A Dmount.c60 static char fstype[] = FSTYPE; variable
81 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main()
198 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
216 fstype, myname, fstype, myname, fstype); in usage()
/illumos-gate/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
/illumos-gate/usr/src/cmd/fs.d/proc/
H A Dmount.c60 static char fstype[] = FSTYPE; variable
81 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main()
206 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
223 fstype, myname, fstype, myname, fstype); in usage()
/illumos-gate/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
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c334 mount_generic(special, fstype, opts, mntpnt, overlay) in mount_generic() argument
335 char *special, *fstype, *opts, *mntpnt; in mount_generic()
345 special, mntpnt, fstype, opts);
375 res = call_fork_exec(fstype, "mount", newargv, verbose);
485 m.mnt_fstype = ur->fstype;
494 if (strcmp(ur->fstype, MNTTYPE_NFS) == 0) {
543 char *fstype = mnt->mnt_fstype; local
548 if (strcmp(fstype, MNTTYPE_NFS) == 0) {
550 } else if (strcmp(fstype, MNTTYPE_LOFS) == 0) {
557 res = call_fork_exec(fstype, "umount", newargv, verbose);
[all …]
/illumos-gate/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()
/illumos-gate/usr/src/cmd/fs.d/ctfs/
H A Dmount.c50 static char fstype[] = "ctfs"; variable
84 len = strlen(fstype) + 1 + strlen(myname); in main()
92 (void) snprintf(typename, len, "%s %s", fstype, myname); in main()
143 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
/illumos-gate/usr/src/cmd/fs.d/objfs/
H A Dmount.c50 static char fstype[] = "objfs"; variable
84 len = strlen(fstype) + 1 + strlen(myname); in main()
92 (void) snprintf(typename, len, "%s %s", fstype, myname); in main()
143 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
/illumos-gate/usr/src/cmd/fs.d/sharefs/
H A Dmount.c50 static char fstype[] = "sharefs"; variable
84 len = strlen(fstype) + 1 + strlen(myname); in main()
92 (void) snprintf(typename, len, "%s %s", fstype, myname); in main()
143 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c226 if ((strcmp(fs_tab[n]->fstype, MNTTYPE_AUTOFS)) == 0) in get_server_host()
229 return (fs_tab[n]->fstype); in get_server_host()
585 fs_tab_init(char *mountp, char *fstype) in fs_tab_init() argument
634 if ((nfte->fstype = malloc(strlen(fstype)+1)) == NULL) { in fs_tab_init()
638 (void) strcpy(nfte->fstype, fstype); in fs_tab_init()
656 free(fs_tab[n]->fstype); in fs_tab_free()
1014 load_fsentry(struct fstable *fs_entry, char *name, char *fstype, in load_fsentry() argument
1019 if ((nfte = fs_tab_init(name, fstype)) == NULL) in load_fsentry()
1024 fs_entry->fstype = nfte->fstype; in load_fsentry()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibsharecore.c82 char *fstype; member
264 item->fstype = strdup(optarg); in getdfstab()
299 if (item != NULL && item->fstype == NULL) in getdfstab()
300 item->fstype = strdup("nfs"); in getdfstab()
347 (item->fstype != NULL && strcmp(item->fstype, proto) == 0))) in remdfsentry()
349 if (item->fstype == NULL && in remdfsentry()
422 item->fstype = strdup(proto); in adddfsentry()
464 (item->fstype != NULL) ? "-F " : "", in outdfstab()
465 (item->fstype != NULL) ? item->fstype : "", in outdfstab()
1073 if (entry->fstype != NULL) in dfs_free_list()
[all …]

12345678