/illumos-gate/usr/src/cmd/svc/milestone/ |
H A D | fs-minimal | 49 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 D | fs-usr | 92 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 D | fs-root | 77 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 D | iscsi-initiator | 99 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 D | mount.c | 47 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 D | inuse_fs.c | 54 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 D | inuse_mnt.c | 52 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 D | mount.c | 62 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 D | mount.c | 65 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 D | mount.c | 65 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 D | mount.c | 61 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 D | mountall.sh | 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 D | umountall.sh | 253 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 D | fs_mounts.c | 50 static struct mnttab *create_mnttab_filter(char *resource, char *mountp, 57 char *mountp); 71 free(headp->mountp); in fs_free_mount_list() 157 fs_get_filtered_mount_list(char *resource, char *mountp, char *fstype, in fs_get_filtered_mount_list() argument 173 search_entry = create_mnttab_filter(resource, mountp, fstype, in fs_get_filtered_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() 654 create_mnttab_filter(char *resource, char *mountp, char *fstype, char *mntopts, in create_mnttab_filter() argument [all …]
|
H A D | libfsmgt.h | 57 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 D | fs_mount_defaults.c | 76 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/fs.d/ |
H A D | mount.c | 225 *mountp, /* argument of mount directory */ in main() local 420 mountp = argv[optind++]; in main() 422 mountp = NULL; in main() 426 mountp == NULL) { in main() 429 mountp == NULL) { in main() 444 vref.vfs_mountp = mountp; in main() 456 special = vref.vfs_special = mountp; in main() 457 mountp = vref.vfs_mountp = NULL; in main() 470 if (mountp == NULL) in main() 471 mountp = vget.vfs_mountp; in main() [all …]
|
/illumos-gate/usr/src/cmd/svc/shell/ |
H A D | fs_include.sh | 55 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/bootfs/ |
H A D | mount.c | 66 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 D | mount.c | 70 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 D | mount.c | 63 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 D | mount.c | 63 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 D | mount.c | 63 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 D | mount.c | 80 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 D | mpxio-upgrade | 115 $mountp >/dev/msglog 2>&1` 133 $new_special $mountp >/dev/msglog 2>&1 164 if [ -n "$mountp" ]; then
|