Import am-utils-6.0.1s3

This commit is contained in:
christos 1999-02-01 18:45:36 +00:00
parent 45faaa01a0
commit eab9b56195
53 changed files with 1148 additions and 788 deletions

View File

@ -1,4 +1,4 @@
$NetBSD: AUTHORS,v 1.1.1.5 1998/08/08 22:05:22 christos Exp $
$NetBSD: AUTHORS,v 1.1.1.6 1999/02/01 18:45:37 christos Exp $
# -*- text -*-
PRIMARY AUTHORS AND MAJOR CONTRIBUTORS TO AM_UTILS:
@ -31,6 +31,8 @@ files.
January 27, 1998: support pid files in the amd.conf file. Provide base name
for hesiod zone files. Always use /etc/amd.conf if exists.
August 8, 1998: add detection support for NFS V.3 for NetBSD 1.3F.
* Hannes Reinecke <hare@MathI.UNI-Heidelberg.DE>
Back in 1995, contributed code for linux. A new parser for file system
@ -90,6 +92,9 @@ options. Minor type wrt "ro" option in libamu/mount_fs.c. Added more
fillers of mnttab options, for acdirmax, acdirmin, acregmax, acregmin, noac,
grpid, nosuid, and actimo.
August 15, 1998: fix memory leak in processing of /defaults, and avoid
accessing uninitialized memory in osf1.
* Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>
July 23, 1997: Got lots of patches from the Debian Linux folks, who fixed
@ -108,6 +113,12 @@ February 24, 1998: lots of patches for ultrix 4.3 port.
February 28, 1998: lots of documentation fixes!
January 8, 1999: texi fixes, and more Ultrix 4.3 fixes, among others.
January 11, 1999: hesiod_isup function. Fix format errors in dlog/plog.
Remove obsolete or unnecessary files/macros. Don't report disabled file
systems. More misc fixes.
* Jason Thorpe <thorpej@nas.nasa.gov>
August 25, 1997: make amd work when talking to NIS+ servers in NIS
@ -150,6 +161,8 @@ November 5, 1997: NFS v.3 support for AIX 4.2.1, which does *not* include
headers for this. Bill had to guess at the right structures, field names,
sizes, alignment, etc.
January 15, 1999: small ldap bug fixes.
* Stefan Vogel <vogel@physik-rzu.unizh.ch>
November 14, 1997: typo in the subscription instructions to amd-dev.
@ -172,6 +185,9 @@ January 12, 1998: minor bug in output of amd -H.
January 13, 1998: use case insensitive comparisons for variables that need
it (such as all hostname related ones, and more).
July 20, 1998: don't leak memory in the private version of yp_all (when
vendor yp_all is bad).
* Fred Korz <korz@smarts.com>
January 30, 1998: minor typo fixed to tftp example in am-utils.texi.
@ -187,5 +203,24 @@ allow startup script to redirect it. Set a temporary secure umask(0022)
before writing log file and restore it afterwards.
* Matthew Crosby <mcrosby@ms.com>
April 20, 1998: allow arbitrary number of interfaces in wire listing.
* David O'Brien <obrien@NUXI.com>
September 4, 1998: bug fix to avoid overrunning hostname buffer, and minor
amd.conf man page typo correction.
* Danny Rathjens <dkr@cs.fiu.edu>
October 29, 1998: swap arguments to kill(2) in amd.c.
* Mike Mitchell <mcm@unx.sas.com>
November 3, 1998: amd/nfs_subr.c (nfsproc_lookup_2_svc): try to avoid a race
condition between unmounting and re-mounting an entry, by increasing the ttl
of a looked up entry before unmounting it.
* Douglas K. Rand" <rand@aero.und.edu>
December 3, 1998: case insensitive host name match for nfsl.

View File

