Home
last modified time | relevance | path

Searched refs:mountp (Results 1 – 25 of 45) sorted by relevance

12

/titanic_41/usr/src/cmd/svc/milestone/
H A Dfs-minimal49 if [ -n "$mountp" ]; 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 - ||
77 while read mountp ; do
78 if [ "x$mountp" != "x" -a "$mountp" != "legacy" ] ; then
79 mounted $mountp - zfs < /etc/mnttab && continue
80 /sbin/zfs mount $be$mountp
H A Dfs-usr90 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
105 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
114 if [ "$mountp" ]; then
116 mountfs -O $mountp cachefs $mntopts $special ||
121 checkfs $fsckdev $fstype $mountp ||
150 if [ "$mountp" ]; then
151 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
152 mountfs - $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
159 if [ "$mountp" -a -d /dev/fd ]; then
H A Dfs-root76 if [ -n "$mountp" ]; then
149 mountp=`/sbin/zfs get -H -o value mountpoint $special/usr 2>/dev/null`
154 if [ "x$mountp" = "x/usr" ] ; then
175 if [ -n "$mountp" ]; then
/titanic_41/usr/src/cmd/iscsid/
H A Discsi-initiator99 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
120 /usr/bin/grep " $mountp " /etc/mnttab >/dev/null \
127 iscsilist="$iscsilist $mountp"
139 0|40) iscsilist="$iscsilist $mountp"
142 32) checkfs $fsckdev $fstype $mountp
143 iscsilist="$iscsilist $mountp"
176 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
185 /usr/bin/grep " $mountp " /etc/mnttab >/dev/null 2>&1
189 iscsilist="$iscsilist $mountp"
/titanic_41/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c48 in_mnttab(char *mountp) in in_mnttab() argument
58 strcmp(mntent.mnt_mountp, mountp) == 0 && in in_mnttab()
74 char *mountp; in main() local
154 mountp = argv[optind++]; in main()
160 special, mountp, mflg, MNTTYPE_TMPFS); in main()
174 again: if (mount(special, mountp, mflg, MNTTYPE_TMPFS, NULL, 0, in main()
185 if (!in_mnttab(mountp) && mount_attempts-- > 0) { in main()
191 myname, mountp, special); in main()
200 special, mountp); in main()
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c56 char *mountp; member
136 char *mountp = ""; in inuse_fs() local
138 if (listp->mountp != NULL) in inuse_fs()
139 mountp = listp->mountp; in inuse_fs()
142 libdiskmgt_add_str(attrs, DM_USED_NAME, mountp, errp); in inuse_fs()
323 vfsp->mountp = strdup(vp->vfs_mountp); in add_use_record()
324 if (vfsp->mountp == NULL) { in add_use_record()
329 vfsp->mountp = NULL; in add_use_record()
346 free((void *)listp->mountp); in free_vfstab()
H A Dinuse_mnt.c54 char *mountp; member
109 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->mountp, errp); in inuse_mnt()
171 free((void *)listp->mountp); in free_mnttab()
185 libdiskmgt_str_eq(elementp->mountp, listp->mountp)) { in in_list()
265 currp->mountp = strdup(entry.mnt_mountp); in load_mnttab()
266 if (currp->mountp == NULL) { in load_mnttab()
325 currp->mountp = strdup("swap"); in load_mnttab()
326 if (currp->mountp == NULL) { in load_mnttab()
/titanic_41/usr/src/cmd/fs.d/fd/
H A Dmount.c65 char *special, *mountp; in main() local
130 mountp = argv[optind++]; in main()
139 do_mount(special, mountp, flags); in main()
199 do_mount(char *special, char *mountp, int rflag) in do_mount() argument
208 if (mount(special, mountp, rflag | MS_OPTIONSTR, in do_mount()
210 rpterr(special, mountp); in do_mount()
215 special, mountp); in do_mount()
/titanic_41/usr/src/cmd/fs.d/mntfs/
H A Dmount.c68 char *special, *mountp; in main() local
130 mountp = argv[optind++]; in main()
137 do_mount(special, mountp, flags); in main()
190 do_mount(char *special, char *mountp, int rflag) in do_mount() argument
201 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
203 rpterr(special, mountp); in do_mount()
209 special, mountp); in do_mount()
/titanic_41/usr/src/cmd/fs.d/proc/
H A Dmount.c68 char *special, *mountp; in main() local
132 mountp = argv[optind++]; in main()
137 do_mount(special, mountp, roflag ? MS_RDONLY : 0); in main()
195 do_mount(char *special, char *mountp, int rflag) in do_mount() argument
209 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
211 rpterr(special, mountp); in do_mount()
216 special, mountp); in do_mount()
/titanic_41/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c63 char *special, *mountp; in main() local
118 mountp = argv[optind++]; in main()
140 do_mount(special, mountp, flags); in main()
201 do_mount(char *special, char *mountp, int flag) in do_mount() argument
210 if (mount(special, mountp, flag | MS_DATA | MS_OPTIONSTR, in do_mount()
212 rpterr(special, mountp); in do_mount()
217 special, mountp); in do_mount()
/titanic_41/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c50 char *mountp = NULL; in meta_get_mountp() local
63 while ((!mountp) && (getmntent(mfp, &m) == 0)) { in meta_get_mountp()
90 mountp = mnt_mountp; in meta_get_mountp()
95 return (mountp? Strdup(mountp): NULL); in meta_get_mountp()
/titanic_41/usr/src/cmd/initpkg/
H A Dmountall.sh250 while read special fsckdev mountp fstype fsckpass automnt mntopts
305 /usr/bin/grep " $mountp " /etc/mnttab >/dev/null 2>&1 && continue
311 saveentry $fstype "$OPTIONS" $special $mountp
347 saveentry $fstype "$OPTIONS" $special $mountp
358 0|40) saveentry $fstype "$OPTIONS" $special $mountp
361 32) checkfs $fsckdev $fstype $mountp
362 saveentry $fstype "$OPTIONS" $special $mountp
H A Dumountall.sh253 while read dev mountp fstype mode dummy
255 case "${mountp}" in
352 fuser -c -k $mountp 1>&2
356 umount ${UMOUNTFLAG} ${mountp} 1>&2
363 fslist="$fslist $mountp"
/titanic_41/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c52 static struct mnttab *create_mnttab_filter(char *resource, char *mountp,
59 char *mountp);
73 free(headp->mountp); 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()
554 newp->mountp = strdup(mnttab_entry.mnt_mountp); in create_mntlist_entry()
555 if (newp->mountp == NULL) { in create_mntlist_entry()
614 newp->mountp = strdup(mnttab_entry.mnt_mountp); in create_extmntlist_entry()
615 if (newp->mountp == NULL) { in create_extmntlist_entry()
656 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, in create_mnttab_filter() argument
[all …]
H A Dlibfsmgt.h59 char *mountp; member
72 char *mountp; member
521 char *mountp, char *fstype, char *mntopts,
1022 nfs_mntlist_t *nfs_get_filtered_mount_list(char *resource, char *mountp,
/titanic_41/usr/src/cmd/svc/shell/
H A Dfs_include.sh56 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
71 [ "x$mountp" = "x$1" ] && break
76 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
108 while read special mountp fstype mntopts mnttime; do
109 [ "x$mountp" = "x$1" ] && break
/titanic_41/usr/src/cmd/fs.d/
H A Dmount.c234 *mountp, /* argument of mount directory */ in main() local
429 mountp = argv[optind++]; in main()
431 mountp = NULL; in main()
435 mountp == NULL) { in main()
438 mountp == NULL) { in main()
453 vref.vfs_mountp = mountp; in main()
465 special = vref.vfs_special = mountp; in main()
466 mountp = vref.vfs_mountp = NULL; in main()
479 if (mountp == NULL) in main()
480 mountp = vget.vfs_mountp; in main()
[all …]
/titanic_41/usr/src/cmd/fs.d/lofs/mount/
H A Dmount.c70 char *mountp; /* Entity being mounted on */ in main() local
122 mountp = argv[argc - 1]; in main()
129 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
137 special, mountp); in main()
/titanic_41/usr/src/cmd/fs.d/ctfs/
H A Dmount.c65 char *mountp; /* Entity being mounted on */ in main() local
137 mountp = argv[argc - 1]; in main()
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
154 special, mountp); in main()
/titanic_41/usr/src/cmd/fs.d/objfs/
H A Dmount.c65 char *mountp; /* Entity being mounted on */ in main() local
137 mountp = argv[argc - 1]; in main()
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
154 special, mountp); in main()
/titanic_41/usr/src/cmd/fs.d/sharefs/
H A Dmount.c65 char *mountp; /* Entity being mounted on */ in main() local
137 mountp = argv[argc - 1]; in main()
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
154 special, mountp); in main()
/titanic_41/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c82 char *special, *mountp; in main() local
166 mountp = argv[optind++]; in main()
224 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
226 rpterr(special, mountp); in main()
232 special, mountp); in main()
/titanic_41/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade114 $mountp >/dev/msglog 2>&1`
132 $new_special $mountp >/dev/msglog 2>&1
163 if [ -n "$mountp" ]; then
191 $MOUNT -m -F $cfsbacktype -o ro $new_special $mountp \
/titanic_41/usr/src/cmd/fs.d/cachefs/common/
H A Dstats_log.c331 struct cachefs_log_mount_record mount, *mountp; in stats_log_logfile_read() local
371 if ((rc = mountp = in stats_log_logfile_read()
379 string1 = mountp->path; in stats_log_logfile_read()
380 string2 = mountp->path + mount.pathlen + 1; in stats_log_logfile_read()
928 struct cachefs_log_mount_record *mountp; in stats_log_record_toascii() local
959 mountp = (struct cachefs_log_mount_record *)recp; in stats_log_record_toascii()
961 " %-8s %llx %8x %d %d %s (%s)", "Mount", mountp->vfsp, in stats_log_record_toascii()
962 mountp->flags, mountp->popsize, in stats_log_record_toascii()
963 mountp->fgsize, mountp->path, in stats_log_record_toascii()
964 mountp->path + mountp->pathlen + 1); in stats_log_record_toascii()
[all …]

12