Home
last modified time | relevance | path

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

12345678

/illumos-gate/usr/src/cmd/initpkg/
H A Dmountall.sh278 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}"
346 cmd="${fstype}_fscklist=\"\$${fstype}_fscklist $fsckdev\""
348 saveentry $fstype "$OPTIONS" $special $mountp
[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.c64 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()
161 doexec(fstype, nargv); in main()
187 if (fstype == NULL) { in main()
205 fstype = default_fstype(argv[2]); in main()
208 fstype = vget.vfs_fstype; in main()
226 printf("volcopy -F %s", fstype); in main()
233 doexec(fstype, nargv); in main()
[all …]
H A Dff.c113 fstype = vfsbuf.vfs_fstype; in main()
137 fstype = optarg; in main()
163 cbasename, fstype, FSTYPE_MAX); in main()
193 fstype = vfsbuf.vfs_fstype; in main()
230 if (fstype == NULL) in main()
241 fstype = NULL; in main()
300 fstype = default_fstype(special); in lookup()
303 fstype = vget.vfs_fstype; in lookup()
346 if (sysfs(GETFSIND, fstype) == (-1)) { in exec_specific()
349 cbasename, fstype); in exec_specific()
[all …]
H A Dswitchout.c175 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()
330 cbasename, fstype); in main()
335 cbasename, fstype); in main()
384 fstype = default_fstype(special); in lookup()
[all …]
H A Dfsck.c81 char *myname, *fstype; variable
258 fstype = optarg; 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()
423 if (fstype == NULL) { in main()
552 fstype = in main()
782 prnt_cmd(stdout, fstype); in execute()
799 do_exec(fstype, nargv); in execute()
[all …]
H A Dmount.c397 fstype = farg; in main()
400 fstype = "ufs"; in main()
402 fstype = Farg; in main()
445 vref.vfs_fstype = fstype; in main()
466 if (fstype == NULL) in main()
467 fstype = vget.vfs_fstype; in main()
495 } else if (fstype == NULL) in main()
540 doexec(fstype, newargv); in main()
741 if (strcmp(fstype, fs) == 0) in remote()
866 myname, fstype); in doexec()
[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()
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()
435 char *fstype, in fs_set_DFStab_ent() argument
455 if (fstype != NULL) { in fs_set_DFStab_ent()
456 new_entry->fstype = strdup(fstype); in fs_set_DFStab_ent()
[all …]
H A Dfs_mounts.c51 char *fstype, char *mntopts, char *time);
72 free(headp->fstype); in fs_free_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()
691 if (fstype != NULL) { in create_mnttab_filter()
692 search_entry->mnt_fstype = strdup(fstype); in create_mnttab_filter()
785 if (!(strcmp(mnt_list->fstype, "autofs") == 0)) { in find_overlayed_filesystems()
796 if (!(strcmp(tmp->fstype, "autofs")) == 0) { in find_overlayed_filesystems()
[all …]
/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/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/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) {
654 call_fork_exec(fstype, cmd, newargv, console) in call_fork_exec() argument
[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/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/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/lib/smbclnt/libfksmbfs/common/
H A Dfake_modconf.c81 int fstype; /* index into vfssw[] and vsanchor_fstype[] */ in fake_installfs() local
108 fstype = vswp - vfssw; /* Pointer arithmetic to get the fstype */ in fake_installfs()
132 err = (*(def->init))(fstype, fsname); in fake_installfs()

12345678