HomeSort by: relevance | last modified time | path
    Searched refs:am_path (Results 1 - 12 of 12) sorted by relevancy

  /src/external/bsd/am-utils/dist/amd/
amfs_toplvl.c 180 if (stat(mp->am_path, &stb) < 0) {
183 plog(XLOG_WARNING, "%s is not a directory", mp->am_path);
276 if (lstat(mp->am_path, &stb) < 0) {
278 dlog("lstat(%s): %m", mp->am_path);
282 plog(XLOG_ERROR, "amfs_toplvl_umount: %s is not a directory, aborting.", mp->am_path);
287 error = UMOUNT_FS(mp->am_path, mnttab_file_name, unmount_flags);
298 plog(XLOG_WARNING, "amfs_toplvl_unmount retrying %s in 1s", mp->am_path);
309 dlog("enabling forced unmounts for toplvl node %s", mp->am_path);
313 dlog("enabling detached unmounts for toplvl node %s", mp->am_path);
map.c 155 if (STREQ(mp->am_path, path))
212 * bugfix: do not prepend old am_path if direct map
215 new_mp->am_path = str3cat(new_mp->am_path,
218 : mp->am_path,
220 dlog("setting path to %s", new_mp->am_path);
342 plog(XLOG_WARNING, "children of \"%s\" still exist - deleting anyway", mp->am_path);
413 mp->am_path = xstrdup(dir);
470 mp->am_path);
474 XFREE(mp->am_path);
    [all...]
amfs_direct.c 96 xp = amfs_generic_lookup_child(mp, mp->am_path + 1, &rc, VLOOK_CREATE);
autil.c 173 plog(XLOG_WARNING, "node %s is currently being unmounted, ignoring timeout request", mp->am_path);
175 plog(XLOG_WARNING, "ignoring timeout request for active node %s", mp->am_path);
179 plog(XLOG_INFO, "\"%s\" forcibly timed out", mp->am_path);
262 mp->am_path = str3cat(mp->am_path, mp->am_parent->am_path, "/", ".");
295 plog(XLOG_INFO, "%s set to never timeout", mp->am_path);
298 plog(XLOG_INFO, "%s set to timeout in %d seconds", mp->am_path, mp->am_timeo);
639 plog(XLOG_WARNING, "Mount %s failed (%m); force unmount.", mp->am_path);
640 if ((error = UMOUNT_FS(mp->am_path, mnttab_file_name
    [all...]
amfs_generic.c 122 dlog("%s/%s mount ignored - going down", mp->am_path, fname);
135 dlog(".. in %s gives %s", mp->am_path, mp->am_parent->am_path);
206 dlog("matched %s in %s", expanded_fname, new_mp->am_path);
270 p = ops_match(fs_opts, ivec, def_opts, new_mp->am_path,
287 mp_dir = new_mp->am_path;
316 plog(XLOG_MAP, "Map entry %s for %s did not match", ivec, new_mp->am_path);
511 dlog("amfs_cont: '%s'", mp->am_path);
544 plog(XLOG_ERROR, "mount for %s got signal %d", mp->am_path, term);
575 plog(XLOG_ERROR, "%s: mount (amfs_cont): %m", mp->am_path);
    [all...]
nfs_subr.c 164 mp->am_path,
231 plog(XLOG_DEBUG, "\tlookup(%s, %s)", mp->am_path, argp->da_name);
326 plog(XLOG_DEBUG, "\treadlink(%s) = %s", mp->am_path, ln);
406 plog(XLOG_DEBUG, "\tremove(%s, %s)", mp->am_path, argp->da_name);
530 plog(XLOG_DEBUG, "\treaddir(%s)", mp->am_path);
562 plog(XLOG_DEBUG, "\tstat_fs(%s)", mp->am_path);
667 orig_ap->am_path, orig_ap->am_al->al_mnt->mf_info);
864 pathlen = strlen(mp->am_path);
866 /* dlog("mp_to_fh: new filehandle: %s", mp->am_path); */
872 memcpy(fp->u.fhh_path, mp->am_path, pathlen); /* making a filehandle *
    [all...]
amq_subr.c 289 xstrlcpy(tmp_buf, mp->am_path, sizeof(tmp_buf));
339 if (!xdr_amq_string(xdrs, &mp->am_path)) {
readdir.c 316 dlog("%s: End of readdir in %s", __func__, mp->am_path);
435 dlog("%s: End of readdir in %s", __func__, mp->am_path);
749 dlog("%s: End of readdir in %s", __func__, mp->am_path);
864 dlog("%s: End of readdir in %s", __func__, mp->am_path);
amd.h 505 char *am_path; /* "/home/kiska": path of this node's mount point */ member in struct:am_node
  /src/external/bsd/am-utils/dist/conf/autofs/
autofs_linux.c 145 plog(XLOG_DEBUG, "autofs_get_fh for %s", mp->am_path);
203 fh->ioctlfd = open(mp->am_path, O_RDONLY);
353 ap_path = str3cat(NULL, mp->am_path, "/", name);
407 mp->am_path, name);
419 plog(XLOG_DEBUG, "\tlookup(%s, %s)", mp->am_path, name);
625 if ((err = mkdir(mp->am_path, 0555)))
638 rmdir(mp->am_path);
666 target2 = str3cat(NULL, mp->am_parent->am_path, "/", target);
702 plog(XLOG_INFO, "autofs: bind-mounting %s -> %s", mp->am_path, target2);
703 mkdir(mp->am_path, 0555)
    [all...]
autofs_solaris_v1.c 377 plog(XLOG_DEBUG, "autofs_get_fh for %s", mp->am_path);
398 fh->path = mp->am_path;
400 fh->map = mp->am_path; /* this is what we get back in readdir */
480 char *space_hack = autofs_strdup_space_hack(mp->am_path);
516 target2 = str3cat(NULL, mp->am_parent->am_path, "/", target);
520 plog(XLOG_INFO, "autofs: converting from link to lofs (%s -> %s)", mp->am_path, target2);
542 if ((err = mount_lofs(mp->am_path, target2, mf->mf_mopts, 1))) {
562 char *space_hack = autofs_strdup_space_hack(mp->am_path);
569 err = UMOUNT_FS(mp->am_path, mnttab_file_name, 1);
612 plog(XLOG_INFO, "autofs: unmounting %s succeeded", mp->am_path);
    [all...]
autofs_solaris_v2_v3.c 967 plog(XLOG_DEBUG, "autofs_get_fh for %s", mp->am_path);
988 fh->path = mp->am_path;
990 fh->map = mp->am_path; /* this is what we get back in readdir */
1098 target2 = str3cat(NULL, mp->am_parent->am_path, "/", target);
1102 plog(XLOG_INFO, "autofs: converting from link to lofs (%s -> %s)", mp->am_path, target2);
1126 if ((err = mount_lofs(mp->am_path, target2, mf->mf_mopts, 1))) {
1147 err = UMOUNT_FS(mp->am_path, mnttab_file_name, 1);
1181 plog(XLOG_INFO, "autofs: unmounting %s succeeded", mp->am_path);
1205 plog(XLOG_INFO, "autofs: unmounting %s failed", mp->am_path);
1221 if (!lstat(mp->am_path, &stb))
    [all...]

Completed in 46 milliseconds