@ -1,5 +1,5 @@
$NetBSD: COPYING,v 1.1.1.4 1998/08/08 22:05:22 christos Exp $
Copyright (c) 1997-1998 Erez Zadok
$NetBSD: COPYING,v 1.1.1.5 1999/02/01 18:45:36 christos Exp $
Copyright (c) 1997-1999 Erez Zadok
Copyright (c) 1989 Jan-Simon Pendry
Copyright (c) 1989 Imperial College of Science, Technology & Medicine
Copyright (c) 1989 The Regents of the University of California.

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_auto.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_auto.c,v 1.1.1.2 1999/02/01 18:45:57 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_auto.c,v 1.1 1997-1998/06/30 19:22:30 ezk Exp ezk
* Id: amfs_auto.c,v 1.3 1999/01/13 23:30:57 ezk Exp
*
*/
@ -479,7 +479,7 @@ try_mount(voidp mvp)
break
fi
if no error on this mount then
this_error = initialise mount point
this_error = initialize mount point
fi
if no error on this mount and mount is delayed then
this_error = -1
@ -498,7 +498,7 @@ try_mount(voidp mvp)
this_error = mount in foreground
fi
fi
if an error occured on this mount then
if an error occurred on this mount then
update stats
save error in mount point
fi
@ -611,8 +611,8 @@ amfs_auto_bgmount(struct continuation * cp, int mpe)
* Don't try logging the string from mf, since it may be bad!
*/
if (cp->fs_opts.opt_fs != mf->mf_fo->opt_fs)
plog(XLOG_ERROR, "use %s instead of 0x%x",
cp->fs_opts.opt_fs, mf->mf_fo->opt_fs);
plog(XLOG_ERROR, "use %s instead of 0x%lx",
cp->fs_opts.opt_fs, (unsigned long) mf->mf_fo->opt_fs);
mp->am_link = str3cat((char *) 0,
cp->fs_opts.opt_fs, "/", link_dir);
@ -659,7 +659,7 @@ amfs_auto_bgmount(struct continuation * cp, int mpe)
/*
* Will usually need to play around with the mount nodes
* file attribute structure. This must be done here.
* Try and get things initialised, even if the fileserver
* Try and get things initialized, even if the fileserver
* is not known to be up. In the common case this will
* progress things faster.
*/
@ -697,7 +697,7 @@ amfs_auto_bgmount(struct continuation * cp, int mpe)
int i = atoi(mf->mf_fo->opt_delay);
if (i > 0 && clocktime() < (cp->start + i)) {
#ifdef DEBUG
dlog("Mount of %s delayed by %ds", mf->mf_mount, i - clocktime() + cp->start);
dlog("Mount of %s delayed by %lds", mf->mf_mount, (long) (i - clocktime() + cp->start));
#endif /* DEBUG */
this_error = -1;
}
@ -989,12 +989,12 @@ amfs_auto_lookuppn(am_node *mp, char *fname, int *error_return, int op)
}
/*
* If an error occured then return it.
* If an error occurred then return it.
*/
if (error) {
#ifdef DEBUG
errno = error; /* XXX */
dlog("Returning error: %m", error);
dlog("Returning error: %m");
#endif /* DEBUG */
XFREE(fname);
ereturn(error);
@ -1130,6 +1130,7 @@ amfs_auto_lookuppn(am_node *mp, char *fname, int *error_return, int op)
memset((char *) &ap, 0, sizeof(am_opts));
pt = ops_match(&ap, *sp, "", mp->am_path, "/defaults",
mp->am_parent->am_mnt->mf_info);
free_opts(&ap); /* don't leak */
if (pt == &amfs_error_ops) {
plog(XLOG_MAP, "failed to match defaults for \"%s\"", *sp);
} else {
@ -1512,7 +1513,7 @@ amfs_auto_readdir_browsable(am_node *mp, nfscookie cookie, nfsdirlist *dp, nfsen
if (te_next) {
nfsentry *te_saved = te_next->ne_nextentry;
te_next->ne_nextentry = NULL; /* terminate "te" chain */
te_next = te_saved; /* save rest of "te" for next interation */
te_next = te_saved; /* save rest of "te" for next iteration */
dp->dl_eof = FALSE; /* tell readdir there's more */
} else {
dp->dl_eof = TRUE; /* tell readdir that's it */
@ -1566,7 +1567,7 @@ amfs_auto_readdir_browsable(am_node *mp, nfscookie cookie, nfsdirlist *dp, nfsen
if (te_next) {
nfsentry *te_saved = te_next->ne_nextentry;
te_next->ne_nextentry = NULL; /* terminate "te" chain */
te_next = te_saved; /* save rest of "te" for next interation */
te_next = te_saved; /* save rest of "te" for next iteration */
dp->dl_eof = FALSE; /* tell readdir there's more */
}
ep = te; /* send next chunk of "te" chain */

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_direct.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_direct.c,v 1.1.1.2 1999/02/01 18:45:58 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_direct.c,v 1.1 1997-1998/06/30 19:22:30 ezk Exp ezk
* Id: amfs_direct.c,v 1.2 1999/01/10 21:53:41 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_error.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_error.c,v 1.1.1.2 1999/02/01 18:45:58 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_error.c,v 5.2.2.1 1992/02/09 15:08:21 jsp beta
* Id: amfs_error.c,v 1.2 1999/01/10 21:53:41 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_host.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_host.c,v 1.1.1.2 1999/02/01 18:45:59 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_host.c,v 5.2.2.2 1992/05/31 16:36:08 jsp Exp
* Id: amfs_host.c,v 1.3 1999/01/13 23:30:57 ezk Exp
*
*/
@ -226,7 +226,7 @@ fetch_fhandle(CLIENT * client, char *dir, am_nfs_handle_t *fhp, u_long nfs_versi
* get the filehandle. Use NFS version specific call.
*/
plog(XLOG_INFO, "fetch_fhandle: NFS version %d", nfs_version);
plog(XLOG_INFO, "fetch_fhandle: NFS version %d", (int) nfs_version);
#ifdef HAVE_FS_NFS3
if (nfs_version == NFS_VERSION3) {
memset((char *) &fhp->v3, 0, sizeof(fhp->v3));
@ -258,7 +258,7 @@ fetch_fhandle(CLIENT * client, char *dir, am_nfs_handle_t *fhp, u_long nfs_versi
(SVC_IN_ARG_TYPE) &fhp->v2,
tv);
if (clnt_stat != RPC_SUCCESS) {
char *msg = clnt_sperrno(clnt_stat);
const char *msg = clnt_sperrno(clnt_stat);
plog(XLOG_ERROR, "mountd rpc failed: %s", msg);
return EIO;
}
@ -337,7 +337,7 @@ amfs_host_fmount(mntfs *mf)
*/
host = mf->mf_server->fs_host;
sin = *mf->mf_server->fs_ip;
plog(XLOG_INFO, "amfs_host_fmount: NFS version %d", mf->mf_server->fs_version);
plog(XLOG_INFO, "amfs_host_fmount: NFS version %d", (int) mf->mf_server->fs_version);
#ifdef HAVE_FS_NFS3
if (mf->mf_server->fs_version == NFS_VERSION3)
mnt_version = MOUNTVERS3;
@ -349,7 +349,7 @@ amfs_host_fmount(mntfs *mf)
* The original 10 second per try timeout is WAY too large, especially
* if we're only waiting 10 or 20 seconds max for the response.
* That would mean we'd try only once in 10 seconds, and we could
* lose the transmitt or receive packet, and never try again.
* lose the transmit or receive packet, and never try again.
* A 2-second per try timeout here is much more reasonable.
* 09/28/92 Mike Mitchell, mcm@unx.sas.com
*/
@ -394,7 +394,7 @@ amfs_host_fmount(mntfs *mf)
(SVC_IN_ARG_TYPE) & exlist,
tv2);
if (clnt_stat != RPC_SUCCESS) {
char *msg = clnt_sperrno(clnt_stat);
const char *msg = clnt_sperrno(clnt_stat);
plog(XLOG_ERROR, "host_fmount rpc failed: %s", msg);
/* clnt_perror(client, "rpc"); */
error = EIO;
@ -632,7 +632,7 @@ amfs_host_umounted(am_node *mp)
*/
host = mf->mf_server->fs_host;
sin = *mf->mf_server->fs_ip;
plog(XLOG_INFO, "amfs_host_umounted: NFS version %d", mf->mf_server->fs_version);
plog(XLOG_INFO, "amfs_host_umounted: NFS version %d", (int) mf->mf_server->fs_version);
#ifdef HAVE_FS_NFS3
if (mf->mf_server->fs_version == NFS_VERSION3)
mnt_version = MOUNTVERS3;
@ -675,8 +675,8 @@ amfs_host_umounted(am_node *mp)
tv);
if (clnt_stat != RPC_SUCCESS && clnt_stat != RPC_SYSTEMERROR) {
/* RPC_SYSTEMERROR seems to be returned for no good reason ... */
char *msg = clnt_sperrno(clnt_stat);
plog(XLOG_ERROR, "unmount all from %s rpc failed: %s", host, msg, clnt_stat);
const char *msg = clnt_sperrno(clnt_stat);
plog(XLOG_ERROR, "unmount all from %s rpc failed: %s", host, msg);
goto out;
}

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_inherit.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_inherit.c,v 1.1.1.2 1999/02/01 18:46:00 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_inherit.c,v 5.2.2.1 1992/02/09 15:08:26 jsp beta
* Id: amfs_inherit.c,v 1.2 1999/01/10 21:53:41 ezk Exp
*
*/
@ -121,7 +121,7 @@ amfs_inherit_init(mntfs *mf)
/*
* Take the linked mount point and
* propogate.
* propagate.
*/
static mntfs *
amfs_inherit_inherit(mntfs *mf)

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_link.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_link.c,v 1.1.1.2 1999/02/01 18:46:00 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_link.c,v 5.2.2.1 1992/02/09 15:09:04 jsp beta
* Id: amfs_link.c,v 1.2 1999/01/10 21:53:42 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_linkx.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_linkx.c,v 1.1.1.2 1999/02/01 18:46:01 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_linkx.c,v 5.2.2.1 1992/02/09 15:09:04 jsp beta
* Id: amfs_linkx.c,v 1.2 1999/01/10 21:53:42 ezk Exp
*
*/
@ -103,4 +103,3 @@ amfs_linkx_mount(am_node *mp)
return 0;
}

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_nfsl.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_nfsl.c,v 1.1.1.2 1999/02/01 18:46:01 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_nfsl.c,v 5.2.2.3 1992/08/02 10:42:21 jsp Exp
* Id: amfs_nfsl.c,v 1.3 1999/01/10 21:53:42 ezk Exp
*
*/
@ -101,7 +101,7 @@ amfs_nfsl_match(am_opts *fo)
struct stat stb;
if (!cp || !ho) {
plog(XLOG_USER, "amfs_nfsl: nost $fs and $rhost must be specified");
plog(XLOG_USER, "amfs_nfsl: host $fs and $rhost must be specified");
return NULL;
}
@ -111,7 +111,7 @@ amfs_nfsl_match(am_opts *fo)
* If link value exists (or same host), then perform amfs_link_match(),
* same as for linkx.
*/
if (!STRCEQ(ho, hostname)) {
if (!STRCEQ(ho, am_get_hostname())) {
plog(XLOG_INFO, "amfs_nfsl: \"%s\" is not local host, using type:=nfs", ho);
return nfs_match(fo);
} else if (lstat(cp, &stb) < 0) {
@ -230,7 +230,7 @@ amfs_nfsl_ffserver(mntfs *mf)
* If link value exists (or same host), then perform
* find_amfs_auto_srvr(), same as for linkx.
*/
if (!STREQ(ho, hostname) || lstat(cp, &stb) < 0) {
if (!STRCEQ(ho, am_get_hostname()) || lstat(cp, &stb) < 0) {
return find_nfs_srvr(mf);
} else {
mf->mf_flags |= MFF_NFSLINK;

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_nfsx.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_nfsx.c,v 1.1.1.2 1999/02/01 18:46:02 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_linxx.c,v 5.2.2.3 1992/05/31 16:13:07 jsp Exp
* Id: amfs_nfsx.c,v 1.2 1999/01/10 21:53:42 ezk Exp
*
*/
@ -465,7 +465,7 @@ amfs_nfsx_fumount(mntfs *mf)
* If this node has not been messed with
* and there has been no error so far
* then try and unmount.
* If an error had occured then zero
* If an error had occurred then zero
* the error code so that the remount
* only tries to unmount those nodes
* which had been successfully unmounted.

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_program.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_program.c,v 1.1.1.2 1999/02/01 18:46:03 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_program.c,v 5.2.2.1 1992/02/09 15:08:56 jsp beta
* Id: amfs_program.c,v 1.3 1999/01/13 23:30:58 ezk Exp
*
*/
@ -147,7 +147,7 @@ amfs_program_exec(char *info)
char **cp = xivec;
plog(XLOG_DEBUG, "executing (un)mount command...");
while (*cp) {
plog(XLOG_DEBUG, "arg[%d] = '%s'", cp - xivec, *cp);
plog(XLOG_DEBUG, "arg[%ld] = '%s'", (long) (cp - xivec), *cp);
cp++;
}
}

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_root.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_root.c,v 1.1.1.2 1999/02/01 18:46:03 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_root.c,v 1.1 1997-1998/06/30 19:22:30 ezk Exp ezk
* Id: amfs_root.c,v 1.2 1999/01/10 21:53:43 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_toplvl.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_toplvl.c,v 1.1.1.2 1999/02/01 18:46:04 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_toplvl.c,v 1.1 1997-1998/06/30 19:22:30 ezk Exp ezk
* Id: amfs_toplvl.c,v 1.3 1999/01/10 21:53:43 ezk Exp
*
*/
@ -160,8 +160,8 @@ mount_amfs_toplvl(char *dir, char *opts)
* Make a ``hostname'' string for the kernel
*/
sprintf(fs_hostname, "pid%ld@%s:%s",
(long) (foreground ? mypid : getppid()),
hostname,
(long) (foreground ? am_mypid : getppid()),
am_get_hostname(),
dir);
/*
* Most kernels have a name length restriction (64 bytes)...
@ -179,9 +179,11 @@ mount_amfs_toplvl(char *dir, char *opts)
#endif /* HOSTNAMESZ */
/*
* Finally we can compute the mount genflags set above.
* Finally we can compute the mount genflags set above,
* and add any automounter specific flags.
*/
genflags = compute_mount_flags(&mnt);
genflags |= compute_automounter_mount_flags(&mnt);
/* setup the many fields and flags within nfs_args */
memmove(&anh.v2.fhs_fh, fhp, sizeof(*fhp));

View File

@ -1,7 +1,7 @@
/* $NetBSD: amfs_union.c,v 1.1.1.1 1998/08/08 22:05:27 christos Exp $ */
/* $NetBSD: amfs_union.c,v 1.1.1.2 1999/02/01 18:46:04 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amfs_union.c,v 1.1 1997-1998/06/30 19:22:30 ezk Exp ezk
* Id: amfs_union.c,v 1.2 1999/01/10 21:53:43 ezk Exp
*
*/

View File

@ -0,0 +1,201 @@
/* $NetBSD: info_hesiod.c,v 1.1.1.1 1999/02/01 18:46:09 christos Exp $ */
/*
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
* All rights reserved.
*
* This code is derived from software contributed to Berkeley by
* Jan-Simon Pendry at Imperial College, London.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* %W% (Berkeley) %G%
*
* Id: info_hesiod.c,v 1.4 1999/01/13 23:30:58 ezk Exp
*
*/
/*
* Get info from Hesiod
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif /* HAVE_CONFIG_H */
#include <am_defs.h>
#include <amd.h>
#define HES_PREFIX "hesiod."
#define HES_PREFLEN 7
#ifdef HAVE_HESIOD_INIT
/* bsdi3 does not define this extern in any header file */
extern char **hesiod_resolve(void *context, const char *name, const char *type);
extern int hesiod_init(void **context);
static voidp hesiod_context;
#endif /* HAVE_HESIOD_INIT */
int amu_hesiod_init(mnt_map *m, char *map, time_t *tp);
int hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp);
int hesiod_isup(mnt_map *m, char *map);
/*
* No easy way to probe the server - check the map name begins with "hesiod."
* Note: this name includes 'amu_' so as to not conflict with libhesiod's
* hesiod_init() function.
*/
int
amu_hesiod_init(mnt_map *m, char *map, time_t *tp)
{
#ifdef DEBUG
dlog("amu_hesiod_init(%s)", map);
#endif /* DEBUG */
*tp = 0;
#ifdef HAVE_HESIOD_INIT
if(!hesiod_context && hesiod_init(&hesiod_context) != 0)
return ENOENT;
#endif /* HAVE_HESIOD_INIT */
return NSTREQ(map, HES_PREFIX, HES_PREFLEN) ? 0 : ENOENT;
}
/*
* Do a Hesiod nameserver call.
* Modify time is ignored by Hesiod - XXX
*/
int
hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp)
{
char hes_key[MAXPATHLEN];
char **rvec;
#ifndef HAVE_HESIOD_INIT
int error;
#endif /* not HAVE_HESIOD_INIT */
#ifdef DEBUG
dlog("hesiod_search(m=%lx, map=%s, key=%s, pval=%lx tp=%lx)",
(unsigned long) m, map, key, (unsigned long) pval, (unsigned long) tp);
#endif /* DEBUG */
sprintf(hes_key, "%s.%s", key, map + HES_PREFLEN);
/*
* Call the resolver
*/
#ifdef DEBUG
dlog("Hesiod base is: %s\n", gopt.hesiod_base);
dlog("hesiod_search: hes_resolve(%s, %s)", hes_key, gopt.hesiod_base);
if (debug_flags & D_INFO)
_res.options |= RES_DEBUG;
#endif /* DEBUG */
#ifdef HAVE_HESIOD_INIT
/* new style hesiod */
rvec = hesiod_resolve(hesiod_context, hes_key, gopt.hesiod_base);
#else /* not HAVE_HESIOD_INIT */
rvec = hes_resolve(hes_key, gopt.hesiod_base);
#endif /* not HAVE_HESIOD_INIT */
/*
* If a reply was forthcoming then return
* it (and free subsequent replies)
*/
if (rvec && *rvec) {
*pval = *rvec;
while (*++rvec)
XFREE(*rvec);
return 0;
}
#ifdef HAVE_HESIOD_INIT
/* new style hesiod */
return errno;
#else /* not HAVE_HESIOD_INIT */
/*
* Otherwise reflect the hesiod error into a Un*x error
*/
# ifdef DEBUG
dlog("hesiod_search: Error: %d", hes_error());
# endif /* DEBUG */
switch (hes_error()) {
case HES_ER_NOTFOUND:
error = ENOENT;
break;
case HES_ER_CONFIG:
error = EIO;
break;
case HES_ER_NET:
error = ETIMEDOUT;
break;
default:
error = EINVAL;
break;
}
# ifdef DEBUG
dlog("hesiod_search: Returning: %d", error);
# endif /* DEBUG */
return error;
#endif /* not HAVE_HESIOD_INIT */
}
/*
* Check if Hesiod is up, so we can determine if to clear the map or not.
* Test it by querying for /defaults.
* Returns: 0 if Hesiod is down, 1 if it is up.
*/
int
hesiod_isup(mnt_map *m, char *map)
{
int error;
char *val;
time_t mtime;
static int last_status = 1; /* assume up by default */
error = hesiod_search(m, map, "/defaults", &val, &mtime);
#ifdef DEBUG
dlog("hesiod_isup(%s): %s", map, strerror(error));
#endif /* DEBUG */
if (error != 0 && error != ENOENT) {
plog(XLOG_ERROR,
"hesiod_isup: error getting `/defaults' entry in map %s: %m", map);
last_status = 0;
return 0; /* Hesiod is down */
}
if (last_status == 0) { /* if was down before */
plog(XLOG_INFO, "hesiod_isup: Hesiod came back up for map %s", map);
last_status = 1;
}
return 1; /* Hesiod is up */
}

View File

@ -1,7 +1,7 @@
/* $NetBSD: ops_autofs.c,v 1.1.1.1 1998/08/08 22:05:31 christos Exp $ */
/* $NetBSD: ops_autofs.c,v 1.1.1.2 1999/02/01 18:46:18 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: ops_autofs.c,v 5.2.2.3 1992/08/02 10:42:21 jsp Exp
* Id: ops_autofs.c,v 1.4 1999/01/13 23:31:00 ezk Exp
*
*/
@ -55,7 +55,7 @@
#include <amd.h>
/*
* CLUDGE: wrap whole file in HAVE_FS_AUTOFS, becasue
* KLUDGE: wrap whole file in HAVE_FS_AUTOFS, because
* not all systems with an automounter file system are supported
* by am-utils yet...
*/
@ -78,7 +78,7 @@ static int mount_autofs(char *dir, char *opts);
static int autofs_mount_1_svc(struct mntrequest *mr, struct mntres *result, struct authunix_parms *cred);
static int autofs_unmount_1_svc(struct umntrequest *ur, struct umntres *result, struct authunix_parms *cred);
/* externam declarations */
/* external declarations */
extern bool_t xdr_mntrequest(XDR *, mntrequest *);
extern bool_t xdr_mntres(XDR *, mntres *);
extern bool_t xdr_umntrequest(XDR *, umntrequest *);
@ -286,8 +286,9 @@ mount_autofs(char *dir, char *opts)
/*
* Make a ``hostname'' string for the kernel
*/
sprintf(fs_hostname, "pid%ld@%s:%s", foreground ? mypid : getppid(),
hostname, dir);
sprintf(fs_hostname, "pid%ld@%s:%s",
(long) (foreground ? am_mypid : getppid()),
am_get_hostname(), dir);
/*
* Most kernels have a name length restriction.
@ -357,7 +358,7 @@ autofs_program_1(struct svc_req *rqstp, SVCXPRT *transp)
(SVC_IN_ARG_TYPE) &argument)) {
plog(XLOG_ERROR,
"AUTOFS xdr decode failed for %d %d %d",
rqstp->rq_prog, rqstp->rq_vers, rqstp->rq_proc);
(int) rqstp->rq_prog, (int) rqstp->rq_vers, (int) rqstp->rq_proc);
svcerr_decode(transp);
return;
}
@ -434,11 +435,13 @@ autofs_unmount_1_svc(struct umntrequest *ur, struct umntres *result, struct auth
int err = 0;
#ifdef HAVE_FIELD_UMNTREQUEST_RDEVID
plog(XLOG_INFO, "XXX: autofs_unmount_1_svc: %d:%u:%lu:0x%x",
ur->isdirect, ur->devid, ur->rdevid, ur->next);
plog(XLOG_INFO, "XXX: autofs_unmount_1_svc: %d:%lu:%lu:0x%lx",
ur->isdirect, (unsigned long) ur->devid, (unsigned long) ur->rdevid,
(unsigned long) ur->next);
#else /* HAVE_FIELD_UMNTREQUEST_RDEVID */
plog(XLOG_INFO, "XXX: autofs_unmount_1_svc: %d:%u:0x%x",
ur->isdirect, ur->devid, ur->next);
plog(XLOG_INFO, "XXX: autofs_unmount_1_svc: %d:%lu:0x%lx",
ur->isdirect, (unsigned long) ur->devid,
(unsigned long) ur->next);
#endif /* HAVE_FIELD_UMNTREQUEST_RDEVID */
err = EINVAL; /* XXX: not implemented yet */
@ -483,7 +486,7 @@ out:
break
fi
if no error on this mount then
this_error = initialise mount point
this_error = initialize mount point
fi
if no error on this mount and mount is delayed then
this_error = -1
@ -502,7 +505,7 @@ out:
this_error = mount in foreground
fi
fi
if an error occured on this mount then
if an error occurred on this mount then
update stats
save error in mount point
fi
@ -615,8 +618,8 @@ autofs_bgmount(struct continuation * cp, int mpe)
* Don't try logging the string from mf, since it may be bad!
*/
if (cp->fs_opts.opt_fs != mf->mf_fo->opt_fs)
plog(XLOG_ERROR, "use %s instead of 0x%x",
cp->fs_opts.opt_fs, mf->mf_fo->opt_fs);
plog(XLOG_ERROR, "use %s instead of 0x%lx",
cp->fs_opts.opt_fs, (unsigned long) mf->mf_fo->opt_fs);
mp->am_link = str3cat((char *) 0,
cp->fs_opts.opt_fs, "/", link_dir);
@ -663,7 +666,7 @@ autofs_bgmount(struct continuation * cp, int mpe)
/*
* Will usually need to play around with the mount nodes
* file attribute structure. This must be done here.
* Try and get things initialised, even if the fileserver
* Try and get things initialized, even if the fileserver
* is not known to be up. In the common case this will
* progress things faster.
*/
@ -701,7 +704,7 @@ autofs_bgmount(struct continuation * cp, int mpe)
int i = atoi(mf->mf_fo->opt_delay);
if (i > 0 && clocktime() < (cp->start + i)) {
#ifdef DEBUG
dlog("Mount of %s delayed by %ds", mf->mf_mount, i - clocktime() + cp->start);
dlog("Mount of %s delayed by %lds", mf->mf_mount, i - clocktime() + cp->start);
#endif /* DEBUG */
this_error = -1;
}
@ -713,7 +716,7 @@ autofs_bgmount(struct continuation * cp, int mpe)
cp->retry = TRUE;
}
if (!this_error)
if (!this_error) {
if (p->fs_flags & FS_MBACKGROUND) {
mf->mf_flags |= MFF_MOUNTING; /* XXX */
#ifdef DEBUG
@ -739,6 +742,7 @@ autofs_bgmount(struct continuation * cp, int mpe)
cp->retry = TRUE;
}
}
}
if (this_error >= 0) {
if (this_error > 0) {
@ -861,7 +865,7 @@ autofs_lookuppn(am_node *mp, char *fname, int *error_return, int op)
char *auto_opts; /* Automount options */
int error = 0; /* Error so far */
char path_name[MAXPATHLEN]; /* General path name buffer */
char apath[MAXPATHLEN]; /* authofs path (added space) */
char apath[MAXPATHLEN]; /* autofs path (added space) */
char *pfname; /* Path for database lookup */
struct continuation *cp; /* Continuation structure if need to mount */
int in_progress = 0; /* # of (un)mount in progress */
@ -879,10 +883,11 @@ autofs_lookuppn(am_node *mp, char *fname, int *error_return, int op)
*/
if (amd_state == Finishing) {
#ifdef DEBUG
if ((mf = mp->am_mnt) == 0 || mf->mf_ops == &amfs_direct_ops)
if ((mf = mp->am_mnt) == 0 || mf->mf_ops == &amfs_direct_ops) {
dlog("%s mount ignored - going down", fname);
else
} else {
dlog("%s/%s mount ignored - going down", mp->am_path, fname);
}
#endif /* DEBUG */
ereturn(ENOENT);
}
@ -992,12 +997,12 @@ autofs_lookuppn(am_node *mp, char *fname, int *error_return, int op)
}
/*
* If an error occured then return it.
* If an error occurred then return it.
*/
if (error) {
#ifdef DEBUG
errno = error; /* XXX */
dlog("Returning error: %m", error);
dlog("Returning error: %m");
#endif /* DEBUG */
XFREE(fname);
ereturn(error);
@ -1133,6 +1138,7 @@ autofs_lookuppn(am_node *mp, char *fname, int *error_return, int op)
memset((char *) &ap, 0, sizeof(am_opts));
pt = ops_match(&ap, *sp, "", mp->am_path, "/defaults",
mp->am_parent->am_mnt->mf_info);
free_opts(&ap); /* don't leak */
if (pt == &amfs_error_ops) {
plog(XLOG_MAP, "failed to match defaults for \"%s\"", *sp);
} else {

View File

@ -1,7 +1,7 @@
/* $NetBSD: ops_nullfs.c,v 1.1.1.1 1998/08/08 22:05:31 christos Exp $ */
/* $NetBSD: ops_nullfs.c,v 1.1.1.2 1999/02/01 18:46:21 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: ops_nullfs.c,v 5.2.2.3 1992/08/02 10:42:21 jsp Exp
* Id: ops_nullfs.c,v 1.2 1999/01/10 21:53:50 ezk Exp
*
*/
@ -54,4 +54,4 @@
#include <am_defs.h>
#include <amd.h>
/* FEEL FREE TO INPLEMENT THIS... :-) */
/* FEEL FREE TO IMPLEMENT THIS... :-) */

View File

@ -1,7 +1,7 @@
/* $NetBSD: ops_tfs.c,v 1.1.1.1 1998/08/08 22:05:31 christos Exp $ */
/* $NetBSD: ops_tfs.c,v 1.1.1.2 1999/02/01 18:46:22 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: ops_tfs.c,v 5.2.2.3 1992/08/02 10:42:21 jsp Exp
* Id: ops_tfs.c,v 1.2 1999/01/10 21:53:51 ezk Exp
*
*/
@ -54,4 +54,4 @@
#include <am_defs.h>
#include <amd.h>
/* FEEL FREE TO INPLEMENT THIS... :-) */
/* FEEL FREE TO IMPLEMENT THIS... :-) */

View File

@ -1,7 +1,7 @@
/* $NetBSD: ops_tmpfs.c,v 1.1.1.1 1998/08/08 22:05:31 christos Exp $ */
/* $NetBSD: ops_tmpfs.c,v 1.1.1.2 1999/02/01 18:46:23 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: ops_tmpfs.c,v 5.2.2.3 1992/08/02 10:42:21 jsp Exp
* Id: ops_tmpfs.c,v 1.2 1999/01/10 21:53:51 ezk Exp
*
*/
@ -54,4 +54,4 @@
#include <am_defs.h>
#include <amd.h>
/* FEEL FREE TO INPLEMENT THIS... :-) */
/* FEEL FREE TO IMPLEMENT THIS... :-) */

View File

@ -1,7 +1,7 @@
/* $NetBSD: ops_umapfs.c,v 1.1.1.1 1998/08/08 22:05:32 christos Exp $ */
/* $NetBSD: ops_umapfs.c,v 1.1.1.2 1999/02/01 18:46:24 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: ops_umapfs.c,v 5.2.2.3 1992/08/02 10:42:21 jsp Exp
* Id: ops_umapfs.c,v 1.2 1999/01/10 21:53:51 ezk Exp
*
*/
@ -54,4 +54,4 @@
#include <am_defs.h>
#include <amd.h>
/* FEEL FREE TO INPLEMENT THIS... :-) */
/* FEEL FREE TO IMPLEMENT THIS... :-) */

View File

@ -1,7 +1,7 @@
/* $NetBSD: ops_unionfs.c,v 1.1.1.1 1998/08/08 22:05:32 christos Exp $ */
/* $NetBSD: ops_unionfs.c,v 1.1.1.2 1999/02/01 18:46:25 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: ops_unionfs.c,v 5.2.2.3 1992/08/02 10:42:21 jsp Exp
* Id: ops_unionfs.c,v 1.2 1999/01/10 21:53:51 ezk Exp
*
*/
@ -54,4 +54,4 @@
#include <am_defs.h>
#include <amd.h>
/* FEEL FREE TO INPLEMENT THIS... :-) */
/* FEEL FREE TO IMPLEMENT THIS... :-) */

View File

@ -1,7 +1,7 @@
/* $NetBSD: srvr_amfs_auto.c,v 1.1.1.1 1998/08/08 22:05:33 christos Exp $ */
/* $NetBSD: srvr_amfs_auto.c,v 1.1.1.2 1999/02/01 18:46:27 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: srvr_amfs_auto.c,v 5.2.2.1 1992/02/09 15:09:05 jsp beta
* Id: srvr_amfs_auto.c,v 1.2 1999/01/10 21:53:53 ezk Exp
*
*/

View File

@ -1,4 +1,4 @@
$NetBSD: am-utils.info,v 1.1.1.4 1998/08/08 22:05:40 christos Exp $
$NetBSD: am-utils.info,v 1.1.1.5 1999/02/01 18:47:00 christos Exp $
This is Info file am-utils.info, produced by Makeinfo version 1.68 from
the input file am-utils.texi.
@ -9,265 +9,265 @@ END-INFO-DIR-ENTRY

Indirect:
am-utils.info-1: 216
am-utils.info-2: 50174
am-utils.info-3: 99942
am-utils.info-4: 148936
am-utils.info-5: 198241
am-utils.info-6: 246123
am-utils.info-2: 49980
am-utils.info-3: 99535
am-utils.info-4: 149180
am-utils.info-5: 198559
am-utils.info-6: 247528

Tag Table:
(Indirect)
Node: Top216
Node: License1836
Node: Distrib3781
Node: Intro6925
Node: History8062
Node: Overview10137
Node: Fundamentals11109
Node: Filesystems and Volumes11885
Node: Volume Naming12707
Node: Volume Binding13967
Node: Operational Principles15175
Node: Mounting a Volume16516
Node: Automatic Unmounting18254
Node: Keep-alives19240
Node: Non-blocking Operation21551
Node: Supported Platforms22673
Node: Mount Maps27330
Node: Map Types28163
Node: File maps29817
Node: ndbm maps31345
Node: NIS maps32022
Node: NIS+ maps33491
Node: Hesiod maps33752
Node: Password maps34709
Node: Union maps35638
Node: LDAP maps36237
Node: Key Lookup37611
Node: Location Format38921
Node: Map Defaults41316
Node: Variable Expansion41935
Node: Selectors44879
Node: arch Selector Variable46701
Node: autodir Selector Variable47054
Node: byte Selector Variable47376
Node: cluster Selector Variable47850
Node: domain Selector Variable48311
Node: host Selector Variable48603
Node: hostd Selector Variable49211
Node: karch Selector Variable49588
Node: os Selector Variable50174
Node: osver Selector Variable50564
Node: key Selector Variable51195
Node: map Selector Variable51695
Node: netnumber Selector Variable51917
Node: network Selector Variable52419
Node: path Selector Variable52918
Node: wire Selector Variable53197
Node: exists Selector Function53914
Node: false Selector Function54220
Node: netgrp Selector Function54454
Node: in_network Selector Function55217
Node: true Selector Function56086
Node: Map Options56287
Node: addopts Option57023
Node: delay Option58081
Node: fs Option58615
Node: opts Option60474
Node: remopts Option66119
Node: sublink Option66992
Node: type Option67341
Node: Amd Command Line Options67550
Node: -a Option70403
Node: -c Option70751
Node: -d Option71390
Node: -k Option71928
Node: -l Option72467
Node: -n Option74792
Node: -o Option75203
Node: -p Option75659
Node: -r Option76085
Node: -t Option76280
Node: -v Option76842
Node: -w Option78811
Node: -x Option79109
Node: -y Option80942
Node: -C-Option81274
Node: -D-Option81918
Node: -F Option83215
Node: -H Option83926
Node: -O-Option84086
Node: -S Option84543
Node: -T-Option85148
Node: Filesystem Types85484
Node: Network Filesystem87859
Node: Network Host Filesystem89553
Node: Network Filesystem Group91647
Node: Unix Filesystem93255
Node: Caching Filesystem94201
Node: CD-ROM Filesystem95915
Node: Loopback Filesystem96429
Node: Memory/RAM Filesystem97362
Node: Null Filesystem97800
Node: Floppy Filesystem98157
Node: Translucent Filesystem98670
Node: Shared Memory+Swap Filesystem99007
Node: User ID Mapping Filesystem99562
Node: Program Filesystem99942
Node: Symbolic Link Filesystem101945
Node: Symbolic Link Filesystem II103216
Node: NFS-Link Filesystem103824
Node: Automount Filesystem105357
Node: Direct Automount Filesystem109018
Node: Union Filesystem110071
Node: Error Filesystem111576
Node: Top-level Filesystem112090
Node: Root Filesystem112673
Node: Autofs Filesystem113174
Node: Inheritance Filesystem113808
Node: Amd Configuration File114838
Node: File Format115350
Node: The Global Section116812
Node: Regular Map Sections117415
Node: Common Parameters117815
Node: browsable_dirs Parameter118448
Node: map_options Parameter119285
Node: map_type Parameter119607
Node: mount_type Parameter120415
Node: search_path Parameter120834
Node: Global Parameters121229
Node: arch Parameter122335
Node: auto_dir Parameter122598
Node: cache_duration Parameter122931
Node: cluster Parameter123259
Node: debug_options Parameter123552
Node: dismount_interval Parameter124557
Node: fully_qualified_hosts Parameter124945
Node: hesiod_base Parameter125473
Node: karch Parameter125739
Node: ldap_base Parameter126369
Node: ldap_cache_maxmem Parameter126614
Node: ldap_cache_seconds Parameter126921
Node: ldap_hostports Parameter127225
Node: local_domain Parameter127524
Node: log_file Parameter127960
Node: log_options Parameter129052
Node: nfs_retransmit_counter Parameter129944
Node: nfs_retry_interval Parameter130335
Node: nis_domain Parameter130727
Node: normalize_hostnames Parameter131173
Node: os Parameter131609
Node: osver Parameter132142
Node: pid_file Parameter132685
Node: plock Parameter133256
Node: portmap_program Parameter133914
Node: print_pid Parameter134695
Node: print_version Parameter135000
Node: restart_mounts Parameter135421
Node: selectors_on_default Parameter135855
Node: show_statfs_entries Parameter136583
Node: unmount_on_exit Parameter137035
Node: Regular Map Parameters137546
Node: map_name Parameter137853
Node: tag Parameter138107
Node: amd.conf Examples138573
Node: Run-time Administration140100
Node: Starting Amd140343
Node: Stopping Amd141193
Node: Restarting Amd141994
Node: Controlling Amd143227
Node: Amq default144586
Node: Amq -f option146547
Node: Amq -l option146990
Node: Amq -h option147420
Node: Amq -m option147781
Node: Amq -M-option148936
Node: Amq -p option150352
Node: Amq -P-option150734
Node: Amq -s option151403
Node: Amq -T option152483
Node: Amq -U-option152798
Node: Amq -u option153108
Node: Amq -v option153538
Node: Other Amq options153773
Node: FSinfo154448
Node: FSinfo Overview155184
Node: Using FSinfo156365
Node: FSinfo Grammar158070
Node: FSinfo host definitions159436
Node: FSinfo host attributes160548
Node: FSinfo host netif161692
Node: FSinfo host config162521
Node: FSinfo host arch162950
Node: FSinfo host os163312
Node: FSinfo host cluster163694
Node: FSinfo filesystems164049
Node: FSinfo filesystems fstype167026
Node: FSinfo filesystems opts167807
Node: FSinfo filesystems passno168106
Node: FSinfo filesystems freq168436
Node: FSinfo filesystems mount168741
Node: FSinfo filesystems dumpset170861
Node: FSinfo filesystems log171148
Node: FSinfo static mounts171409
Node: FSinfo automount definitions173088
Node: FSinfo Command Line Options176324
Node: -a FSinfo Option177958
Node: -b FSinfo Option178337
Node: -d FSinfo Option179029
Node: -e FSinfo Option179636
Node: -f FSinfo Option180412
Node: -h FSinfo Option181012
Node: -m FSinfo Option181390
Node: -q FSinfo Option181960
Node: -v FSinfo Option182226
Node: -D-FSinfo Option182633
Node: -I FSinfo Option182923
Node: -U FSinfo Option183220
Node: FSinfo errors183434
Node: Hlfsd190026
Node: Introduction to Hlfsd191736
Node: Background to Mail Delivery196665
Node: Single-Host Mail Spool Directory197160
Node: Centralized Mail Spool Directory198241
Node: Distributed Mail Spool Service201507
Node: Why Deliver Into the Home Directory?204785
Node: Using Hlfsd207324
Node: Controlling Hlfsd207506
Node: Hlfsd Options209049
Node: Hlfsd Files214080
Node: Assorted Tools214739
Node: am-eject215212
Node: amd.conf-sample215456
Node: amd2ldif215660
Node: amd2sun215911
Node: ctl-amd216141
Node: ctl-hlfsd216619
Node: expn217138
Node: fix-amd-map217713
Node: fixmount218210
Node: fixrmtab218620
Node: lostaltmail218903
Node: lostaltmail.conf-sample219655
Node: mk-amd-map220064
Node: pawd220350
Node: wait4amd221063
Node: wait4amd2die222157
Node: wire-test222708
Node: Examples223788
Node: User Filesystems224090
Node: Home Directories227250
Node: Architecture Sharing230247
Node: Wildcard Names231837
Node: rwho servers233136
Node: /vol233874
Node: /defaults with selectors236457
Node: /tftpboot in a chroot-ed environment237303
Node: Internals241580
Node: Log Messages241916
Node: Fatal errors242626
Node: Info messages246123
Node: Acknowledgments & Trademarks248743
Node: Index250224
Node: Intro6926
Node: History8063
Node: Overview10138
Node: Fundamentals11110
Node: Filesystems and Volumes11886
Node: Volume Naming12708
Node: Volume Binding13968
Node: Operational Principles15176
Node: Mounting a Volume16517
Node: Automatic Unmounting18255
Node: Keep-alives19241
Node: Non-blocking Operation21552
Node: Supported Platforms22674
Node: Mount Maps28707
Node: Map Types29540
Node: File maps31194
Node: ndbm maps32722
Node: NIS maps33399
Node: NIS+ maps34868
Node: Hesiod maps35129
Node: Password maps36086
Node: Union maps37015
Node: LDAP maps37614
Node: Key Lookup38988
Node: Location Format40298
Node: Map Defaults42693
Node: Variable Expansion43312
Node: Selectors46256
Node: arch Selector Variable48078
Node: autodir Selector Variable48431
Node: byte Selector Variable48753
Node: cluster Selector Variable49227
Node: domain Selector Variable49688
Node: host Selector Variable49980
Node: hostd Selector Variable50588
Node: karch Selector Variable50965
Node: os Selector Variable51551
Node: osver Selector Variable51941
Node: key Selector Variable52572
Node: map Selector Variable53072
Node: netnumber Selector Variable53294
Node: network Selector Variable53796
Node: path Selector Variable54295
Node: wire Selector Variable54574
Node: exists Selector Function55291
Node: false Selector Function55597
Node: netgrp Selector Function55831
Node: in_network Selector Function56594
Node: true Selector Function57463
Node: Map Options57664
Node: addopts Option58400
Node: delay Option59459
Node: fs Option59993
Node: opts Option61852
Node: remopts Option67497
Node: sublink Option68370
Node: type Option68719
Node: Amd Command Line Options68928
Node: -a Option71781
Node: -c Option72129
Node: -d Option72768
Node: -k Option73306
Node: -l Option73845
Node: -n Option76170
Node: -o Option76581
Node: -p Option77037
Node: -r Option77463
Node: -t Option77658
Node: -v Option78220
Node: -w Option80189
Node: -x Option80487
Node: -y Option82320
Node: -C-Option82652
Node: -D-Option83296
Node: -F Option84593
Node: -H Option85304
Node: -O-Option85464
Node: -S Option85921
Node: -T-Option86526
Node: Filesystem Types86862
Node: Network Filesystem89237
Node: Network Host Filesystem90931
Node: Network Filesystem Group93025
Node: Unix Filesystem94633
Node: Caching Filesystem95579
Node: CD-ROM Filesystem97293
Node: Loopback Filesystem97807
Node: Memory/RAM Filesystem98740
Node: Null Filesystem99178
Node: Floppy Filesystem99535
Node: Translucent Filesystem100048
Node: Shared Memory+Swap Filesystem100385
Node: User ID Mapping Filesystem100940
Node: Program Filesystem101320
Node: Symbolic Link Filesystem103343
Node: Symbolic Link Filesystem II104614
Node: NFS-Link Filesystem105222
Node: Automount Filesystem106755
Node: Direct Automount Filesystem110416
Node: Union Filesystem111470
Node: Error Filesystem112975
Node: Top-level Filesystem113489
Node: Root Filesystem114072
Node: Autofs Filesystem114573
Node: Inheritance Filesystem115207
Node: Amd Configuration File116237
Node: File Format116749
Node: The Global Section118211
Node: Regular Map Sections118814
Node: Common Parameters119214
Node: browsable_dirs Parameter119847
Node: map_options Parameter120684
Node: map_type Parameter121006
Node: mount_type Parameter121814
Node: search_path Parameter122233
Node: Global Parameters122628
Node: arch Parameter123734
Node: auto_dir Parameter123997
Node: cache_duration Parameter124330
Node: cluster Parameter124658
Node: debug_options Parameter124951
Node: dismount_interval Parameter125956
Node: fully_qualified_hosts Parameter126344
Node: hesiod_base Parameter126872
Node: karch Parameter127138
Node: ldap_base Parameter127768
Node: ldap_cache_maxmem Parameter128013
Node: ldap_cache_seconds Parameter128320
Node: ldap_hostports Parameter128624
Node: local_domain Parameter128923
Node: log_file Parameter129359
Node: log_options Parameter130451
Node: nfs_retransmit_counter Parameter131343
Node: nfs_retry_interval Parameter131734
Node: nis_domain Parameter132126
Node: normalize_hostnames Parameter132572
Node: os Parameter133008
Node: osver Parameter133541
Node: pid_file Parameter134084
Node: plock Parameter134655
Node: portmap_program Parameter135313
Node: print_pid Parameter136094
Node: print_version Parameter136399
Node: restart_mounts Parameter136820
Node: selectors_on_default Parameter137254
Node: show_statfs_entries Parameter137982
Node: unmount_on_exit Parameter138434
Node: Regular Map Parameters138945
Node: map_name Parameter139252
Node: tag Parameter139506
Node: amd.conf Examples139972
Node: Run-time Administration141499
Node: Starting Amd141742
Node: Stopping Amd142592
Node: Restarting Amd143393
Node: Controlling Amd144626
Node: Amq default145985
Node: Amq -f option147946
Node: Amq -l option148389
Node: Amq -h option148819
Node: Amq -m option149180
Node: Amq -M-option150335
Node: Amq -p option151751
Node: Amq -P-option152133
Node: Amq -s option152802
Node: Amq -T option153882
Node: Amq -U-option154197
Node: Amq -u option154507
Node: Amq -v option154937
Node: Other Amq options155172
Node: FSinfo155847
Node: FSinfo Overview156583
Node: Using FSinfo157764
Node: FSinfo Grammar159469
Node: FSinfo host definitions160835
Node: FSinfo host attributes161947
Node: FSinfo host netif163091
Node: FSinfo host config163920
Node: FSinfo host arch164349
Node: FSinfo host os164711
Node: FSinfo host cluster165093
Node: FSinfo filesystems165448
Node: FSinfo filesystems fstype168425
Node: FSinfo filesystems opts169206
Node: FSinfo filesystems passno169505
Node: FSinfo filesystems freq169835
Node: FSinfo filesystems mount170140
Node: FSinfo filesystems dumpset172260
Node: FSinfo filesystems log172547
Node: FSinfo static mounts172808
Node: FSinfo automount definitions174487
Node: FSinfo Command Line Options177723
Node: -a FSinfo Option179357
Node: -b FSinfo Option179736
Node: -d FSinfo Option180428
Node: -e FSinfo Option181035
Node: -f FSinfo Option181811
Node: -h FSinfo Option182411
Node: -m FSinfo Option182789
Node: -q FSinfo Option183359
Node: -v FSinfo Option183625
Node: -D-FSinfo Option184032
Node: -I FSinfo Option184322
Node: -U FSinfo Option184619
Node: FSinfo errors184833
Node: Hlfsd191425
Node: Introduction to Hlfsd193135
Node: Background to Mail Delivery198064
Node: Single-Host Mail Spool Directory198559
Node: Centralized Mail Spool Directory199640
Node: Distributed Mail Spool Service202906
Node: Why Deliver Into the Home Directory?206184
Node: Using Hlfsd208723
Node: Controlling Hlfsd208905
Node: Hlfsd Options210448
Node: Hlfsd Files215479
Node: Assorted Tools216139
Node: am-eject216612
Node: amd.conf-sample216856
Node: amd2ldif217060
Node: amd2sun217311
Node: ctl-amd217541
Node: ctl-hlfsd218020
Node: expn218540
Node: fix-amd-map219115
Node: fixmount219612
Node: fixrmtab220022
Node: lostaltmail220305
Node: lostaltmail.conf-sample221058
Node: mk-amd-map221467
Node: pawd221753
Node: wait4amd222466
Node: wait4amd2die223560
Node: wire-test224111
Node: Examples225191
Node: User Filesystems225493
Node: Home Directories228653
Node: Architecture Sharing231650
Node: Wildcard Names233240
Node: rwho servers234539
Node: /vol235277
Node: /defaults with selectors237860
Node: /tftpboot in a chroot-ed environment238706
Node: Internals242983
Node: Log Messages243319
Node: Fatal errors244031
Node: Info messages247528
Node: Acknowledgments & Trademarks250148
Node: Index251629

End Tag Table

View File

@ -1,4 +1,4 @@
$NetBSD: am-utils.info-1,v 1.1.1.4 1998/08/08 22:05:40 christos Exp $
$NetBSD: am-utils.info-1,v 1.1.1.5 1999/02/01 18:47:01 christos Exp $
This is Info file am-utils.info, produced by Makeinfo version 1.68 from
the input file am-utils.texi.
@ -109,7 +109,7 @@ network version 2 distribution
Revision 6.0 was made independently by Erez Zadok
<ezk@cs.columbia.edu> at the Computer Science Department (http://www.cs.columbia.edu/) of Columbia University (http://www.columbia.edu/),
as part of his
PhD thesis work (http://www.cs.columbia.edu/~ezk/research/tp/thesis_proposal.html). *Note History:: for more details.
PhD thesis work (http://www.cs.columbia.edu/~ezk/research/tp/thesis_proposal.html). *Note History::, for more details.
Bug Reports
===========
@ -535,57 +535,76 @@ am-utils, not all systems listed here have been verified working for all
features.
Auto-Configured System Name Config Compile Amd NFS3 Shlib Hlfsd
alpha-dec-osf2.1 yes yes yes
alpha-dec-osf4.0 yes yes yes yes
alphaev5-unknown-linux-gnu yes yes yes n/a yes
hppa1.0-hp-hpux11.00 yes yes yes no
hppa1.1-hp-hpux10.10 yes yes yes n/a no
hppa1.1-hp-hpux10.20 yes yes yes n/a no
hppa1.1-hp-hpux9.01 yes yes yes n/a
hppa1.1-hp-hpux9.05 yes yes yes n/a
hppa1.1-hp-hpux9.07 yes yes yes n/a
i386-pc-bsdi2.1 yes yes yes n/a
i386-pc-bsdi3.0 yes yes yes n/a
i386-pc-bsdi3.1 yes yes yes n/a
alpha-dec-osf2.1 yes yes yes ? no ?
alpha-dec-osf4.0 yes yes yes yes yes ?
alphaev5-unknown-linux-gnu yes yes yes n/a yes ?
hppa1.0-hp-hpux11.00 yes yes yes no yes ?
hppa1.1-hp-hpux10.10 yes yes yes n/a no ?
hppa1.1-hp-hpux10.20 yes yes yes n/a no ?
hppa1.1-hp-hpux9.01 yes yes yes n/a yes ?
hppa1.1-hp-hpux9.05 yes yes yes n/a yes ?
hppa1.1-hp-hpux9.07 yes yes yes n/a yes ?
hppa2.0w-hp-hpux11.00 yes yes yes n/a yes ?
i386-pc-bsdi2.1 yes yes yes n/a no ?
i386-pc-bsdi3.0 yes yes yes yes no ?
i386-pc-bsdi3.1 yes yes yes yes no ?
i386-pc-bsdi4.0 yes yes yes yes yes ?
i386-pc-solaris2.5.1 yes yes yes yes yes yes
i386-pc-solaris2.6 yes yes yes yes yes yes
i386-unknown-freebsd2.1.0 yes yes yes n/a
i386-unknown-freebsd2.2.1 yes yes yes n/a yes
i386-unknown-freebsd3.0 yes yes yes yes yes
i386-unknown-netbsd1.2.1 yes yes yes yes yes
i386-unknown-netbsd1.3 yes yes yes yes yes
i386-unknown-netbsd1.3.1 yes yes yes yes yes
i386-unknown-openbsd2.1 yes yes yes yes yes
i486-ncr-sysv4.3.03 yes yes yes
i486-pc-linux-gnulibc1 yes yes yes n/a yes
i586-pc-linux-gnulinc1 yes yes yes n/a yes
i686-pc-linux-gnu yes yes yes n/a yes
m68k-hp-hpux9.00 yes yes yes n/a
m68k-sun-sunos4.1.1 yes yes yes n/a
m68k-next-nextstep3 yes yes yes n/a
mips-dec-ultrix4.3 yes yes yes n/a
mips-sgi-irix5.2
mips-sgi-irix5.3 yes yes yes yes
mips-sgi-irix6.2 yes yes yes yes
mips-sgi-irix6.4 yes yes yes yes yes
powerpc-ibm-aix4.1.5.0 yes yes yes n/a
powerpc-ibm-aix4.2.1.0 yes yes yes yes
rs6000-ibm-aix3.2 yes yes yes n/a
rs6000-ibm-aix3.2.5 yes yes yes n/a
rs6000-ibm-aix4.1.4.0 yes yes yes n/a
rs6000-ibm-aix4.1.5.0 yes yes yes n/a
sparc-sun-solaris2.3 yes yes yes n/a
sparc-sun-solaris2.4 yes yes yes n/a yes
sparc-sun-solaris2.5 yes yes yes yes yes
i386-pc-solaris2.7 yes yes yes yes yes yes
i386-unknown-freebsd2.1.0 yes yes yes n/a ? ?
i386-unknown-freebsd2.2.1 yes yes yes n/a yes ?
i386-unknown-freebsd2.2.6 yes yes yes n/a yes ?
i386-unknown-freebsd2.2.7 yes yes yes n/a yes ?
i386-unknown-freebsd2.2.8 yes yes yes n/a yes ?
i386-unknown-freebsd3.0 yes yes yes yes yes ?
i386-unknown-netbsd1.2.1 yes yes yes yes yes ?
i386-unknown-netbsd1.3 yes yes yes yes yes ?
i386-unknown-netbsd1.3.1 yes yes yes yes yes ?
i386-unknown-netbsd1.3.2 yes yes yes yes yes ?
i386-unknown-netbsd1.3.3 yes yes yes yes yes ?
i386-unknown-openbsd2.1 yes yes yes yes yes ?
i386-unknown-openbsd2.2 yes yes yes yes yes ?
i386-unknown-openbsd2.3 yes yes yes yes yes ?
i386-unknown-openbsd2.4 yes yes yes yes yes ?
i486-ncr-sysv4.3.03 yes yes ? yes yes ?
i486-pc-linux-gnulibc1 yes yes yes n/a yes ?
i486-pc-linux-gnuoldld yes yes yes n/a yes ?
i586-pc-linux-gnu yes yes yes n/a yes ?
i586-pc-linux-gnulibc1 yes yes yes n/a yes ?
i686-pc-linux-gnu yes yes yes n/a yes ?
i686-pc-linux-gnulibc1 yes yes yes n/a yes ?
m68k-hp-hpux9.00 yes yes yes n/a ? ?
m68k-sun-sunos4.1.1 yes yes yes n/a no ?
m68k-next-nextstep3 yes yes yes n/a no ?
mips-dec-ultrix4.3 yes yes yes n/a ? ?
mips-sgi-irix5.2 ? ? ? ? ? ?
mips-sgi-irix5.3 yes yes yes yes yes ?
mips-sgi-irix6.2 yes yes yes yes yes ?
mips-sgi-irix6.4 yes yes yes yes yes ?
mips-sgi-irix6.5 yes yes ? yes yes ?
powerpc-ibm-aix4.1.5.0 yes yes yes n/a no/broken?
powerpc-ibm-aix4.2.1.0 yes yes yes yes no/broken?
powerpc-ibm-aix4.3.1.0 yes yes ? yes ? ?
rs6000-ibm-aix3.2 yes yes yes n/a ? ?
rs6000-ibm-aix3.2.5 yes yes yes n/a ? ?
rs6000-ibm-aix4.1.4.0 yes yes yes n/a no/broken?
rs6000-ibm-aix4.1.5.0 yes yes yes n/a no/broken?
sparc-sun-solaris2.3 yes yes yes n/a yes ?
sparc-sun-solaris2.4 yes yes yes n/a yes ?
sparc-sun-solaris2.5 yes yes yes yes yes ?
sparc-sun-solaris2.5.1 yes yes yes yes yes yes
sparc-sun-solaris2.6 yes yes yes yes yes yes
sparc-sun-sunos4.1.1 yes yes yes n/a yes
sparc-sun-sunos4.1.3 yes yes yes n/a yes
sparc-sun-sunos4.1.3C yes yes yes n/a yes
sparc-sun-sunos4.1.3_U1 yes yes yes n/a yes
sparc-sun-sunos4.1.4 yes yes yes n/a yes
sparc-unknown-linux-gnulibc1 yes yes yes n/a yes
sparc-unknown-netbsd1.2E yes yes yes
sparc-sun-solaris2.7 yes yes yes yes yes yes
sparc-sun-sunos4.1.1 yes yes yes n/a yes ?
sparc-sun-sunos4.1.3 yes yes yes n/a yes ?
sparc-sun-sunos4.1.3C yes yes yes n/a yes ?
sparc-sun-sunos4.1.3_U1 yes yes yes n/a yes ?
sparc-sun-sunos4.1.4 yes yes yes n/a yes ?
sparc-unknown-linux-gnulibc1 yes yes yes n/a yes ?
sparc-unknown-netbsd1.2E yes yes yes ? ? ?
sparc-unknown-netbsd1.2G yes yes yes ? ? ?
sparc64-unknown-linux-gnu yes yes yes n/a yes ?
See the `INSTALL' in the distribution for more specific details on
building and/or configuring for some systems.
@ -1173,40 +1192,3 @@ domain Selector Variable
The local domain name as specified by the `-d' command line option.
*Note host Selector Variable::.

File: am-utils.info, Node: host Selector Variable, Next: hostd Selector Variable, Prev: domain Selector Variable, Up: Selectors
host Selector Variable
......................
The local hostname as determined by gethostname(2). If no domain
name was specified on the command line and the hostname contains a
period `.' then the string before the period is used as the host name,
and the string after the period is assigned to `${domain}'. For
example, if the hostname is `styx.doc.ic.ac.uk' then `host' would be
`styx' and `domain' would be `doc.ic.ac.uk'. `hostd' would be
`styx.doc.ic.ac.uk'.

File: am-utils.info, Node: hostd Selector Variable, Next: karch Selector Variable, Prev: host Selector Variable, Up: Selectors
hostd Selector Variable
.......................
This resolves to the `${host}' and `${domain}' concatenated with a
`.' inserted between them if required. If `${domain}' is an empty
string then `${host}' and `${hostd}' will be identical.

File: am-utils.info, Node: karch Selector Variable, Next: os Selector Variable, Prev: hostd Selector Variable, Up: Selectors
karch Selector Variable
.......................
This is provided as a hook for the kernel architecture. This is
used on SunOS 4 and SunOS 5, for example, to distinguish between
different `/usr/kvm' volumes. `${karch}' defaults to the "machine"
value gotten from uname(2). If the uname(2) system call is not
available, the value of `${karch}' defaults to that of `${arch}'.
Finally, a different value can be set with the `-k' command line option.

View File

@ -1,4 +1,4 @@
$NetBSD: am-utils.info-2,v 1.1.1.3 1998/08/08 22:05:40 christos Exp $
$NetBSD: am-utils.info-2,v 1.1.1.4 1999/02/01 18:47:02 christos Exp $
This is Info file am-utils.info, produced by Makeinfo version 1.68 from
the input file am-utils.texi.
@ -6,6 +6,43 @@ START-INFO-DIR-ENTRY
* Am-utils: (am-utils). The Amd automounter suite of utilities
END-INFO-DIR-ENTRY

File: am-utils.info, Node: host Selector Variable, Next: hostd Selector Variable, Prev: domain Selector Variable, Up: Selectors
host Selector Variable
......................
The local hostname as determined by gethostname(2). If no domain
name was specified on the command line and the hostname contains a
period `.' then the string before the period is used as the host name,
and the string after the period is assigned to `${domain}'. For
example, if the hostname is `styx.doc.ic.ac.uk' then `host' would be
`styx' and `domain' would be `doc.ic.ac.uk'. `hostd' would be
`styx.doc.ic.ac.uk'.

File: am-utils.info, Node: hostd Selector Variable, Next: karch Selector Variable, Prev: host Selector Variable, Up: Selectors
hostd Selector Variable
.......................
This resolves to the `${host}' and `${domain}' concatenated with a
`.' inserted between them if required. If `${domain}' is an empty
string then `${host}' and `${hostd}' will be identical.

File: am-utils.info, Node: karch Selector Variable, Next: os Selector Variable, Prev: hostd Selector Variable, Up: Selectors
karch Selector Variable
.......................
This is provided as a hook for the kernel architecture. This is
used on SunOS 4 and SunOS 5, for example, to distinguish between
different `/usr/kvm' volumes. `${karch}' defaults to the "machine"
value gotten from uname(2). If the uname(2) system call is not
available, the value of `${karch}' defaults to that of `${arch}'.
Finally, a different value can be set with the `-k' command line option.

File: am-utils.info, Node: os Selector Variable, Next: osver Selector Variable, Prev: karch Selector Variable, Up: Selectors
@ -201,7 +238,7 @@ addopts Option
This option adds additional options to default options normally
specified in the `/defaults' entry or the defaults of the key entry
being processed (*Note opts Option::). Normally when you specify
being processed (*note opts Option::.). Normally when you specify
`opts' in both the `/defaults' and the map entry, the latter overrides
the former completely. But with `addopts' it will append the options
and override any conflicting ones.
@ -781,7 +818,7 @@ File: am-utils.info, Node: -v Option, Next: -w Option, Prev: -t Option, Up:
Print version information on standard error and then exit. The
output is of the form:
Copyright (c) 1997-1998 Erez Zadok
Copyright (c) 1997-1999 Erez Zadok
Copyright (c) 1990 Jan-Simon Pendry
Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Copyright (c) 1990 The Regents of the University of California.
@ -1371,57 +1408,3 @@ and is very similar to the loopback filesystem, "lofs".
XXX: THIS FILESYSTEM IS NOT IMPLEMENTED YET!

File: am-utils.info, Node: Floppy Filesystem, Next: Translucent Filesystem, Prev: Null Filesystem, Up: Filesystem Types
Floppy Filesystem (`pcfs')
==========================
The "pcfs" (`type:=pcfs') filesystem mounts a floppy previously
formatted for the MS-DOS format.
The following option must be specified:
`dev'
the block special device to be mounted.
A pcfs entry might be:
pcfs os==sunos4;type:=pcfs;dev:=/dev/fd0 \
os==sunos5;type:=pcfs;dev:=/dev/diskette

File: am-utils.info, Node: Translucent Filesystem, Next: Shared Memory+Swap Filesystem, Prev: Floppy Filesystem, Up: Filesystem Types
Translucent Filesystem (`tfs')
==============================
The "tfs" (`type:=tfs') filesystem is an older version of the 4.4BSD
"unionfs".
XXX: THIS FILESYSTEM IS NOT IMPLEMENTED YET!

File: am-utils.info, Node: Shared Memory+Swap Filesystem, Next: User ID Mapping Filesystem, Prev: Translucent Filesystem, Up: Filesystem Types
Shared Memory+Swap Filesystem (`tmpfs')
=======================================
The "tmpfs" (`type:=tmpfs') filesystem shares memory between a the
swap device and the rest of the system. It is generally used to
provide a fast access `/tmp' directory, one that uses memory that is
otherwise unused. This filesystem is available in SunOS 4.x and 5.x.
XXX: THIS FILESYSTEM IS NOT IMPLEMENTED YET!

File: am-utils.info, Node: User ID Mapping Filesystem, Next: Program Filesystem, Prev: Shared Memory+Swap Filesystem, Up: Filesystem Types
User ID Mapping Filesystem (`umapfs')
=====================================
The "umapfs" (`type:=umapfs') filesystem maps User IDs of file
ownership, and is available from 4.4BSD.
XXX: THIS FILESYSTEM IS NOT IMPLEMENTED YET!

View File

@ -1,4 +1,4 @@
$NetBSD: am-utils.info-3,v 1.1.1.3 1998/08/08 22:05:40 christos Exp $
$NetBSD: am-utils.info-3,v 1.1.1.4 1999/02/01 18:47:02 christos Exp $
This is Info file am-utils.info, produced by Makeinfo version 1.68 from
the input file am-utils.texi.
@ -6,6 +6,60 @@ START-INFO-DIR-ENTRY
* Am-utils: (am-utils). The Amd automounter suite of utilities
END-INFO-DIR-ENTRY

File: am-utils.info, Node: Floppy Filesystem, Next: Translucent Filesystem, Prev: Null Filesystem, Up: Filesystem Types
Floppy Filesystem (`pcfs')
==========================
The "pcfs" (`type:=pcfs') filesystem mounts a floppy previously
formatted for the MS-DOS format.
The following option must be specified:
`dev'
the block special device to be mounted.
A pcfs entry might be:
pcfs os==sunos4;type:=pcfs;dev:=/dev/fd0 \
os==sunos5;type:=pcfs;dev:=/dev/diskette

File: am-utils.info, Node: Translucent Filesystem, Next: Shared Memory+Swap Filesystem, Prev: Floppy Filesystem, Up: Filesystem Types
Translucent Filesystem (`tfs')
==============================
The "tfs" (`type:=tfs') filesystem is an older version of the 4.4BSD
"unionfs".
XXX: THIS FILESYSTEM IS NOT IMPLEMENTED YET!

File: am-utils.info, Node: Shared Memory+Swap Filesystem, Next: User ID Mapping Filesystem, Prev: Translucent Filesystem, Up: Filesystem Types
Shared Memory+Swap Filesystem (`tmpfs')
=======================================
The "tmpfs" (`type:=tmpfs') filesystem shares memory between a the
swap device and the rest of the system. It is generally used to
provide a fast access `/tmp' directory, one that uses memory that is
otherwise unused. This filesystem is available in SunOS 4.x and 5.x.
XXX: THIS FILESYSTEM IS NOT IMPLEMENTED YET!

File: am-utils.info, Node: User ID Mapping Filesystem, Next: Program Filesystem, Prev: Shared Memory+Swap Filesystem, Up: Filesystem Types
User ID Mapping Filesystem (`umapfs')
=====================================
The "umapfs" (`type:=umapfs') filesystem maps User IDs of file
ownership, and is available from 4.4BSD.
XXX: THIS FILESYSTEM IS NOT IMPLEMENTED YET!

File: am-utils.info, Node: Program Filesystem, Next: Symbolic Link Filesystem, Prev: User ID Mapping Filesystem, Up: Filesystem Types
@ -34,8 +88,8 @@ is required in an argument. There is no way to escape or change the
quote character.
To run the program `rvdmount' with a host name and filesystem as
arguments would be specified by `mount:="/etc/rvdmount rvdmount fserver
${path}"'.
arguments would be specified by
`fs:=${autodir}${path};mount:="/etc/rvdmount rvdmount fserver ${fs}"'.
The first element in the array is taken as the pathname of the
program to execute. The other members of the array form the argument
@ -230,7 +284,7 @@ Direct Automount Filesystem (`direct')
automount filesystem. Instead of appearing to be a directory of mount
points, it appears as a symbolic link to a mounted filesystem. The
mount is done at the time the link is accessed. *Note Automount
Filesystem:: for a list of required options.
Filesystem::, for a list of required options.
Direct automount points are created by specifying the `direct'
filesystem type on the command line:
@ -1314,40 +1368,3 @@ server is used since that is the only place in the cluster where Amd
will be running. To query Amd on another host the `-h' option should
be used.

File: am-utils.info, Node: Amq -m option, Next: Amq -M-option, Prev: Amq -l option, Up: Controlling Amd
Amq `-m' option
---------------
The `-m' option displays similar information about mounted
filesystems, rather than automount points. The output includes the
following information:
* the mount information,
* the mount point,
* the filesystem type,
* the number of references to this filesystem,
* the server hostname,
* the state of the file server,
* any error which has occurred.
For example:
"root" truth:(pid602) root 1 localhost is up
hesiod.home /home toplvl 1 localhost is up
hesiod.vol /vol toplvl 1 localhost is up
hesiod.homes /homes toplvl 1 localhost is up
amy:/home/amy /a/amy/home/amy nfs 5 amy is up
swan:/home/swan /a/swan/home/swan nfs 0 swan is up (Permission denied)
ex:/home/ex /a/ex/home/ex nfs 0 ex is down
When the reference count is zero the filesystem is not mounted but
the mount point and server information is still being maintained by Amd.

View File

@ -1,4 +1,4 @@
$NetBSD: am-utils.info-4,v 1.1.1.3 1998/08/08 22:05:40 christos Exp $
$NetBSD: am-utils.info-4,v 1.1.1.4 1999/02/01 18:47:03 christos Exp $
This is Info file am-utils.info, produced by Makeinfo version 1.68 from
the input file am-utils.texi.
@ -6,6 +6,43 @@ START-INFO-DIR-ENTRY
* Am-utils: (am-utils). The Amd automounter suite of utilities
END-INFO-DIR-ENTRY

File: am-utils.info, Node: Amq -m option, Next: Amq -M-option, Prev: Amq -l option, Up: Controlling Amd
Amq `-m' option
---------------
The `-m' option displays similar information about mounted
filesystems, rather than automount points. The output includes the
following information:
* the mount information,
* the mount point,
* the filesystem type,
* the number of references to this filesystem,
* the server hostname,
* the state of the file server,
* any error which has occurred.
For example:
"root" truth:(pid602) root 1 localhost is up
hesiod.home /home toplvl 1 localhost is up
hesiod.vol /vol toplvl 1 localhost is up
hesiod.homes /homes toplvl 1 localhost is up
amy:/home/amy /a/amy/home/amy nfs 5 amy is up
swan:/home/swan /a/swan/home/swan nfs 0 swan is up (Permission denied)
ex:/home/ex /a/ex/home/ex nfs 0 ex is down
When the reference count is zero the filesystem is not mounted but
the mount point and server information is still being maintained by Amd.

File: am-utils.info, Node: Amq -M-option, Next: Amq -p option, Prev: Amq -m option, Up: Controlling Amd
@ -1350,24 +1387,3 @@ by Hlfsd.
* Distributed Mail Spool Service::
* Why Deliver Into the Home Directory?::

File: am-utils.info, Node: Single-Host Mail Spool Directory, Next: Centralized Mail Spool Directory, Prev: Background to Mail Delivery, Up: Background to Mail Delivery
Single-Host Mail Spool Directory
--------------------------------
The most common method for mail delivery is for mail to be appended
to a mailbox file in a standard spool directory on the designated "mail
home" machine of the user. The greatest advantage of this method is
that it is the default method most vendors provide with their systems,
thus very little (if any) configuration is required on the SA's part.
All they need to set up are mail aliases directing mail to the host on
which the user's mailbox file is assigned. (Otherwise, mail is
delivered locally, and users find mailboxes on many machines.)
As users become more sophisticated, and aided by windowing systems,
they find themselves logging in on multiple hosts at once, performing
several tasks concurrently. They ask to be able to read their mail on
any host on the network, not just the one designated as their "mail
home".

View File

@ -1,4 +1,4 @@
$NetBSD: am-utils.info-5,v 1.1.1.4 1998/08/08 22:05:41 christos Exp $
$NetBSD: am-utils.info-5,v 1.1.1.5 1999/02/01 18:47:04 christos Exp $
This is Info file am-utils.info, produced by Makeinfo version 1.68 from
the input file am-utils.texi.
@ -6,6 +6,27 @@ START-INFO-DIR-ENTRY
* Am-utils: (am-utils). The Amd automounter suite of utilities
END-INFO-DIR-ENTRY

File: am-utils.info, Node: Single-Host Mail Spool Directory, Next: Centralized Mail Spool Directory, Prev: Background to Mail Delivery, Up: Background to Mail Delivery
Single-Host Mail Spool Directory
--------------------------------
The most common method for mail delivery is for mail to be appended
to a mailbox file in a standard spool directory on the designated "mail
home" machine of the user. The greatest advantage of this method is
that it is the default method most vendors provide with their systems,
thus very little (if any) configuration is required on the SA's part.
All they need to set up are mail aliases directing mail to the host on
which the user's mailbox file is assigned. (Otherwise, mail is
delivered locally, and users find mailboxes on many machines.)
As users become more sophisticated, and aided by windowing systems,
they find themselves logging in on multiple hosts at once, performing
several tasks concurrently. They ask to be able to read their mail on
any host on the network, not just the one designated as their "mail
home".

File: am-utils.info, Node: Centralized Mail Spool Directory, Next: Distributed Mail Spool Service, Prev: Single-Host Mail Spool Directory, Up: Background to Mail Delivery
@ -363,8 +384,8 @@ Hlfsd Files
if it is unable to verify the that user's home directory is
accessible.
For discussion on other files used by Hlfsd, see *Note lostaltmail::
and *Note lostaltmail.conf-sample::.
For discussion on other files used by Hlfsd, see *Note
lostaltmail::, and *Note lostaltmail.conf-sample::.

File: am-utils.info, Node: Assorted Tools, Next: Examples, Prev: Hlfsd, Up: Top
@ -451,7 +472,7 @@ ctl-amd restart
Stop the running Amd (if any), safely wait for it to terminate, and
then start a new process -- only if the previous one died cleanly.
*Note Run-time Administration:: for more details.
*Note Run-time Administration::, for more details.

File: am-utils.info, Node: ctl-hlfsd, Next: expn, Prev: ctl-amd, Up: Assorted Tools
@ -473,7 +494,7 @@ ctl-hlfsd restart
terminate, and then start a new process -- only if the previous one
died cleanly.
*Note Hlfsd:: for more details.
*Note Hlfsd::, for more details.

File: am-utils.info, Node: expn, Next: fix-amd-map, Prev: ctl-hlfsd, Up: Assorted Tools
@ -553,7 +574,7 @@ does.
lostaltmail
This script needs a configuration file `lostaltmail.conf' set up
with the right parameters to properly work. *Note Hlfsd:: for more
with the right parameters to properly work. *Note Hlfsd::, for more
details.

@ -1130,7 +1151,7 @@ it corresponds exactly to the message produced by Amd. Words in
indicate that the value of the appropriate variable is output.
Log messages are either sent directly to a file, or logged via the
syslog(3) mechanism. *Note log_file Parameter:: In either case,
syslog(3) mechanism. *Note log_file Parameter::. In either case,
entries in the file are of the form:
date-string hostname amd[pid] message

View File

@ -1,4 +1,4 @@
$NetBSD: am-utils.info-6,v 1.1.1.3 1998/08/08 22:05:41 christos Exp $
$NetBSD: am-utils.info-6,v 1.1.1.4 1999/02/01 18:47:04 christos Exp $
This is Info file am-utils.info, produced by Makeinfo version 1.68 from
the input file am-utils.texi.
@ -145,8 +145,8 @@ Index
* Alternate locations: Mounting a Volume.
* am-eject: am-eject.
* Amd command line options: Amd Command Line Options.
* Amd Configuration File: Amd Configuration File.
* Amd configuration file: -F Option.
* Amd Configuration File: Amd Configuration File.
* Amd configuration file; specifying name: -F Option.
* Amd's PID: Amq -p option.
* Amd's process ID: Amq -p option.
@ -218,8 +218,8 @@ Index
* Creating a pid file: -p Option.
* ctl-amd <1>: Starting Amd.
* ctl-amd: ctl-amd.
* ctl-hlfsd <1>: Controlling Hlfsd.
* ctl-hlfsd: ctl-hlfsd.
* ctl-hlfsd <1>: ctl-hlfsd.
* ctl-hlfsd: Controlling Hlfsd.
* Debug options: -D-Option.
* debug_options Parameter: debug_options Parameter.
* Debugging a new Amd configuration: Amq -P-option.
@ -231,9 +231,9 @@ Index
* delay, mount option: delay Option.
* Delaying mounts from specific locations: delay Option.
* Determining the map type: Map Types.
* dev, mount option <1>: Unix Filesystem.
* dev, mount option <1>: Floppy Filesystem.
* dev, mount option <2>: CD-ROM Filesystem.
* dev, mount option: Floppy Filesystem.
* dev, mount option: Unix Filesystem.
* Direct automount filesystem: Direct Automount Filesystem.
* direct, filesystem type: Direct Automount Filesystem.
* Discovering version information: -v Option.
@ -506,8 +506,8 @@ Index
* Mount option; cache: Automount Filesystem.
* Mount option; cachedir: Caching Filesystem.
* Mount option; delay: delay Option.
* Mount option; dev <1>: Unix Filesystem.
* Mount option; dev <2>: CD-ROM Filesystem.
* Mount option; dev <1>: CD-ROM Filesystem.
* Mount option; dev <2>: Unix Filesystem.
* Mount option; dev: Floppy Filesystem.
* Mount option; fs: fs Option.
* Mount option; mount: Program Filesystem.
@ -644,8 +644,8 @@ Index
* restart_mounts Parameter: restart_mounts Parameter.
* Restarting Amd: Restarting Amd.
* Restarting existing mounts: -r Option.
* rfs, mount option <1>: Loopback Filesystem.
* rfs, mount option: Network Filesystem.
* rfs, mount option <1>: Network Filesystem.
* rfs, mount option: Loopback Filesystem.
* rhost, mount option: Network Filesystem.
* Root filesystem: Root Filesystem.
* root, filesystem type: Root Filesystem.

View File

@ -1,7 +1,7 @@
$NetBSD: am-utils.texi,v 1.1.1.4 1998/08/08 22:05:41 christos Exp $
$NetBSD: am-utils.texi,v 1.1.1.5 1999/02/01 18:47:05 christos Exp $
\input texinfo @c -*-texinfo-*-
@c
@c Copyright (c) 1997-1998 Erez Zadok
@c Copyright (c) 1997-1999 Erez Zadok
@c Copyright (c) 1989 Jan-Simon Pendry
@c Copyright (c) 1989 Imperial College of Science, Technology & Medicine
@c Copyright (c) 1989 The Regents of the University of California.
@ -39,7 +39,7 @@ $NetBSD: am-utils.texi,v 1.1.1.4 1998/08/08 22:05:41 christos Exp $
@c
@c %W% (Berkeley) %G%
@c
@c Id: am-utils.texi,v 6.0 1997/02/09 15:11:50 ezk beta
@c Id: am-utils.texi,v 1.4 1999/01/10 21:54:24 ezk Exp
@c
@setfilename am-utils.info
@ -50,6 +50,9 @@ $NetBSD: am-utils.texi,v 1.1.1.4 1998/08/08 22:05:41 christos Exp $
* Am-utils: (am-utils). The Amd automounter suite of utilities
@end direntry
@settitle
@setchapternewpage odd
@titlepage
@title Am-utils (4.4BSD Automounter Utilities)
@subtitle For version @value{VERSION}, @value{UPDATED}
@ -58,7 +61,7 @@ $NetBSD: am-utils.texi,v 1.1.1.4 1998/08/08 22:05:41 christos Exp $
(Originally by Jan-Simon Pendry and Nick Williams)
@page
Copyright @copyright{} 1997-1998 Erez Zadok
Copyright @copyright{} 1997-1999 Erez Zadok
@*
Copyright @copyright{} 1989 Jan-Simon Pendry
@*
@ -213,7 +216,7 @@ of the BSD network version 2 distribution
Revision 6.0 was made independently by @email{ezk@@cs.columbia.edu,Erez
Zadok} at the @uref{http://www.cs.columbia.edu/,Computer Science
Department} of @uref{http://www.columbia.edu/,Columbia University}, as
part of his @uref{http://www.cs.columbia.edu/~ezk/research/tp/thesis_proposal.html,PhD thesis work}. @xref{History} for more details.
part of his @uref{http://www.cs.columbia.edu/~ezk/research/tp/thesis_proposal.html,PhD thesis work}. @xref{History}, for more details.
@unnumberedsec Bug Reports
@cindex Bug reports
@ -685,6 +688,7 @@ am-utils, not all systems listed here have been verified working for all
features.
@multitable {Auto-Configured System Name} {Config} {Compile} {Amd} {NFS3} {Shlib} {Hlfsd}
@c @multitable @columnfractions .5 .1 .1 .1 .1 .1
@item @b{Auto-Configured System Name}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@ -692,51 +696,59 @@ features.
@item @b{alpha-dec-osf2.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab @tab @tab
@tab yes @tab yes @tab yes @tab ? @tab no @tab ?
@item @b{alpha-dec-osf4.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{alphaev5-unknown-linux-gnu}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{hppa1.0-hp-hpux11.00}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab no @tab @tab
@tab yes @tab yes @tab yes @tab no @tab yes @tab ?
@item @b{hppa1.1-hp-hpux10.10}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab no @tab
@tab yes @tab yes @tab yes @tab n/a @tab no @tab ?
@item @b{hppa1.1-hp-hpux10.20}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab no @tab
@tab yes @tab yes @tab yes @tab n/a @tab no @tab ?
@item @b{hppa1.1-hp-hpux9.01}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{hppa1.1-hp-hpux9.05}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{hppa1.1-hp-hpux9.07}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{hppa2.0w-hp-hpux11.00}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i386-pc-bsdi2.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab no @tab ?
@item @b{i386-pc-bsdi3.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab yes @tab no @tab ?
@item @b{i386-pc-bsdi3.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab yes @tab no @tab ?
@item @b{i386-pc-bsdi4.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-pc-solaris2.5.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@ -746,117 +758,173 @@ features.
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab yes
@item @b{i386-pc-solaris2.7}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab yes
@item @b{i386-unknown-freebsd2.1.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab ? @tab ?
@item @b{i386-unknown-freebsd2.2.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i386-unknown-freebsd2.2.6}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i386-unknown-freebsd2.2.7}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i386-unknown-freebsd2.2.8}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i386-unknown-freebsd3.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-netbsd1.2.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-netbsd1.3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-netbsd1.3.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-netbsd1.3.2}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-netbsd1.3.3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-openbsd2.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-openbsd2.2}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-openbsd2.3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i386-unknown-openbsd2.4}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{i486-ncr-sysv4.3.03}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab @tab yes @tab @tab
@tab yes @tab yes @tab ? @tab yes @tab yes @tab ?
@item @b{i486-pc-linux-gnulibc1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i586-pc-linux-gnulinc1}
@item @b{i486-pc-linux-gnuoldld}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i586-pc-linux-gnu}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i586-pc-linux-gnulibc1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i686-pc-linux-gnu}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{i686-pc-linux-gnulibc1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{m68k-hp-hpux9.00}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab ? @tab ?
@item @b{m68k-sun-sunos4.1.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab no @tab ?
@item @b{m68k-next-nextstep3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab no @tab ?
@item @b{mips-dec-ultrix4.3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab ? @tab ?
@item @b{mips-sgi-irix5.2}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab @tab @tab @tab @tab @tab
@tab ? @tab ? @tab ? @tab ? @tab ? @tab ?
@item @b{mips-sgi-irix5.3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{mips-sgi-irix6.2}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{mips-sgi-irix6.4}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{mips-sgi-irix6.5}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab ? @tab yes @tab yes @tab ?
@item @b{powerpc-ibm-aix4.1.5.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab no/broken @tab ?
@item @b{powerpc-ibm-aix4.2.1.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab @tab
@tab yes @tab yes @tab yes @tab yes @tab no/broken @tab ?
@item @b{powerpc-ibm-aix4.3.1.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab ? @tab yes @tab ? @tab ?
@item @b{rs6000-ibm-aix3.2}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab ? @tab ?
@item @b{rs6000-ibm-aix3.2.5}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab ? @tab ?
@item @b{rs6000-ibm-aix4.1.4.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab no/broken @tab ?
@item @b{rs6000-ibm-aix4.1.5.0}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab no/broken @tab ?
@item @b{sparc-sun-solaris2.3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-sun-solaris2.4}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-sun-solaris2.5}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab
@tab yes @tab yes @tab yes @tab yes @tab yes @tab ?
@item @b{sparc-sun-solaris2.5.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@ -866,33 +934,45 @@ features.
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab yes
@item @b{sparc-sun-solaris2.7}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab yes @tab yes @tab yes
@item @b{sparc-sun-sunos4.1.1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-sun-sunos4.1.3}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-sun-sunos4.1.3C}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-sun-sunos4.1.3_U1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-sun-sunos4.1.4}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-unknown-linux-gnulibc1}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@item @b{sparc-unknown-netbsd1.2E}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab @tab @tab
@tab yes @tab yes @tab yes @tab ? @tab ? @tab ?
@item @b{sparc-unknown-netbsd1.2G}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab ? @tab ? @tab ?
@item @b{sparc64-unknown-linux-gnu}
@c {Config} {Compile} {Amd} {NFS V.3} {Shlib} {Hlfsd}
@tab yes @tab yes @tab yes @tab n/a @tab yes @tab ?
@end multitable
@ -1875,7 +1955,7 @@ The following options apply to more than one filesystem type.
This option adds additional options to default options normally
specified in the @samp{/defaults} entry or the defaults of the key entry
being processed (@xref{opts Option}). Normally when you specify
being processed (@pxref{opts Option}). Normally when you specify
@samp{opts} in both the @samp{/defaults} and the map entry, the latter
overrides the former completely. But with @samp{addopts} it will
append the options and override any conflicting ones.
@ -2589,7 +2669,7 @@ Print version information on standard error and then exit. The output
is of the form:
@example
Copyright (c) 1997-1998 Erez Zadok
Copyright (c) 1997-1999 Erez Zadok
Copyright (c) 1990 Jan-Simon Pendry
Copyright (c) 1990 Imperial College of Science, Technology & Medicine
Copyright (c) 1990 The Regents of the University of California.
@ -3397,8 +3477,9 @@ if that is required in an argument. There is no way to escape or change
the quote character.
To run the program @samp{rvdmount} with a host name and filesystem as
arguments would be specified by @samp{mount:="/etc/rvdmount rvdmount
fserver $@{path@}"}.
arguments would be specified by
@samp{fs:=$@{autodir@}$@{path@};mount:="/etc/rvdmount rvdmount fserver
$@{fs@}"}.
The first element in the array is taken as the pathname of the program
to execute. The other members of the array form the argument vector to
@ -3653,7 +3734,7 @@ dylan/dk5 type:=ufs;dev:=/dev/dsk/5s0
The @dfn{direct} (@samp{type:=direct}) filesystem is almost identical to the automount
filesystem. Instead of appearing to be a directory of mount points, it
appears as a symbolic link to a mounted filesystem. The mount is done
at the time the link is accessed. @xref{Automount Filesystem} for a
at the time the link is accessed. @xref{Automount Filesystem}, for a
list of required options.
Direct automount points are created by specifying the @samp{direct}
@ -6712,7 +6793,7 @@ accessible.
@end table
For discussion on other files used by @i{Hlfsd}, see @ref{lostaltmail} and
For discussion on other files used by @i{Hlfsd}, see @xref{lostaltmail}, and
@ref{lostaltmail.conf-sample}.
@c ################################################################
@ -6804,7 +6885,7 @@ Stop the running @i{Amd} (if any), safely wait for it to terminate, and
then start a new process --- only if the previous one died cleanly.
@end table
@xref{Run-time Administration} for more details.
@xref{Run-time Administration}, for more details.
@c ----------------------------------------------------------------
@node ctl-hlfsd, expn, ctl-amd, Assorted Tools
@ -6826,7 +6907,7 @@ terminate, and then start a new process --- only if the previous one
died cleanly.
@end table
@xref{Hlfsd} for more details.
@xref{Hlfsd}, for more details.
@c ----------------------------------------------------------------
@node expn, fix-amd-map, ctl-hlfsd, Assorted Tools
@ -6917,7 +6998,7 @@ lostaltmail
@end example
This script needs a configuration file @samp{lostaltmail.conf} set up
with the right parameters to properly work. @xref{Hlfsd} for more
with the right parameters to properly work. @xref{Hlfsd}, for more
details.
@c ----------------------------------------------------------------
@ -7544,7 +7625,7 @@ in @dfn{italic} are replaced by an appropriate string. Variables,
output.
Log messages are either sent directly to a file,
or logged via the @b{syslog}(3) mechanism. @xref{log_file Parameter}
or logged via the @b{syslog}(3) mechanism. @xref{log_file Parameter}.
In either case, entries in the file are of the form:
@example
@i{date-string} @i{hostname} @t{amd[}@i{pid}@t{]} @i{message}

View File

@ -1,4 +1,4 @@
$NetBSD: version.texi,v 1.1.1.4 1998/08/08 22:05:42 christos Exp $
@set UPDATED 22 April 1998
@set EDITION 6.0a16
@set VERSION 6.0a16
$NetBSD: version.texi,v 1.1.1.5 1999/02/01 18:47:09 christos Exp $
@set UPDATED 13 January 1999
@set EDITION 6.0.1s3
@set VERSION 6.0.1s3

View File

@ -1,7 +1,7 @@
.\" $NetBSD: fixmount.8,v 1.1.1.4 1998/08/08 22:05:38 christos Exp $
.\" $NetBSD: fixmount.8,v 1.1.1.5 1999/02/01 18:46:52 christos Exp $
.\"
.\"
.\" Copyright (c) 1997-1998 Erez Zadok
.\" Copyright (c) 1997-1999 Erez Zadok
.\" Copyright (c) 1990 Jan-Simon Pendry
.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
.\" Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
.\"
.\" %W% (Berkeley) %G%
.\"
.\" Id: fixmount.8,v 5.2.2.1 1992/02/09 15:11:15 jsp beta
.\" Id: fixmount.8,v 1.2 1999/01/10 21:54:26 ezk Exp
.\"
.TH FIXMOUNT 8L "26 Feb 1993"
.SH NAME

View File

@ -1,7 +1,7 @@
.\" $NetBSD: hlfsd.8,v 1.1.1.4 1998/08/08 22:05:34 christos Exp $
.\" $NetBSD: hlfsd.8,v 1.1.1.5 1999/02/01 18:46:33 christos Exp $
.\"
.\"
.\" Copyright (c) 1997-1998 Erez Zadok
.\" Copyright (c) 1997-1999 Erez Zadok
.\" Copyright (c) 1989 Jan-Simon Pendry
.\" Copyright (c) 1989 Imperial College of Science, Technology & Medicine
.\" Copyright (c) 1989 The Regents of the University of California.
@ -38,7 +38,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
.\" Id: hlfsd.8,v 1.2 1993/09/14 22:29:10 ezk Exp ezk
.\" Id: hlfsd.8,v 1.2 1999/01/10 21:54:32 ezk Exp
.\"
.\" HLFSD was written at Columbia University Computer Science Department, by
.\" Erez Zadok <ezk@cs.columbia.edu> and Alexander Dupuy <dupuy@smarts.com>

View File

@ -1,7 +1,7 @@
/* $NetBSD: hlfsd.h,v 1.1.1.4 1998/08/08 22:05:34 christos Exp $ */
/* $NetBSD: hlfsd.h,v 1.1.1.5 1999/02/01 18:46:33 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: hlfs.h,v 1.9 1993/09/13 15:11:00 ezk Exp
* Id: hlfsd.h,v 1.2 1999/01/10 21:54:32 ezk Exp
*
* HLFSD was written at Columbia University Computer Science Department, by
* Erez Zadok <ezk@cs.columbia.edu> and Alexander Dupuy <dupuy@cs.columbia.edu>
@ -54,7 +54,7 @@
* MACROS AND CONSTANTS:
*/
#define HLFSD_VERSION "hlfsd 1.1 (March 4, 1997-1998)"
#define HLFSD_VERSION "hlfsd 1.1 (March 4, 1997-1999)"
#define PERS_SPOOLMODE 0755
#define OPEN_SPOOLMODE 01777
#define DOTSTRING "."
@ -112,7 +112,7 @@
(fatal (strcat (strnsave ((str), strlen ((str)) + sizeof (ERRM) - 1), ERRM)))
/*
* TYPDEFS:
* TYPEDEFS:
*/
typedef struct uid2home_t uid2home_t;
typedef struct username2uid_t username2uid_t;

View File

@ -1,7 +1,7 @@
/* $NetBSD: nfs_prot_svc.c,v 1.1.1.4 1998/08/08 22:05:34 christos Exp $ */
/* $NetBSD: nfs_prot_svc.c,v 1.1.1.5 1999/02/01 18:46:32 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: nfs_prot_svc.c,v 5.2.2.1 1992/02/09 15:09:30 jsp beta
* Id: nfs_prot_svc.c,v 1.3 1999/01/13 23:31:19 ezk Exp
*
*/
@ -230,7 +230,7 @@ nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp)
(SVC_IN_ARG_TYPE) &argument)) {
plog(XLOG_ERROR,
"NFS xdr decode failed for %d %d %d",
rqstp->rq_prog, rqstp->rq_vers, rqstp->rq_proc);
(int) rqstp->rq_prog, (int) rqstp->rq_vers, (int) rqstp->rq_proc);
svcerr_decode(transp);
return;
}

View File

@ -1,7 +1,7 @@
/* $NetBSD: stubs.c,v 1.1.1.4 1998/08/08 22:05:34 christos Exp $ */
/* $NetBSD: stubs.c,v 1.1.1.5 1999/02/01 18:46:32 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: stubs.c,v 1.10 1993/09/13 15:11:00 ezk Exp
* Id: stubs.c,v 1.3 1999/01/13 23:31:19 ezk Exp
*
* HLFSD was written at Columbia University Computer Science Department, by
* Erez Zadok <ezk@cs.columbia.edu> and Alexander Dupuy <dupuy@cs.columbia.edu>
@ -134,7 +134,7 @@ nfsproc_getattr_2_svc(am_nfs_fh *argp, struct svc_req *rqstp)
#ifndef MNT2_NFS_OPT_SYMTTL
/*
* This code is needed to defeat Solaris 2.4's (and newer) symlink
* values cache. It forces the last-modifed time of the symlink to be
* values cache. It forces the last-modified time of the symlink to be
* current. It is not needed if the O/S has an nfs flag to turn off the
* symlink-cache at mount time (such as Irix 5.x and 6.x). -Erez.
*/
@ -160,7 +160,8 @@ nfsproc_getattr_2_svc(am_nfs_fh *argp, struct svc_req *rqstp)
un_fattr.na_fileid = uid;
res.ns_u.ns_attr_u = un_fattr;
#ifdef DEBUG
dlog("nfs_getattr: succesful search for uid=%d, gid=%d", uid, gid);
dlog("nfs_getattr: successful search for uid=%ld, gid=%ld",
(long) uid, (long) gid);
#endif /* DEBUG */
} else { /* not found */
res.ns_status = NFSERR_STALE;
@ -235,7 +236,7 @@ nfsproc_lookup_2_svc(nfsdiropargs *argp, struct svc_req *rqstp)
return &res;
}
/* if get's here, gid == hlfs_gid */
/* if gets here, gid == hlfs_gid */
if ((idx = untab_index(argp->da_name)) < 0) {
res.dr_status = NFSERR_NOENT;
return &res;
@ -250,8 +251,8 @@ nfsproc_lookup_2_svc(nfsdiropargs *argp, struct svc_req *rqstp)
res.dr_u.dr_drok_u.drok_fhandle = un_fhandle;
res.dr_status = NFS_OK;
#ifdef DEBUG
dlog("nfs_lookup: succesful lookup for uid=%d, gid=%d: username=%s",
uid, gid, untab[idx].username);
dlog("nfs_lookup: successful lookup for uid=%ld, gid=%ld: username=%s",
(long) uid, (long) gid, untab[idx].username);
#endif /* DEBUG */
return &res;
}
@ -281,7 +282,7 @@ getcreds(struct svc_req *rp, uid_t *u, gid_t *g)
case AUTH_DES:
adp = (struct authdes_cred *) rp->rq_clntcred;
*g = INVALIDID; /* some unknown group id */
if (sscanf(adp->adc_fullname.name, "unix.%lu@", u) == 1)
if (sscanf(adp->adc_fullname.name, "unix.%lu@", (u_long *) u) == 1)
break;
/* fall through */
#endif /* HAVE_RPC_AUTH_DES_H */
@ -346,8 +347,8 @@ nfsproc_readlink_2_svc(am_nfs_fh *argp, struct svc_req *rqstp)
/* print info, but try to avoid repetitions */
if (userid != last_uid) {
plog(XLOG_USER, "mailbox for uid=%d, gid=%d is %s",
userid, groupid, (char *) res.rlr_u.rlr_data_u);
plog(XLOG_USER, "mailbox for uid=%ld, gid=%ld is %s",
(long) userid, (long) groupid, (char *) res.rlr_u.rlr_data_u);
last_uid = userid;
}

View File

@ -1,7 +1,7 @@
/* $NetBSD: am_xdr_func.h,v 1.1.1.3 1998/08/08 22:05:26 christos Exp $ */
/* $NetBSD: am_xdr_func.h,v 1.1.1.4 1999/02/01 18:45:53 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: am_xdr_func.c,v 5.2.2.1 1992/02/09 15:08:40 ezk beta
* Id: am_xdr_func.h,v 1.2 1999/01/10 21:54:35 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: amu.h,v 1.1.1.3 1998/08/08 22:05:24 christos Exp $ */
/* $NetBSD: amu.h,v 1.1.1.4 1999/02/01 18:45:48 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: amu.h,v 1.1 1996/01/13 23:23:39 ezk Exp ezk
* Id: amu.h,v 1.2 1999/01/10 21:54:36 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: hasmntopt.c,v 1.1.1.3 1998/08/08 22:05:23 christos Exp $ */
/* $NetBSD: hasmntopt.c,v 1.1.1.4 1999/02/01 18:45:42 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@ n * modification, are permitted provided that the following conditions
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@ n * modification, are permitted provided that the following conditions
*
* %W% (Berkeley) %G%
*
* Id: hasmntopt.c,v 5.2.2.2 1992/05/31 16:35:45 jsp Exp
* Id: hasmntopt.c,v 1.2 1999/01/10 21:54:37 ezk Exp
*
*/
@ -86,7 +86,7 @@ nextmntopt(char **p)
cp++;
/*
* If separator found the overwrite with nul char.
* If separator found the overwrite with null char.
*/
if (*cp) {
*cp = '\0';

View File

@ -1,7 +1,7 @@
/* $NetBSD: misc_rpc.c,v 1.1.1.3 1998/08/08 22:05:23 christos Exp $ */
/* $NetBSD: misc_rpc.c,v 1.1.1.4 1999/02/01 18:45:43 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: misc_rpc.c,v 5.2.2.1 1992/02/09 15:08:40 jsp beta
* Id: misc_rpc.c,v 1.2 1999/01/10 21:54:37 ezk Exp
*
*/
@ -67,7 +67,7 @@ void
rpc_msg_init(struct rpc_msg *mp, u_long prog, u_long vers, u_long proc)
{
/*
* Initialise the message
* Initialize the message
*/
memset((voidp) mp, 0, sizeof(*mp));
mp->rm_xid = 0;

View File

@ -1,7 +1,7 @@
/* $NetBSD: mount_fs.c,v 1.1.1.5 1998/08/08 22:05:23 christos Exp $ */
/* $NetBSD: mount_fs.c,v 1.1.1.6 1999/02/01 18:45:43 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: mount_fs.c,v 5.2.2.2 1992/05/31 16:35:45 jsp Exp
* Id: mount_fs.c,v 1.3 1999/01/13 23:31:21 ezk Exp
*
*/
@ -111,6 +111,7 @@ struct opt_tab mnt_flags[] =
};
/* compute generic mount flags */
int
compute_mount_flags(mntent_t *mntp)
{
@ -148,6 +149,20 @@ compute_mount_flags(mntent_t *mntp)
}
/* compute generic mount flags for automounter mounts */
int
compute_automounter_mount_flags(mntent_t *mntp)
{
int flags = 0;
#ifdef MNT2_GEN_OPT_IGNORE
flags |= MNT2_GEN_OPT_IGNORE;
#endif /* not MNT2_GEN_OPT_IGNORE */
return flags;
}
int
mount_fs(mntent_t *mnt, int flags, caddr_t mnt_data, int retry, MTYPE_TYPE type, u_long nfs_version, const char *nfs_proto, const char *mnttabname)
{
@ -317,7 +332,7 @@ again:
/*
* Fill in the many possible fields and flags of struct nfs_args.
*
* nap: pre-allocted structure to fill in.
* nap: pre-allocated structure to fill in.
* mntp: mount entry structure (includes options)
* genflags: generic mount flags already determined
* nfsncp: (TLI only) netconfig entry for this NFS mount
@ -814,7 +829,7 @@ print_nfs_args(const nfs_args_t *nap, u_long nfs_version)
nbp = nap->syncaddr;
plog(XLOG_DEBUG, "NA->syncaddr {netbuf} 0x%x", (int) nbp);
kncp = nap->knconf;
plog(XLOG_DEBUG, "NA->knconf->semantics %lu", kncp->knc_semantics);
plog(XLOG_DEBUG, "NA->knconf->semantics %lu", (unsigned long) kncp->knc_semantics);
plog(XLOG_DEBUG, "NA->knconf->protofmly \"%s\"", kncp->knc_protofmly);
plog(XLOG_DEBUG, "NA->knconf->proto \"%s\"", kncp->knc_proto);
plog(XLOG_DEBUG, "NA->knconf->rdev %lu", kncp->knc_rdev);
@ -822,7 +837,7 @@ print_nfs_args(const nfs_args_t *nap, u_long nfs_version)
#else /* not HAVE_TRANSPORT_TYPE_TLI */
sap = (struct sockaddr_in *) &nap->addr;
plog(XLOG_DEBUG, "NA->addr {sockaddr_in} (len=%d) = \"%s\"",
sizeof(struct sockaddr_in),
(int) sizeof(struct sockaddr_in),
get_hex_string(sizeof(struct sockaddr_in), (const char *)sap));
#ifdef HAVE_FIELD_STRUCT_SOCKADDR_SA_LEN_off
plog(XLOG_DEBUG, "NA->addr.sin_len = \"%d\"", sap->sin_len);

View File

@ -1,7 +1,7 @@
/* $NetBSD: mtab.c,v 1.1.1.4 1998/08/08 22:05:23 christos Exp $ */
/* $NetBSD: mtab.c,v 1.1.1.5 1999/02/01 18:45:44 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: mtab.c,v 5.2.2.1 1992/02/09 15:08:45 jsp beta
* Id: mtab.c,v 1.2 1999/01/10 21:54:37 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: mtabutil.c,v 1.1.1.4 1998/08/08 22:05:25 christos Exp $ */
/* $NetBSD: mtabutil.c,v 1.1.1.5 1999/02/01 18:45:49 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: mtab_bsd.c,v 5.2.2.2 1992/11/12 23:29:14 jsp Exp
* Id: mtab_bsd.c,v 1.2 1999/01/10 21:54:11 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: nfs_prot_xdr.c,v 1.1.1.3 1998/08/08 22:05:24 christos Exp $ */
/* $NetBSD: nfs_prot_xdr.c,v 1.1.1.4 1999/02/01 18:45:45 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1989 Jan-Simon Pendry
* Copyright (c) 1989 Imperial College of Science, Technology & Medicine
* Copyright (c) 1989 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: nfs_prot_xdr.c,v 5.2.2.1 1992/02/09 15:09:32 jsp beta
* Id: nfs_prot_xdr.c,v 1.2 1999/01/10 21:54:38 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: tranputil.c,v 1.1.1.5 1998/08/08 22:05:25 christos Exp $ */
/* $NetBSD: tranputil.c,v 1.1.1.6 1999/02/01 18:45:49 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: transp_sockets.c,v 5.2.2.2 1992/07/18 18:57:03 jsp Exp jsp
* Id: transp_sockets.c,v 1.4 1999/01/13 23:31:14 ezk Exp
*
* Socket specific utilities.
* -Erez Zadok <ezk@cs.columbia.edu>
@ -208,12 +208,10 @@ create_nfs_service(int *soNFSp, u_short *nfs_portp, SVCXPRT **nfs_xprtp, void (*
plog(XLOG_FATAL, "Can't create privileged nfs port");
return 1;
}
if ((*nfs_xprtp = svcudp_create(*soNFSp)) == NULL) {
plog(XLOG_FATAL, "cannot create rpc/udp service");
return 2;
}
if (!svc_register(*nfs_xprtp, NFS_PROGRAM, NFS_VERSION, dispatch_fxn, 0)) {
plog(XLOG_FATAL, "unable to register (NFS_PROGRAM, NFS_VERSION, 0)");
return 3;
@ -344,10 +342,10 @@ try_again:
if (clnt == NULL) {
#ifdef HAVE_CLNT_SPCREATEERROR
plog(XLOG_INFO, "get_nfs_version NFS(%d,%s) failed for %s :%s",
nfs_version, proto, host, clnt_spcreateerror(""));
(int) nfs_version, proto, host, clnt_spcreateerror(""));
#else /* not HAVE_CLNT_SPCREATEERROR */
plog(XLOG_INFO, "get_nfs_version NFS(%d,%s) failed for %s",
nfs_version, proto, host);
(int) nfs_version, proto, host);
#endif /* not HAVE_CLNT_SPCREATEERROR */
return 0;
}
@ -375,12 +373,12 @@ try_again:
#endif /* HAVE_FS_NFS3 */
}
plog(XLOG_INFO, "get_nfs_version NFS(%d,%s) failed for %s",
nfs_version, proto, host);
(int) nfs_version, proto, host);
return 0;
}
plog(XLOG_INFO, "get_nfs_version: returning (%d,%s) on host %s",
nfs_version, proto, host);
(int) nfs_version, proto, host);
return nfs_version;
}

View File

@ -1,7 +1,7 @@
/* $NetBSD: umount_fs.c,v 1.1.1.4 1998/08/08 22:05:24 christos Exp $ */
/* $NetBSD: umount_fs.c,v 1.1.1.5 1999/02/01 18:45:48 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: umount_bsd44.c,v 5.2.2.2 1993/01/27 07:32:45 jsp Exp
* Id: umount_bsd44.c,v 1.2 1999/01/10 21:54:22 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
/* $NetBSD: util.c,v 1.1.1.3 1998/08/08 22:05:24 christos Exp $ */
/* $NetBSD: util.c,v 1.1.1.4 1999/02/01 18:45:45 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,12 +40,12 @@
*
* %W% (Berkeley) %G%
*
* Id: util.c,v 5.2.2.2 1992/03/07 17:52:06 jsp Exp
* Id: util.c,v 1.2 1999/01/10 21:54:39 ezk Exp
*
*/
/*
* General Utilitiles.
* General Utilities.
*/
#ifdef HAVE_CONFIG_H

View File

@ -1,7 +1,7 @@
/* $NetBSD: wire.c,v 1.1.1.3 1998/08/08 22:05:24 christos Exp $ */
/* $NetBSD: wire.c,v 1.1.1.4 1999/02/01 18:45:46 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,14 +40,14 @@
*
* %W% (Berkeley) %G%
*
* Id: wire.c,v 5.2.2.2 1992/06/07 18:06:46 jsp Exp jsp
* Id: wire.c,v 1.2 1999/01/10 21:54:39 ezk Exp
*
*/
/*
* This function returns the subnet (address&netmask) for the primary network
* interface. If the resulting address has an entry in the hosts file, the
* corresponding name is retuned, otherwise the address is returned in
* corresponding name is returned, otherwise the address is returned in
* standard internet format.
* As a side-effect, a list of local IP/net address is recorded for use
* by the islocalnet() function.

View File

@ -1,7 +1,7 @@
/* $NetBSD: xdr_func.c,v 1.1.1.4 1998/08/08 22:05:24 christos Exp $ */
/* $NetBSD: xdr_func.c,v 1.1.1.5 1999/02/01 18:45:47 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: xdr_func.c,v 5.2.2.1 1992/02/09 15:08:40 jsp beta
* Id: xdr_func.c,v 1.2 1999/01/10 21:54:39 ezk Exp
*
*/

View File

@ -1,7 +1,7 @@
.\" $NetBSD: pawd.1,v 1.1.1.1 1998/08/08 22:05:39 christos Exp $
.\" $NetBSD: pawd.1,v 1.1.1.2 1999/02/01 18:46:57 christos Exp $
.\"
.\"
.\" Copyright (c) 1997-1998 Erez Zadok
.\" Copyright (c) 1997-1999 Erez Zadok
.\" Copyright (c) 1990 Jan-Simon Pendry
.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
.\" Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
.\"
.\" %W% (Berkeley) %G%
.\"
.\" Id: pawd.1,v 5.2.2.1 1992/02/09 15:11:15 jsp beta
.\" Id: pawd.1,v 1.2 1999/01/10 21:53:59 ezk Exp
.\"
.TH PAWD 1 "6 Jan 1998"
.SH NAME

View File

@ -1,7 +1,7 @@
/* $NetBSD: pawd.c,v 1.1.1.1 1998/08/08 22:05:39 christos Exp $ */
/* $NetBSD: pawd.c,v 1.1.1.2 1999/02/01 18:46:57 christos Exp $ */
/*
* Copyright (c) 1997-1998 Erez Zadok
* Copyright (c) 1997-1999 Erez Zadok
* Copyright (c) 1990 Jan-Simon Pendry
* Copyright (c) 1990 Imperial College of Science, Technology & Medicine
* Copyright (c) 1990 The Regents of the University of California.
@ -19,7 +19,7 @@
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* must display the following acknowledgment:
* This product includes software developed by the University of
* California, Berkeley and its contributors.
* 4. Neither the name of the University nor the names of its contributors
@ -40,7 +40,7 @@
*
* %W% (Berkeley) %G%
*
* Id: pawd.c,v 5.2.2.1 1992/02/09 15:09:16 jsp beta
* Id: pawd.c,v 1.3 1999/01/10 21:54:00 ezk Exp
*
*/
@ -61,11 +61,14 @@
#include <amq.h>
/* dummy variables */
#if 0
char *progname;
char hostname[MAXHOSTNAMELEN];
int orig_umask, foreground, debug_flags;
pid_t mypid;
serv_state amd_state;
int foreground, orig_umask;
int debug_flags;
#endif
/* statics */
static char *localhost="localhost";
@ -295,4 +298,3 @@ main(int argc, char *argv[])
}
exit(0);
}

View File

@ -1,7 +1,7 @@
.\" $NetBSD: wire-test.8,v 1.1.1.3 1998/08/08 22:05:39 christos Exp $
.\" $NetBSD: wire-test.8,v 1.1.1.4 1999/02/01 18:46:59 christos Exp $
.\"
.\"
.\" Copyright (c) 1997-1998 Erez Zadok
.\" Copyright (c) 1997-1999 Erez Zadok
.\" Copyright (c) 1990 Jan-Simon Pendry
.\" Copyright (c) 1990 Imperial College of Science, Technology & Medicine
.\" Copyright (c) 1990 The Regents of the University of California.
@ -40,7 +40,7 @@
.\"
.\" %W% (Berkeley) %G%
.\"
.\" Id: fixmount.8,v 5.2.2.1 1992/02/09 15:11:15 jsp beta
.\" Id: wire-test.8,v 1.2 1999/01/10 21:54:44 ezk Exp
.\"
.TH WIRE-TEST 8L "26 Feb 1993"
.SH NAME