Searched refs:mountp (Results 1 - 25 of 46) sorted by relevance

12

/illumos-gate/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
117 checkfs $fsckdev $fstype $mountp ||
145 if [ "$mountp" ]; then
146 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
147 mountfs - $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
154 if [ "$mountp" -a -d /dev/fd ]; then
H A Dfs-root77 if [ -n "$mountp" ]; then
125 mountp=`/sbin/zfs get -H -o value mountpoint $special/usr 2>/dev/null`
127 # if mountp = /usr, there is a non-legacy mount of /usr
130 if [ "x$mountp" = "x/usr" ] ; then
151 if [ -n "$mountp" ]; then
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mount.c50 char *mountp = NULL; local
63 while ((!mountp) && (getmntent(mfp, &m) == 0)) {
89 mountp = mnt_mountp;
94 return (mountp? Strdup(mountp): NULL);
/illumos-gate/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"
174 # Generate iscsi mountp list from /etc/vfstab
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"
[all...]
/illumos-gate/usr/src/cmd/fs.d/fd/
H A Dmount.c65 char *special, *mountp; local
130 mountp = argv[optind++];
139 do_mount(special, mountp, flags);
199 do_mount(char *special, char *mountp, int rflag) argument
208 if (mount(special, mountp, rflag | MS_OPTIONSTR,
210 rpterr(special, mountp);
215 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/mntfs/
H A Dmount.c68 char *special, *mountp; local
130 mountp = argv[optind++];
137 do_mount(special, mountp, flags);
190 do_mount(char *special, char *mountp, int rflag) argument
201 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0,
203 rpterr(special, mountp);
209 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/proc/
H A Dmount.c68 char *special, *mountp; local
132 mountp = argv[optind++];
137 do_mount(special, mountp, roflag ? MS_RDONLY : 0);
195 do_mount(char *special, char *mountp, int rflag) argument
209 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0,
211 rpterr(special, mountp);
216 special, mountp);
/illumos-gate/usr/src/cmd/svc/shell/
H A Dfs_include.sh36 # -> (special, fsckdev, mountp, fstype, fsckpass, automnt, mntopts)
44 # mountp mount point (must match $1, if found)
56 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
90 # -> (special, mountp, fstype, mntopts, mnttime)
97 # mountp mount point (must match $1, if found)
108 while read special mountp fstype mntopts mnttime; do
109 [ "x$mountp" = "x$1" ] && break
/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c48 in_mnttab(char *mountp) argument
58 strcmp(mntent.mnt_mountp, mountp) == 0 &&
74 char *mountp; local
154 mountp = argv[optind++];
160 special, mountp, mflg, MNTTYPE_TMPFS);
174 again: if (mount(special, mountp, mflg, MNTTYPE_TMPFS, NULL, 0,
185 if (!in_mnttab(mountp) && mount_attempts-- > 0) {
191 myname, mountp, special);
200 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/lofs/mount/
H A Dmount.c60 * usage: mount [-Ormq] [-o options] special mountp
70 char *mountp; /* Entity being mounted on */ local
122 mountp = argv[argc - 1];
129 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
137 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/bootfs/
H A Dmount.c56 * usage: mount [-Ormq] [-o options] special mountp
66 char *mountp; /* Entity being mounted on */ local
119 mountp = argv[argc - 1];
127 if (mount(special, mountp, flags | MS_OPTIONSTR, MNTTYPE_BOOTFS, NULL,
135 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c63 char *special, *mountp; local
118 mountp = argv[optind++];
140 do_mount(special, mountp, flags);
201 do_mount(char *special, char *mountp, int flag) argument
210 if (mount(special, mountp, flag | MS_DATA | MS_OPTIONSTR,
212 rpterr(special, mountp);
217 special, mountp);
/illumos-gate/usr/src/cmd/initpkg/
H A Dmountall.sh119 # saveentry fstype options special mountp
237 # column 3: mountp- mount point
251 while read special fsckdev mountp fstype fsckpass automnt mntopts
306 /usr/bin/grep " $mountp " /etc/mnttab >/dev/null 2>&1 && continue
312 saveentry $fstype "$OPTIONS" $special $mountp
348 saveentry $fstype "$OPTIONS" $special $mountp
359 0|40) saveentry $fstype "$OPTIONS" $special $mountp
362 32) checkfs $fsckdev $fstype $mountp
363 saveentry $fstype "$OPTIONS" $special $mountp
H A Dumountall.sh253 while read dev mountp fstype mode dummy
255 case "${mountp}" in
312 # "df -F nfs $mountp" can't be used to filter out
352 fuser -c -k $mountp 1>&2
356 umount ${UMOUNTFLAG} ${mountp} 1>&2
363 fslist="$fslist $mountp"
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c56 char *mountp; member in struct:vfstab_list
136 char *mountp = ""; local
138 if (listp->mountp != NULL)
139 mountp = listp->mountp;
142 libdiskmgt_add_str(attrs, DM_USED_NAME, mountp, errp);
323 vfsp->mountp = strdup(vp->vfs_mountp);
324 if (vfsp->mountp == NULL) {
329 vfsp->mountp = NULL;
346 free((void *)listp->mountp);
[all...]
H A Dinuse_mnt.c54 char *mountp; member in struct:mntpnt_list
109 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->mountp, errp);
171 free((void *)listp->mountp);
185 libdiskmgt_str_eq(elementp->mountp, listp->mountp)) {
265 currp->mountp = strdup(entry.mnt_mountp);
266 if (currp->mountp == NULL) {
325 currp->mountp = strdup("swap");
326 if (currp->mountp == NULL) {
/illumos-gate/usr/src/cmd/fs.d/ctfs/
H A Dmount.c55 * usage: mount [-Ormq] [-o options] special mountp
65 char *mountp; /* Entity being mounted on */ local
137 mountp = argv[argc - 1];
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
154 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/objfs/
H A Dmount.c55 * usage: mount [-Ormq] [-o options] special mountp
65 char *mountp; /* Entity being mounted on */ local
137 mountp = argv[argc - 1];
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
154 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/sharefs/
H A Dmount.c55 * usage: mount [-Ormq] [-o options] special mountp
65 char *mountp; /* Entity being mounted on */ local
137 mountp = argv[argc - 1];
145 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
154 special, mountp);
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c82 char *special, *mountp; local
166 mountp = argv[optind++];
224 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0,
226 rpterr(special, mountp);
232 special, mountp);
/illumos-gate/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);
159 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, argument
175 search_entry = create_mnttab_filter(resource, mountp, fstype,
554 newp->mountp = strdup(mnttab_entry.mnt_mountp);
555 if (newp->mountp == NULL) {
614 newp->mountp = strdup(mnttab_entry.mnt_mountp);
615 if (newp->mountp == NULL) {
656 create_mnttab_filter(char *resource, char *mountp, cha argument
918 is_overlayed(fs_mntlist_t *mnt_list, char *mountp) argument
[all...]
H A Dlibfsmgt.h59 char *mountp; member in struct:mount_default_list
72 char *mountp; member in struct:mount_list
508 * char *mountp - The pathname of the directory on which the filesystem
521 char *mountp, char *fstype, char *mntopts,
1010 * char *mountp - The pathname of the directory on which the filesystem
1022 nfs_mntlist_t *nfs_get_filtered_mount_list(char *resource, char *mountp,
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c227 *mountp, /* argument of mount directory */ local
422 mountp = argv[optind++];
424 mountp = NULL;
428 mountp == NULL) {
431 mountp == NULL) {
446 vref.vfs_mountp = mountp;
449 /* get a vfstab entry matching mountp or special */
458 special = vref.vfs_special = mountp;
459 mountp = vref.vfs_mountp = NULL;
472 if (mountp
1573 check_fields(char *fstype, char *mountp) argument
[all...]
/illumos-gate/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade115 $mountp >/dev/msglog 2>&1`
133 $new_special $mountp >/dev/msglog 2>&1
164 if [ -n "$mountp" ]; then

Completed in 83 milliseconds

12