Home
last modified time | relevance | path

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

12345678

/titanic_52/usr/src/cmd/initpkg/
H A Dmountall.sh74 # checkfs raw_device fstype mountpoint
119 # saveentry fstype options special mountp
139 # Is the passed fstype a "remote" one?
238 # column 4: fstype- File system type
251 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"
[all...]
H A Dumountall.sh88 # Is the passed fstype a "remote" one?
150 # 4) can't specify a fstype with -h
152 # 6) can't be fstype nfs and local
153 # 7) only fstype nfs is remote
222 # fstype=nfs line in mnttab (eg, "host:/export) extract the host
253 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"
[all...]
/titanic_52/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 in main()
241 doexec(char * fstype,char * nargv[]) doexec() argument
[all...]
H A Dff.c50 char *fstype = NULL; /* fstype name is filled in here */ variable
52 char *newargv[ARGV_MAX]; /* args for the fstype specific command */
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()
207 * if (sysfs(GETFSIND, fstype) in main()
[all...]
H A Dswitchout.c59 char *fstype = NULL; /* fstype name is filled in here */ variable
61 char *newargv[ARGV_MAX]; /* args for the fstype specific command */
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()
227 /* perform a lookup if fstype is not specified */ in main()
251 if ((fstype == NULL) && (usgflag)) in main()
253 if (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);
254 gettext("%s: more than one fstype specified\n"), in main()
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 in main()
771 execute(char * fsckdev,char * fstype,int Vflg,FILE * fd) execute() argument
838 do_exec(char * fstype,char * nargv[]) do_exec() argument
893 prnt_cmd(FILE * fd,char * fstype) prnt_cmd() argument
[all...]
H A Dmount.c211 * execs the appropriate /usr/lib/fs/{fstype}/mount.
215 * appropriate /etc/fs/{fstype}/mount
217 * If the -F fstype, special or directory are missing,
228 *fstype, /* wherein the fstype name is filled */ in main() local
286 break; /* fstype dependent options */ in main()
399 fstype = farg; in main()
402 fstype = "ufs"; in main()
404 fstype = Farg; in main()
408 exit(parmount(argv + optind, fscnt, fstype)); in main()
731 remote(char * fstype,FILE * rfp) remote() argument
802 doexec(char * fstype,char * newargv[]) doexec() argument
905 parmount(char ** mntlist,int count,char * fstype) parmount() argument
1005 getvfsall(char * fstype,int takeall) getvfsall() argument
1573 check_fields(char * fstype,char * mountp) check_fields() argument
[all...]
/titanic_52/usr/src/cmd/svc/milestone/
H A Dfs-usr73 # get the fstype of root
75 if [ "$fstype" = zfs ] ; then
91 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
96 [ "$fstype" = nfs ] && mntopts="${mntopts},llock"
98 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
110 checkfs $fsckdev $fstype $mountp ||
126 mountfs - /usr $fstype $mntopts - ||
139 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
140 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 - ||
/titanic_52/usr/src/cmd/svc/shell/
H A Dfs_include.sh36 # -> (special, fsckdev, mountp, fstype, fsckpass, automnt, mntopts)
45 # fstype file system type
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
90 # -> (special, mountp, fstype, mntopts, mnttime)
98 # fstype file system type
108 while read special mountp fstype mntopts mnttime; do
119 # checkmessage raw_device fstype mountpoint
120 # checkmessage2 raw_device fstype mountpoin
[all...]
/titanic_52/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 in dfstab_line_to_dfstab_entry()
437 fs_set_DFStab_ent(char * path,char * fstype,char * options,char * description,int * err) fs_set_DFStab_ent() argument
[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 ! in create_mnttab_filter()
[all...]
H A Dlibfsmgt.h60 char *fstype; member
73 char *fstype; member
88 char *fstype; member
521 char *mountp, char *fstype, char *mntopts,
842 * fs_dfstab_entry_t entry - the dfstab entry to retrieve the fstype from.
847 * Note: if fstype is not set in the dfstab entry the default fstype is
945 * char *fstype - The filesystem type for the share
/titanic_52/usr/src/cmd/fs.d/mntfs/
H A Dmount.c46 #define NAME_MAX 64 /* sizeof "fstype myname" */
63 static char fstype[] = FSTYPE; variable
84 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main()
164 (void) fprintf(stderr, gettext("%s: %s is not this fstype.\n"), in rpterr()
201 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
219 fstype, myname, fstype, myname, fstype); in usage()
/titanic_52/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_52/usr/src/cmd/fs.d/proc/
H A Dmount.c46 #define NAME_MAX 64 /* sizeof "fstype myname" */
63 static char fstype[] = FSTYPE; variable
84 (void) snprintf(typename, sizeof (typename), "%s %s", fstype, myname); in main()
165 (void) fprintf(stderr, gettext("%s: %s is not this fstype.\n"), in rpterr()
209 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
226 fstype, myname, fstype, myname, fstype); in usage()
/titanic_52/usr/src/cmd/iscsid/
H A Discsi-initiator53 # checkfs raw_device fstype mountpoint
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
/titanic_52/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c138 * the fstype. in do_mount1()
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_LOF
656 call_fork_exec(fstype,cmd,newargv,console) call_fork_exec() argument
[all...]
/titanic_52/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_52/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_52/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_52/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_52/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_52/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c226 if ((strcmp(fs_tab[n]->fstype, MNTTYPE_AUTOFS)) == NULL) 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()
635 progerr(ERR_MALLOC, "fstype", errno, strerror(errno)); 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
[all...]

12345678