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

12

/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c7776 get_special(char *mountp) argument
7785 INJECT_ERROR1("GET_SPECIAL_MNTPT", mountp = NULL);
7786 if (mountp == NULL) {
7800 if (*mountp == '\0')
7803 mpref.mnt_mountp = mountp;
7810 "not in mnttab\n", fcn, mountp));
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_mount.c546 char *mountp = mnt->mnt_mountp; local
553 if ((res = umount(mountp)) < 0)
556 newargv[2] = mountp;
564 if ((res = umount(mountp)) < 0)
571 mountp, res ? "failed" : "OK");
/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/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/
H A Ddf.c781 char *path, *mountp; local
794 mountp = entryp->mnt_mountp;
800 while ((p = *path++) == (m = *mountp++)) {
H A Dfslib.c294 * mountp - mount point (only used in error messages).
298 char *special, char *mountp)
374 "\"%s\"\n"), special, mountp, option_ptr);
297 cmp_requested_to_actual_options(char *requested_opts, char *actual_opts, char *special, char *mountp) argument
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/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/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/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/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/nfs/rquotad/
H A Drpc.rquotad.c406 quotactl(cmd, mountp, uid, dqp)
408 char *mountp;
419 if ((mountp == NULL) && (cmd == Q_ALLSYNC)) {
447 if (mountp == NULL || mountp[0] == '\0') {
451 (void) strlcpy(mountpoint, mountp, sizeof (mountpoint));
/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/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/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/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/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/fs.d/ufs/fsck/
H A Dutilities.c1436 caddr_t mountp; local
1448 mountp = fs;
1453 mountp = mntent->mnt_mountp;
1454 if (mountp == NULL) /* theoretically a can't-happen */
1480 elock_mountp = strdup(mountp);
1485 if ((mountfd = open64(mountp, O_RDONLY)) == -1)
1554 key.st_mount = mountp; \
1574 search_vfstab(caddr_t mountp, caddr_t special, caddr_t devstr, size_t str_size)
1579 search_mnttab(caddr_t mountp, caddr_t special, caddr_t devstr, size_t str_size)
/illumos-gate/usr/src/cmd/fs.d/ufs/mount/
H A Dmount.c125 in_mnttab(char *mountp) argument
135 strcmp(mntent.mnt_mountp, mountp) == 0 &&
/illumos-gate/usr/src/cmd/fs.d/ufs/quota/
H A Dquota.c664 quotactl(int cmd, char *mountp, uid_t uid, caddr_t addr) argument
675 if ((mountp == NULL) && (cmd == Q_ALLSYNC)) {
709 if (mountp == NULL || mountp[0] == '\0') {
713 if ((strlcpy(qfile, mountp, sizeof (qfile)) >= sizeof
/illumos-gate/usr/src/cmd/fs.d/ufs/quotacheck/
H A Dquotacheck.c702 quotactl(int cmd, char *mountp, uid_t uid, caddr_t addr) argument
712 if ((mountp == NULL) && (cmd == Q_ALLSYNC)) {
743 if (mountp == NULL || mountp[0] == '\0') {
747 if ((strlcpy(qfile, mountp, sizeof (qfile)) >=
/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/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/oamuser/user/
H A Dhomedir.c310 get_mnt_special(char *mountp, char *fstype) argument
317 search.mnt_mountp = mountp;

Completed in 2734 milliseconds

12