Home
last modified time | relevance | path

Searched refs:mountp (Results 1 – 25 of 43) 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-usr92 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
99 mountfs -m $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
108 if [ "$mountp" ]; then
111 checkfs $fsckdev $fstype $mountp ||
131 if [ "$mountp" ]; then
132 checkfs $fsckdev $fstype $mountp || exit $SMF_EXIT_ERR_FATAL
133 mountfs - $mountp $fstype $mntopts - || exit $SMF_EXIT_ERR_FATAL
140 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`
130 if [ "x$mountp" = "x/usr" ] ; then
151 if [ -n "$mountp" ]; then
/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"
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"
/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c47 in_mnttab(char *mountp) in in_mnttab() argument
57 strcmp(mntent.mnt_mountp, mountp) == 0 && in in_mnttab()
73 char *mountp; in main() local
153 mountp = argv[optind++]; in main()
159 special, mountp, mflg, MNTTYPE_TMPFS); in main()
173 again: if (mount(special, mountp, mflg, MNTTYPE_TMPFS, NULL, 0, in main()
184 if (!in_mnttab(mountp) && mount_attempts-- > 0) { in main()
190 myname, mountp, special); in main()
199 special, mountp); in main()
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_fs.c54 char *mountp; member
134 char *mountp = ""; in inuse_fs() local
136 if (listp->mountp != NULL) in inuse_fs()
137 mountp = listp->mountp; in inuse_fs()
140 libdiskmgt_add_str(attrs, DM_USED_NAME, mountp, errp); in inuse_fs()
321 vfsp->mountp = strdup(vp->vfs_mountp); in add_use_record()
322 if (vfsp->mountp == NULL) { in add_use_record()
327 vfsp->mountp = NULL; in add_use_record()
344 free((void *)listp->mountp); in free_vfstab()
H A Dinuse_mnt.c52 char *mountp; member
107 libdiskmgt_add_str(attrs, DM_USED_NAME, listp->mountp, errp); in inuse_mnt()
169 free((void *)listp->mountp); in free_mnttab()
183 libdiskmgt_str_eq(elementp->mountp, listp->mountp)) { in in_list()
263 currp->mountp = strdup(entry.mnt_mountp); in load_mnttab()
264 if (currp->mountp == NULL) { in load_mnttab()
323 currp->mountp = strdup("swap"); in load_mnttab()
324 if (currp->mountp == NULL) { in load_mnttab()
/illumos-gate/usr/src/cmd/fs.d/fd/
H A Dmount.c62 char *special, *mountp; in main() local
127 mountp = argv[optind++]; in main()
136 do_mount(special, mountp, flags); in main()
196 do_mount(char *special, char *mountp, int rflag) in do_mount() argument
205 if (mount(special, mountp, rflag | MS_OPTIONSTR, in do_mount()
207 rpterr(special, mountp); in do_mount()
212 special, mountp); in do_mount()
/illumos-gate/usr/src/cmd/fs.d/mntfs/
H A Dmount.c65 char *special, *mountp; in main() local
127 mountp = argv[optind++]; in main()
134 do_mount(special, mountp, flags); in main()
187 do_mount(char *special, char *mountp, int rflag) in do_mount() argument
198 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
200 rpterr(special, mountp); in do_mount()
206 special, mountp); in do_mount()
/illumos-gate/usr/src/cmd/fs.d/proc/
H A Dmount.c65 char *special, *mountp; in main() local
129 mountp = argv[optind++]; in main()
134 do_mount(special, mountp, roflag ? MS_RDONLY : 0); in main()
192 do_mount(char *special, char *mountp, int rflag) in do_mount() argument
206 if (mount(special, mountp, rflag | MS_OPTIONSTR, fstype, NULL, 0, in do_mount()
208 rpterr(special, mountp); in do_mount()
213 special, mountp); in do_mount()
/illumos-gate/usr/src/cmd/fs.d/udfs/mount/
H A Dmount.c61 char *special, *mountp; in main() local
116 mountp = argv[optind++]; in main()
138 do_mount(special, mountp, flags); in main()
199 do_mount(char *special, char *mountp, int flag) in do_mount() argument
208 if (mount(special, mountp, flag | MS_DATA | MS_OPTIONSTR, in do_mount()
210 rpterr(special, mountp); in do_mount()
215 special, mountp); in do_mount()
/illumos-gate/usr/src/cmd/initpkg/
H A Dmountall.sh251 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
352 fuser -c -k $mountp 1>&2
356 umount ${UMOUNTFLAG} ${mountp} 1>&2
363 fslist="$fslist $mountp"
/illumos-gate/usr/src/lib/libfsmgt/common/
H A Dfs_mounts.c57 char *mountp);
71 free(headp->mountp); in fs_free_mount_list()
552 newp->mountp = strdup(mnttab_entry.mnt_mountp); in create_mntlist_entry()
553 if (newp->mountp == NULL) { in create_mntlist_entry()
612 newp->mountp = strdup(mnttab_entry.mnt_mountp); in create_extmntlist_entry()
613 if (newp->mountp == NULL) { in create_extmntlist_entry()
680 if (mountp != NULL) { in create_mnttab_filter()
681 search_entry->mnt_mountp = strdup(mountp); in create_mnttab_filter()
813 mnt_list->mountp); in find_overlayed_filesystems()
916 is_overlayed(fs_mntlist_t *mnt_list, char *mountp) { in is_overlayed() argument
[all …]
H A Dlibfsmgt.h57 char *mountp; member
70 char *mountp; member
519 char *mountp, char *fstype, char *mntopts,
1020 nfs_mntlist_t *nfs_get_filtered_mount_list(char *resource, char *mountp,
H A Dfs_mount_defaults.c76 free(headp->mountp); in fs_free_mntdefaults_list()
522 newp->mountp = strdup(vfstab_entry.vfs_mountp); in create_mntdefaults_entry()
523 if (newp->mountp == NULL) { in create_mntdefaults_entry()
628 if (filter->mountp != NULL) { in create_vfstab_filter()
629 search_entry->vfs_mountp = strdup(filter->mountp); in create_vfstab_filter()
710 ret_val = cmp_fields(mntdftp->mountp, vp->vfs_mountp, ret_val); in vfstab_line_cmp()
/illumos-gate/usr/src/cmd/svc/shell/
H A Dfs_include.sh55 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
70 [ "x$mountp" = "x$1" ] && break
75 while read special fsckdev mountp fstype fsckpass automnt mntopts; do
107 while read special mountp fstype mntopts mnttime; do
108 [ "x$mountp" = "x$1" ] && break
/illumos-gate/usr/src/cmd/fs.d/
H A Dmount.c422 mountp = NULL; in main()
426 mountp == NULL) { in main()
429 mountp == NULL) { in main()
470 if (mountp == NULL) in main()
479 myname, mountp); in main()
502 perror(mountp); in main()
537 newargv[ii++] = mountp; in main()
1599 if (mountp == NULL) { in check_fields()
1605 if (*mountp != '/') { in check_fields()
1608 myname, mountp); in check_fields()
[all …]
/illumos-gate/usr/src/cmd/fs.d/bootfs/
H A Dmount.c66 char *mountp; /* Entity being mounted on */ in main() local
119 mountp = argv[argc - 1]; in main()
127 if (mount(special, mountp, flags | MS_OPTIONSTR, MNTTYPE_BOOTFS, NULL, in main()
135 special, mountp); in main()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/fs.d/ctfs/
H A Dmount.c63 char *mountp; /* Entity being mounted on */ in main() local
135 mountp = argv[argc - 1]; in main()
143 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
152 special, mountp); in main()
/illumos-gate/usr/src/cmd/fs.d/objfs/
H A Dmount.c63 char *mountp; /* Entity being mounted on */ in main() local
135 mountp = argv[argc - 1]; in main()
143 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
152 special, mountp); in main()
/illumos-gate/usr/src/cmd/fs.d/sharefs/
H A Dmount.c63 char *mountp; /* Entity being mounted on */ in main() local
135 mountp = argv[argc - 1]; in main()
143 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
152 special, mountp); in main()
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c80 char *special, *mountp; in main() local
164 mountp = argv[optind++]; in main()
222 if (mount(special, mountp, flags | MS_OPTIONSTR, fstype, NULL, 0, in main()
224 rpterr(special, mountp); in main()
230 special, mountp); in main()
/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

12