Deleted Added
full compact
ChangeLog (42629) ChangeLog (51292)
11999-09-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2
3 *******************************************************************
4 *** Released am-utils-6.0.1 ***
5 *******************************************************************
6
71999-09-08 Erez Zadok <ezk@cs.columbia.edu>
8
9 * aux/macros/mount_headers.m4: bsdi-2.1 needs MAXQUOTAS and struct
10 netexport defined.
11
12 * aux/macros/try_compile_anyfs.m4: bsdi-2.1 needs MAXQUOTAS and
13 struct netexport defined.
14
151999-09-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
16
17 * aux/macros/check_field.m4 (ac_upcase_var_name): include
18 <ifaddrs.h> so we can detect fields within struct ifaddrs.
19
20 * libamu/wire.c (getwire): bsdi-2.1 uses a second arg to
21 getifaddrs() and struct ifaddrs has no ifa_next field.
22
23 * aux/configure.in: check if 'struct ifaddrs' has a field
24 ifa_next.
25
26 * include/amq_defs.h (AMQ_STRLEN): double size of amq string
27 length to 2048 bytes.
28
29 * conf/nfs_prot/nfs_prot_netbsd1_4.h: include several more nfs
30 header files and ufs/ufs/ufsmount.h. Bug reported by <Christos
31 Zoulas> christos@zoulas.com.
32
33 * aux/macros/try_compile_anyfs.m4: include <ufs/ufs/ufsmount.h>.
34 Bug reported by <Christos Zoulas> christos@zoulas.com.
35
36 * aux/macros/mount_headers.m4: include <ufs/ufs/ufsmount.h>
37
381999-09-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
39
40 * libamu/xutil.c (expand_error): use strerror if available instead
41 of sys_errlist. Bug reported by <Christos Zoulas>
42 christos@zoulas.com.
43
44 * hlfsd/hlfsd.c (fatal): use strerror if available instead of
45 sys_errlist.
46
47 * amq/amq.c (show_mi): use strerror if available instead of
48 sys_errlist.
49
50 * aux/macros/check_nfs_prot_headers.m4: make sure netbsd1.4
51 nfs_prot header is used for any future (1.5 etc.) netbsd systems.
52
53 * amq/pawd.c (find_mt): check for type nfsl as well. Fix from
54 "Andrew J. Korty" <ajk@purdue.edu>
55
561999-08-29 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
57
58 * doc/am-utils.texi (Supported Platforms): updates for redhat
59 systems.
60
61 * INSTALL: updates for redhat systems.
62
63 * libamu/wire.c (getwire_lookup): spell "succeeded" correctly
64
651999-08-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
66
67 * scripts/ctl-amd.in: sleep 1 second between killing amd and
68 restarting it, because amq may respond that amd is down, where in
69 fact it is still trying to unmount itself after unmapping itself
70 from the portmapper.
71
72 * aux/config.guess.long: new script to print long version of
73 config.guess output.
74
75 * buildall (host_alias): use long version of config.guess.
76
771999-08-27 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
78
79 * scripts/ctl-{amd,hlfsd}.in: update RH tags for start/stop
80 scripts.
81
821999-08-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
83
84 * released snapshot am-utils-6.0.1s11
85
86 * libamu/xutil.c (expand_error): make sure expanding the string
87 with textual version of errno doesn't overrun the 1024 bytes
88 buffer.
89 (real_plog): null terminate msg, just in case.
90
91 * amq/amq.c (main): don't getopt -M option and don't process it
92 unless ENABLE_AMQ_MOUNT is on.
93
94 * amd/amq_svc.c (amq_program_1): all code that relates to amq -M
95 is conditional on #ifdef ENABLE_AMQ_MOUNT.
96
97 * amd/amq_subr.c: remove amqproc_mount_1_svc() function invoked
98 when amq -M code is disabled. Not taking any chances.
99
1001999-08-23 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
101
102 * released snapshot am-utils-6.0.1s10
103
104Sun Aug 22 16:18:59 1999 Erez Zadok <ezk@subzero.cs.columbia.edu>
105
106 * libamu/wire.c (getwire_lookup): if getnetbyaddr failed (e.g., on
107 128.59.16.0), try to shift the network out of zeros (e.g.,
108 128.59.16) and try again. Irix 6.4 requires short network
109 numbers.
110
1111999-08-22 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
112
113 * libamu/wire.c (getwire_lookup): correctly compute subnet using
114 netmask.
115
116 * libamu/mount_fs.c (compute_automounter_nfs_args): require that
117 Amd's own NFS mounts use reserved ports (if possible). IP packet
118 security fix from Jeffrey C Honig <jch@BSDI.COM>.
119
120 * conf/transp/transp_tli.c (create_autofs_service): use correct
121 autofs_port. IP packet security fix from Jeffrey C Honig
122 <jch@BSDI.COM>.
123
124 * conf/transp/transp_sockets.c (bindnfs_port): remove unnecessary
125 function. IP packet security fix from Jeffrey C Honig
126 <jch@BSDI.COM>.
127 (create_nfs_service): use bind_resv_port() directly. ensure that
128 privileged ports are used. IP packet security fix from Jeffrey C
129 Honig <jch@BSDI.COM>.
130
131 * amd/nfs_prot_svc.c (nfs_program_2): verify that requests come
132 from reserved ports and from a local IP address. IP packet
133 security fix from Jeffrey C Honig <jch@BSDI.COM>.
134
135 * amd/amq_subr.c (ok_security): use IPPORT_RESERVED, instead of
136 hard-coded 1024. IP packet security fix from Jeffrey C Honig
137 <jch@BSDI.COM>.
138 (amqproc_mount_1_svc): provide information on the caller making an
139 amq -M request. IP packet security fix from Jeffrey C Honig
140 <jch@BSDI.COM>.
141
142 * amd/map.c (free_map_if_success): If the program doing an unmount
143 of a program filesystem fails, amd tries to interpret the return
144 code as an errno. Fix from Jeffrey C Honig <jch@BSDI.COM>.
145
146 * amd/info_nis.c (determine_nis_domain): don't always print
147 warning about NIS domain name not being set, even if NIS is not in
148 use.
149
1501999-08-21 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
151
152 * amd/info_ldap.c (get_ldap_timestamp): initialize variable err.
153 (amu_ldap_search): initialize variable err.
154
1551999-08-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
156
157 * libamu/wire.c: written using getifaddrs() for BSD systems,
158 contributed by BSDI, Jeffrey C Honig <jch@BSDI.COM>).
159
1601999-08-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
161
162 * include/am_utils.h (SALLOC): a simple macro to allocate N bytes.
163
164 * aux/configure.in: check for irs.h and ifaddrs.h.
165 Increase libamu.so --version-info to 3:1:1 since we've changed the
166 source code for the library.
167 Check for getifaddrs() function.
168
1691999-08-14 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
170
171 * libamu/mount_fs.c (print_nfs_args): print fields namlen and
172 bsize if they exist.
173
174 * conf/mount/mount_linux.c (mount_linux): set nfs_args_t->namlen
175 and ->bsize fields correctly, if those fields exist. This is a
176 bug in that amd neglected to set these fields, but told the
177 kernel it is mounting the nfs_args_t structure using mount version
178 3 (which requires both bsize and namlen fields).
179
180 * aux/configure.in: test for two new nfs_args_t fields (used on
181 newer linux with mount versions 2 and 3): bsize and namlen.
182
183 * doc/am-utils.texi (netgrpd Selector Function): document new
184 selector function.
185
186 * amd/opts.c (f_netgrpd): new amd map function netgrpd(ARG) to
187 test if the current host (fully-qualified name) is in the ARG host
188 netgroup. The netgrp() function uses the short form of a host
189 name. Patch from Christophe Kalt <Christophe-Kalt@deshaw.com>.
190
191 * doc/am-utils.texi (automount2amd): document new script.
192
193 * scripts/Makefile.am: create, install, and distribute
194 automount2amd perl script and its man page.
195
196 * scripts/automount2amd.8: new man page for automount2amd.
197
198 * scripts/automount2amd.in: new file, contributed a in 1993 by
199 Mike Walker <mike@tab00.larc.nasa.gov>. Fixed to use addopts for
200 any automount map options specified.
201
2021999-08-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
203
204 * released snapshot am-utils-6.0.1s9
205
2061999-08-09 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
207
208 * amd/amfs_auto.c (DOT_DOT_COOKIE): set the NFS cookie of '..' to
209 1.
210 (amfs_auto_readdir): use DOT_DOT_COOKIE instead of (u_int)~0.
211 (amfs_auto_readdir_browsable): use DOT_DOT_COOKIE instead of
212 (u_int)~0.
213
214 * amd/mapc.c (make_entry_chain): NFS cookies should be
215 monotonically increasing, because Linux 2.3 expects that, even
216 though it is not in the spec (RFC-1094) for NFS V2.
217
2181999-08-06 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
219
220 * aux/macros/check_lib_funcs.m4: removed unused macro.
221
222 * aux/macros/linux_headers.m4: new macro to ensure that linux
223 kernel headers match running kernel version.
224
225 * aux/acconfig.h: define HOST_HEADER_VERSION so we can check if
226 amd is configured on linux hosts that run one kernel but have
227 headers for a different version.
228
229 * amd/info_nis.c (nis_isup, nis_search, nis_init): fixes for the
230 logic which uses nis_isup and has_yp_order. Make sure it is used
231 correctly , esp. for NIS+ in NIS-compatibility mode. Bug fix from
232 Peter Breitenlohner <peb@mppmu.mpg.de>.
233
234 * include/am_defs.h: fix conflicts on linux 2.2 systems with older
235 libc5. Bug fix from Peter Breitenlohner <peb@mppmu.mpg.de>.
236
237 * scripts/lostaltmail.in: use sockaddr_in(), not pack() to
238 correctly fill in a struct sockaddr_in. On Solaris x86 hosts,
239 using pack() results in byte-misaligned values.
240
2411999-08-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
242
243 * conf/mtab/mtab_aix.c (mnt_dup): add support for nfs3
244 mounting, as per Dale Talcott <aeh@quest.cc.purdue.edu>. Also use
245 better macros for case statement.
246
247 * conf/nfs_prot/nfs_prot_sunos5_7.h: don't include ldap structures
248 unless ldap is actually available.
249
250 * use updated config.guess and config.sub. Use newer automake
251 that fixes problems with distributing optional libamu files
252 (clnt_sperrno.c, hasmntopt.c, strcasecmp.c, strdup.c, strstr.c,
253 and ualarm.c)
254
2551999-07-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
256
257 * minor port i386-unknown-openbsd2.5
258
2591999-07-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
260
261 * minor ports to freebsdelf 3.[0-2] and 4.0 completed
262
263 * aux/macros/check_nfs_prot_headers.m4: support freebsdelf
264
265 * aux/macros/check_nfs_socket_connection.m4: support freebsdelf
266
2671999-06-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
268
269 * released snapshot am-utils-6.0.1s8
270
2711999-06-23 Erez Zadok <ezk@beetle.mcl.cs.columbia.edu>
272
273 * include/am_defs.h: avoid various header conflicts on
274 RedHat/Linux 6.0 and kernels 2.2.10 or newer.
275
276 * aux/configure.in: look for <db1/ndbm.h> (RedHat/Linux 6.0 and
277 kernel 2.2.10)
278
279 * amd/amfs_program.c (amfs_program_exec): make sure logfp is
280 initialized dynamically to stderr if needed.
281
282 * libamu/xutil.c (dplog): make sure logfp is initialized
283 dynamically to stderr if needed.
284 (plog): ditto.
285
286 * amd/amfs_program.c (amfs_program_exec): set logfp to stderr if
287 not initialized.
288
289 * libamu/xutil.c: don't initialize logfp statically to stderr,
290 because on RedHat/Linux 6.0 (kernel 2.2.10) stderr can no longer
291 be manipulated like a variable.
292
293 * include/am_defs.h: avoid more conflicts between <linux/fs.h> and
294 <sys/mount.h> on 2.2 linux kernels.
295 include <db1/ndbm.h> as needed (RedHat/Linux 6.0)
296
2971999-04-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
298
299 * all Makefile.am: use AMU_NFS_PROT_HEADER (not *_HEADERS)
300
301 * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADER):
302 renamed AC_SUBST name from *_HEADERS to *_HEADER so that automake
303 won't attempt to add it to the header files to distribute.
304
3051999-04-19 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
306
307 * aux/GNUmakefile: invoke aclocal with new --altdir flag.
308
3091999-04-16 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
310
311 * minor new port: i386-unknown-netbsd1.4 (ALPHA)
312
313 * aux/macros/check_field.m4: no need to include <cdfs/cdfsmount.h>
314 and <isofs/cd9660/cd9660_mount.h> because they are also included
315 from MOUNT_HEADERS. Causes multiple inclusion of unprotected
316 headers on netbsd-1.4_ALPHA.
317
3181999-04-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
319
320 * aux/macros/extern_sys_errlist.m4 (pattern): netbsd-1.4_ALPHA's
321 sys_errlist extern doesn't end with [].
322
323 * aux/macros/check_nfs_prot_headers.m4: netbsd 1.4 support.
324
3251999-04-11 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
326
327 * newer automake wants texinfo.tex to be in aux/ not doc/
328
3291999-03-30 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
330
331 * amd/conf_parse.y: alloca support.
332
333 * fsinfo/fsi_gram.y: alloca support.
334
335 * libamu/Makefile.am (libamu_la_LIBADD): compile alloca.o if
336 needed.
337
338 * aux/configure.in: test for alloca support. Needed because bison
339 generates parsers that use alloca, and hpux9 does have alloca and
340 its /bin/cc doesn't support it builtin (the way gcc does).
341
342 * libamu/alloca.c: new file, needed on hpux9 with /bin/cc. Taken
343 verbatim from bison-1.25.
344
345 * include/am_defs.h: fixed typo #errir -> #error
346
347 * released snapshot am-utils-6.0.1s7
348
349 * README.y2k: more information about am-utils' compatibility, from
350 Paul Balyoz <pbalyoz@sedona.ch.intel.com>.
351
352 * scripts/lostaltmail.in (Splice_in_resent_headers): ensure Y2K
353 compliant format. Patch from Paul Balyoz
354 <pbalyoz@sedona.ch.intel.com>
355
356 * doc/am-utils.texi (Supported Platforms): hpux10.20 could have
357 nfs v.3 support (with some vendor patches), but it is turned off.
358
359 * aux/macros/os_cflags.m4: use ansi compiler options on hpux.
360
361 * conf/nfs_prot/nfs_prot_hpux.h: Turn off NFS V.3 support to avoid
362 confusing am-utils. 10.20 with some patches has incomplete
363 support. Patch from Jon Peatfield
364 <J.S.Peatfield@damtp.cam.ac.uk>.
365
3661999-03-24 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
367
368 * minor port i386-pc-bsdi4.0.1
369
3701999-03-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
371
372 * doc/am-utils.texi (Supported Platforms): add forgotten listing
373 for powerpc-linux.
374
3751999-03-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
376
377 * scripts/amd.conf.5: fix typo. From Jeffrey C Honig
378 <jch@BSDI.COM>.
379
380 * doc/am-utils.texi: document iso9660 options norrip, gens, and
381 extatt.
382 (opts Option): documented dumbtimr and noauto options. From
383 Jeffrey C Honig <jch@BSDI.COM>.
384
385 * include/am_compat.h: define default strings for options norrip,
386 gens, and extatt.
387
388 * amd/ops_cdfs.c (mount_cdfs): support options norrip, gens, and
389 extatt.
390
391 * aux/macros/mount_headers.m4: also include
392 <isofs/cd9660/cd9660_mount.h> as needed.
393
394 * aux/configure.in: check for isofs mount options for bsdi4:
395 norrip, gens, and extatt. Reported by Jeffrey C Honig
396 <jch@BSDI.COM>.
397
398 * aux/macros/check_mnt2_cdfs_opt.m4: check for ISOFSMNT_* flags
399 (bsdi4).
400
4011999-03-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
402
403 * conf/nfs_prot/nfs_prot_freebsd3.h: ditto.
404
405 * conf/nfs_prot/nfs_prot_bsdi3.h: include <ufs/ufs/ufsmount.h>,
406 for bsdi4, as per Jeffrey C Honig <jch@BSDI.COM>.
407
4081999-03-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
409
410 * get latest copies of config.guess, config.sub, ltconfig, and
411 ltmain.sh from libtool-1.2f.
412
413 * all Makefile.am: don't use continuation lines (using \) for
414 short lists of files.
415
416 * libamu/Makefile.am (DISTCLEANFILES): make distclean should
417 remove mountutil.c, mtabutil.c, transputil.c, and umount_fs.c.
418 Reported by Jeffrey C Honig <jch@BSDI.COM>.
419
420 * fixmount/Makefile.am (DISTCLEANFILES): make distclean should
421 remove checkmount.c. Reported by Jeffrey C Honig <jch@BSDI.COM>.
422
423 * Makefile.am (DISTCLEANFILES): make distclean should remove
424 amu_nfs_prot.h, config.cache.old, and dbgcf.h. Reported by
425 Jeffrey C Honig <jch@BSDI.COM>.
426
4271999-03-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
428
429 * released snapshot am-utils-6.0.1s6
430
4311999-03-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
432
433 * INSTALL: document freebsdelf.
434
435 * doc/am-utils.texi (Supported Platforms): document freebsdelf.
436
4371999-03-08 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
438
439 * minor new ports: i386-unknown-freebsdelf3.1 and
440 i386-unknown-freebsdelf4.0
441
442 * aux/macros/check_nfs_prot_headers.m4: freebsd4 support.
443
444 * aux/macros/check_nfs_socket_connection.m4: freebsd4 support.
445
446 * aux/macros/check_nfs_fh_dref.m4: freebsd4 support.
447
448 * amd/opts.c (eval_opts): changed log level of "executing
449 negated..." message from USER to INFO, as per Guntram Wolski
450 <gwolsk@sei.com>.
451
4521999-02-17 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
453
454 * */Makefile.am (LDADD): force linking against an installed
455 libamu.{a,so}.
456
457 * doc/am-utils.texi (addopts Option): document remopts interaction
458 with addopts.
459
460 * amd/am_ops.c (ops_match): if addopts are specified, apply them
461 to the value of remopts as well as opts.
462
463 * amd/ops_nfs.c (mount_nfs_fh): tell users when remopts are used.
464
4651999-02-05 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
466
467 * released snapshot am-utils-6.0.1s5
468
469 * conf/mount/mount_linux.c (mount_linux): set default nfs_args
470 options for ac{reg,dir}{min,man} as per the mount-2.8a package,
471 but only if noac option was not used.
472
4731999-02-05 Erez Zadok <ezk@retro.cs.columbia.edu>
474
475 * conf/mount/mount_linux.c (mount_linux): print nfs_args again
476 since it was updated.
477 (mount_linux): use 4KB for NFS rsize/wsize on 2.1.0 linux kernels
478 and newer. Bug was found by Neil Conway
479 <nconway.list@ukaea.org.uk>
480
4811999-02-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
482
483 * released snapshot am-utils-6.0.1s4
484
4851999-02-03 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
486
487 * amq/amq.c (main): don't list -M as a valid amq option unless
488 configure'd with --enable-amq-mount.
489
490Wed Feb 3 18:11:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
491
492 * amd/nfs_start.c (amd_use_autofs): Define.
493 (mount_automounter): Create autofs service listener only if
494 necessary to avoid unnecessary clashes with e.g. automountd.
495
496 * amd/amd.h (amd_use_autofs): Declare.
497
498 * amd/conf.c (gopt_mount_type): Set amd_use_autofs.
499 (ropt_mount_type): Likewise.
500
5011999-02-02 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
502
503 * aux/macros/check_mnt2_nfs_opt.m4:: ditto
504
505 * aux/macros/check_mnt2_cdfs_opt.m4: ditto
506
507 * aux/macros/check_mnt2_gen_opt.m4: ditto
508
509 * aux/macros/check_mnttab_opt.m4: new macro in this file to loop
510 over AC_CHECK_MNTTAB_OPT. Reduces size of configure script a lot.
511
512 * conf/nfs_prot/nfs_prot_netbsd1_3.h: include nfs/rpcv2.h,
513 nfs/nfs.h and nfs/nfsmount.h if they exist. Patch from
514 christos@zoulas.com (Christos Zoulas).
515
516 * amd/info_hesiod.c: some forward declarations. Patch from
517 christos@zoulas.com (Christos Zoulas).
518
5191999-01-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
520
521 * libamu/mount_fs.c (compute_nfs_args): don't turn on/off noconn
522 option if it was already in that state. Patch from David
523 Wolfskill <dhw@whistle.com>.
524
5251999-01-20 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
526
527 * aux/configure.in: automake nowadays supports LTLIBOBJS (but not
528 LTALLOCA yet). Substitute value of LIBTOOL_DEPS for libtool
529 rebuild make rules.
530
531 * Makefile.am: new rules to remake libtool (maintainers only)
532
533 * amd/amfs_toplvl.c (mount_amfs_toplvl): print generic mount flags
534 if -D trace was used.
535
5361999-01-18 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
537
538 * buildall: all if statements should have an else clause because
539 of Ultrix's /bin/sh.
540
5411999-01-15 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
542
543 * amq/amq.c: removed dummy variables.
544
545 * amq/pawd.c: removed dummy variable.s
546
547 * fixmount/fixmount.c (usage): removed dummy variables.
548
549 * fsinfo/fsinfo.c: removed dummy variables.
550
551 * hlfsd/hlfsd.c: removed dummy variables.
552
553 * wire-test/wire-test.c: removed dummy variables.
554
555 * mk-amd-map/mk-amd-map.c: removed dummy variables.
556
557 * doc/texinfo.tex: updates from GNU mirror.
558
559 * aux/GNUmakefile (../doc/texinfo.tex): new rule to update
560 doc/texinfo.tex from GNU mirror.
561
562 * released snapshot am-utils-6.0.1s3
563
564 * Makefile.am (install-snapshot): better snapshot and new
565 install-snapshot and test-snapshot rules (maintainer).
566
567 * amd/info_ldap.c (amu_ldap_init): don't run STREQ if one of the
568 args may be NULL.
569 Some dlog() entries were not enclosed in #ifdef DEBUG. Fix from
570 Bill Paul <wpaul@ctr.columbia.edu>
571
5721999-01-13 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
573
574 * check for experimental generic 'ignore' mount flag on freebsd3.
575
576 * Update library -version-info to 3:0:1 (will result in 2.1.0 .so
577 version, which is backwards compatible with older versions.) Only
578 one new interface was added to libamu.
579
580 * amd/amfs_toplvl.c (mount_amfs_toplvl): add generic mount flags
581 that are specific to automounter mounts.
582
583 * aux/configure.in: update libamu.so age and revision since a new
584 interface was added to libamu/mount_fs.c
585 (compute_automounter_mount_flags).
586
587 * libamu/mount_fs.c (compute_automounter_mount_flags): new
588 function to compute generic mount flags that are specific to mount
589 points only.
590
591 * aux/{configure.in,acconfig.h}: add support for generic mount
592 entry ignore option.
593
594 * released snapshot am-utils-6.0.1s2
595
596 * amd/info_ldap.c (get_ldap_timestamp): dlog format fixes.
597
598 * libamu/mount_fs.c (print_nfs_args): solaris 2.7 changed format
599 of knc_semantics from u_long to u_int.
600
601 * aux/macros/check_mount_style.m4: freebsd3 no longer needs a
602 special mount helper.
603
6041999-01-12 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
605
606 * aux/macros/check_nfs_prot_headers.m4 (AMU_NFS_PROT_HEADERS):
607 amu_nfs_conf.h should always be found in $top_builddir.
608
609Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
610
611 * conf/nfs_prot/nfs_prot_sunos5_7.h (MNTTAB_TYPE_AUTOFS): Undefine
612 to avoid wrong reports from show_fstypes.
613
614 * conf/nfs_prot/nfs_prot_irix5.h (MNTTAB_TYPE_XFS): Likewise.
615
616 * conf/nfs_prot/nfs_prot_hpux11.h (MNTTAB_TYPE_NFS3): Likewise.
617
618Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
619
620 * BUGS (mips-dec-ultrix4.3): Update Ultrix caveats.
621
622Tue Jan 12 00:05:42 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
623
624 * hlfsd/homedir.c (delay): Cast child to long, adapt format.
625 (hlfsd_getpwent): Likewise for pw_uid.
626
627 * amd/info_nis.c (nis_init): Cast order to unsigned long, adapt
628 format.
629
630 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): Cast
631 tv_sec to int to match format.
632 (get_nfs_version): Cast nfs_version, NFS_VERSION to int to match
633 formats.
634
635 * amd/amfs_program.c (amfs_program_exec): Cast ptr difference to
636 long, adapt format.
637
638 * include/am_defs.h: Handle __attribute__ if available. From
639 GNU fileutils 4.0 lib/errors.h.
640
641Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
642
643 * libamu/mount_fs.c (print_nfs_args): Cast sizeof() to int to
644 match format.
645
646 * hlfsd/stubs.c (nfsproc_getattr_2_svc): Cast uid, gid to long,
647 adapt format.
648 (nfsproc_lookup_2_svc): Likewise.
649 (nfsproc_readlink_2_svc): Likewise for userid, groupid.
650
651 * hlfsd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
652 format.
653
654 * hlfsd/homedir.c (homedir): Cast uid, child to long, adapt
655 format.
656
657 * amd/info_hesiod.c (hesiod_search): Cast m, pval, tp to unsigned
658 long, adapt format.
659
660 * amd/ops_nfs.c (find_nfs_fhandle_cache): Cast fh_wchan to
661 unsigned long, adapt format.
662 (got_nfs_fh): Likewise.
663 (prime_nfs_fhandle_cache): Cast fh_nfs_version to int to match
664 format.
665 (call_mountd): Likewise, mnt_version also.
666 (mount_nfs_fh): Likewise.
667
668 * amd/ops_autofs.c (autofs_program_1): Cast args to int to match
669 format.
670 (autofs_unmount_1_svc): Cast ur->devid, ur_rdevid, ur->next to
671 unsigned long, adapt formats.
672 (autofs_bgmount): Cast opt_fs to unsigned to, adapt format.
673 (autofs_bgmount): Use long format to match arg.
674 (autofs_lookuppn): Removed superfluous arg.
675
676 * amd/srvr_nfs.c (start_ping): Cast nfs_version to int to match
677 format.
678 (got_portmap): Likewise for port.
679 (recompute_portmap): Likewise for fs->fs_version, mnt_version.
680 (find_nfs_srvr): Likewise for nfs_version.
681
682 * amd/sched.c (sched_task): Cast wchan to unsigned long, adapt
683 format.
684
685 * amd/nfs_start.c (checkup): Cast ptr difference to long, next_mem
686 to unsigned long, adapt format.
687 Cast tvv.tv_sec to int to match format.
688
689 * amd/nfs_prot_svc.c (nfs_program_2): Cast args to int to match
690 format.
691
692 * amd/map.c (root_fh): Cast pid to long, adapt format.
693 (timeout_mp): Cast time_t to long, adapt format.
694
695 * amd/clock.c (reschedule_timeouts): Use long format, cast time_t
696 arg.
697
698 * amd/amfs_host.c (fetch_fhandle): Cast nfs_version to int to
699 match format.
700 (amfs_host_fmount): Likewise.
701 (amfs_host_umounted): Likewise. Removed superfluous arg.
702
703 * amd/amfs_auto.c (amfs_auto_bgmount): Cast pointer to unsigned
704 long, adapt format.
705 (amfs_auto_bgmount): Use long format, cast time_t arg.
706 (amfs_auto_lookuppn): Removed superfluous arg.
707
708 * amd/amd.c (main): Cast geteuid() result to long, adapt format.
709
710 * conf/transp/transp_sockets.c (get_nfs_version): Cast nfs_version
711 to int to match format.
712
713 * include/am_utils.h: Declare plog, dplog as printf-like.
714
715 * conf/mount/mount_irix6.c (mount_irix): Print type as char *.
716
717Mon Jan 11 13:46:44 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
718
719 * amd/info_hesiod.c (hesiod_isup): New function.
720 * amd/mapc.c (maptypes): Add it.
721
7221999-01-10 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
723
724 * released snapshot am-utils-6.0.1s1
725
7261999-01-09 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
727
728 * ALL: bump copyright year to 1999.
729
730Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
731
732 * aux/macros/check_mtype_type.m4: Ultrix uses an int mount type,
733 too.
734
735 * aux/macros/check_mtype_printf_type.m4: Adapt corresponding
736 printf type.
737
738Fri Jan 8 15:24:15 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
739
740 * aux/acconfig.h: Removed HAVE_AM_FS_AUTOFS, unused.
741
742 * conf/nfs_prot/nfs_prot_irix6.h: Likewise.
743
744 * conf/nfs_prot/nfs_prot_sunos5_6.h: Likewise.
745
746 * conf/nfs_prot/nfs_prot_sunos5_7.h: Likewise.
747
748 * Makefile.am (EXTRA_DIST_DIRS): Removed, not needed by current
749 automake.
750
751Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
752
753 * aux/configure.in (AM_PROG_YACC): Replaced by AC_PROG_YACC, not
754 in current automake.
755
756Thu Jan 7 02:55:18 1999 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
757
758 * doc/am-utils.texi: Added some missing inter-punctation after
759 @xref, or use @pxref/@ref as appropriate. Spotted by makeinfo
760 from texinfo 3.12b.
761
7621999-01-07 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
763
764 * doc/texinfo.tex: updated off of latest GNU mirror.
765
7661999-01-04 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
767
768 * doc/am-utils.texi (Supported Platforms): update platforms that
769 support NFS v.3. Nicer postscript printing on double-sided pages.
770
771 * amd/info_hesiod.c: add extern definition for hesiod_init()
772
11999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
2
3 *******************************************************************
4 *** Released am-utils-6.0 ***
5 *******************************************************************
6
71998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
8

--- 296 unchanged lines hidden (view full) ---

305 * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
306 check_mount_type.m4}: redhat 5.1 puts some modules in
307 /lib/modules/preferred/.
308
309Wed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
310
311 * amd/ops_autofs.c (mount_autofs): cast pid to long.
312
7731999-01-01 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
774
775 *******************************************************************
776 *** Released am-utils-6.0 ***
777 *******************************************************************
778
7791998-12-28 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
780

--- 296 unchanged lines hidden (view full) ---

1077 * aux/macros/{check_fs_mntent.m4, check_mnttab_type.m4,
1078 check_mount_type.m4}: redhat 5.1 puts some modules in
1079 /lib/modules/preferred/.
1080
1081Wed May 13 16:33:57 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1082
1083 * amd/ops_autofs.c (mount_autofs): cast pid to long.
1084
1085Tue Apr 28 15:12:36 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1086
1087 * conf/nfs_prot/nfs_prot/nfs_prot_irix6.h,
1088 conf/nfs_prot/nfs_prot_sunos5_6.h: Undef MNTTAB_TYPE_AUTOFS too to
1089 avoid amd/am_ops.c (show_fstypes) from erroneously claiming
1090 support.
1091
1092Fri Apr 24 23:02:11 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1093
1094 * libamu/xutil.c (get_syslog_facility): Don't use LOG_DAEMON
1095 unconditionally, may be missing on Ultrix V4.3.
1096
1097Thu Apr 23 20:24:33 1998 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1098
1099 * conf/nfs_prot/nfs_prot_sunos5_4.h (MNTTYPE_CACHEFS): Define,
1100 missing from <sys/mntent.h>.
1101
1102 * conf/mtab/mtab_ultrix.c: Need separate inclusion of <sys/fs_types.h>
1103 without KERNEL defined here.
1104
1105 * aux/macros/mount_headers.m4: Need to include <ufs/ufs_mount.h>,
1106 <cdfs/cdfs_mount.h>, <cdfs/cdfsmount.h> so autoconfiguration of
1107 ufs_args_t, cdfs_args_t fields and cdfs mount options can succeed.
1108
1109 * amd/ops_ufs.c (mount_ufs): Removed obsolete comment.
1110
1111 * ChangeLog: Fixed confusing linebreaks from ChangeLog imports.
1112 Removed purely local (and obsolete) entry.
1113
313Thu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
314
315 *******************************************************************
316 *** Released am-utils-6.0a16 ***
317 *******************************************************************
318
319Wed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
320

--- 179 unchanged lines hidden (view full) ---

500Wed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE>
501
502 * The following are Rainer's ChangeLog entries for his ultrix
503 port, added manually. -Erez.
504
505 * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
506 (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
507
1114Thu Apr 23 00:22:17 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1115
1116 *******************************************************************
1117 *** Released am-utils-6.0a16 ***
1118 *******************************************************************
1119
1120Wed Apr 22 01:20:39 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1121

--- 179 unchanged lines hidden (view full) ---

1301Wed Feb 7 15:35:51 1998 Rainer Orth <ro@xayide.TechFak.Uni-Bielefeld.DE>
1302
1303 * The following are Rainer's ChangeLog entries for his ultrix
1304 port, added manually. -Erez.
1305
1306 * merged Ultrix port with am-utils 6.0 a16s5: amd/ops_afs.c
1307 (mount_toplvl) -> amd/amfs_toplvl.c (mount_amfs_toplvl)
1308
508 * include/am_defs.h: include cdfs specific mount headers avoid
509 duplication definition of gt_names[] in (Ultrix)
1309 * include/am_defs.h: include cdfs specific mount headers
1310 avoid duplication definition of gt_names[] in <sys/fs_types.h> (Ultrix)
510
511 * include/am_compat.h: define several mount options corresponding
512 to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
513 noversion, rrip (cdfs), nocache, quota, sync (generic) removed
514 duplicate MNTTAB_OPT_RO definition
515
516 * aux/macros/try_compile_anyfs.m4: include Ultrix specific
517 ufs/cdfs mount headers

--- 29 unchanged lines hidden (view full) ---

547
548 * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
549
550 * aux/macros/type_auth_create_gidlist.m4 (ultrix*):
551 AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
552 comment in <rpc/auth.h>
553
554 * include/am_defs.h: #define KERNEL to avoid definition of
1311
1312 * include/am_compat.h: define several mount options corresponding
1313 to mount flags: pgthresh, hard (nfs), defperm, nodefperm,
1314 noversion, rrip (cdfs), nocache, quota, sync (generic) removed
1315 duplicate MNTTAB_OPT_RO definition
1316
1317 * aux/macros/try_compile_anyfs.m4: include Ultrix specific
1318 ufs/cdfs mount headers

--- 29 unchanged lines hidden (view full) ---

1348
1349 * conf/trap/trap_ultrix.h: arg 3 to mount(2) is rwflag
1350
1351 * aux/macros/type_auth_create_gidlist.m4 (ultrix*):
1352 AUTH_CREATE_GIDLIST_TYPE is int (not short == gid_t) from a
1353 comment in <rpc/auth.h>
1354
1355 * include/am_defs.h: #define KERNEL to avoid definition of
555 gt_names[] conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before
556 <config.h> to force single definition here
1356 gt_names[]
1357 conf/mtab/mtab_ultrix.c: #include <sys/fs_types> before <config.h>
1358 to force single definition here
557
558 * libamu/mount_fs.c (compute_nfs_args): Ultrix support for
1359
1360 * libamu/mount_fs.c (compute_nfs_args): Ultrix support for
559 nfs_args.gfs_flags moved to callers store mount options in
560 nap->optstr
1361 nfs_args.gfs_flags moved to callers
1362 store mount options in nap->optstr
561
562 * include/am_defs.h: fix _am_mntent mnt_{type, opts} field
563 descriptions
564
565 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
566 include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
567 definition in prototypes
568
569 * aux/macros/mount_headers.m4: include <sys/errno.h> before
570 AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
571 definitions
572
1363
1364 * include/am_defs.h: fix _am_mntent mnt_{type, opts} field
1365 descriptions
1366
1367 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4:
1368 include <rpc/rpc.h> before AMU_NFS_PROTOCOL_HEADER for svc_req
1369 definition in prototypes
1370
1371 * aux/macros/mount_headers.m4: include <sys/errno.h> before
1372 AMU_NFS_PROTOCOL_HEADER: <nfs/nfs.h> needs it for NFSERR_*
1373 definitions
1374
573 * aux/aclocal: adapt for local perl path and $prefix
574
575 * conf/nfs_prot/nfs_prot_ultrix.h: new file
576
1375 * conf/nfs_prot/nfs_prot_ultrix.h: new file
1376
577 * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
1377 * aux/macros/check_nfs_prot_headers.m4: use nfs_prot_ultrix.h
578
579 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
580 aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
581 inclusion of <rpc/xdr.h>
582
583Sat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
584
585 * aux/configure.in: save state of config.cache and confdefs.h

--- 1929 unchanged lines hidden (view full) ---

2515
2516 * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
2517 if browsable_dirs=yes is set in the map section in amd.conf, that
2518 map will return all entries back to a readdir(2).
2519
2520Sun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
2521
2522 * rudimentary amd.conf file support included. You may even
1378
1379 * aux/macros/mount_headers.m4, aux/macros/try_compile_nfs.m4,
1380 aux/macros/try_compile_rpc.m4, include/am_defs.h: avoid multiple
1381 inclusion of <rpc/xdr.h>
1382
1383Sat Mar 7 13:56:05 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
1384
1385 * aux/configure.in: save state of config.cache and confdefs.h

--- 1929 unchanged lines hidden (view full) ---

3315
3316 * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
3317 if browsable_dirs=yes is set in the map section in amd.conf, that
3318 map will return all entries back to a readdir(2).
3319
3320Sun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3321
3322 * rudimentary amd.conf file support included. You may even
3323 override things like os=sos5, to get "backwards" compatibility with
3324 upl102.
3325
3326Sat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3327
3328 * amd/conf.c: new file to process amd.conf file.
3329
3330 * amd/get_args.c (get_args): new options -H to print help.
3331
3332 * moved enable_default_selectors to be amd.conf controlled, and
3333 not compiler controlled.
3334
3335 * amd/get_args.c (get_args): new options -F <conf-file> to parse an
3336 amd configuration file.
3337
3338Wed Jun 25 23:15:42 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3339
3340 * converted all files that used strcmp() == 0 or != 0 to using
3341 the STREQ() macro.
3342
3343Mon Jun 23 22:31:14 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3344
3345 * aux/macros/check_lib_funcs.m4: new M4 macro that can be used to
3346 search for any number of functions in any given library.
3347
3348Mon Jun 23 01:04:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3349
3350 * amd/mapc.c: Included patch from Leif Johansson
3351 <leifj@matematik.su.se> to ensure that systems without an RE
3352 library can compile.
3353
3354 * libamu/mount_fs.c (mount_fs): Included patch from Andreas
3355 Stolcke <stolcke@speech.sri.com>, to ensure that mount options on
3356 table are properly delimited by a comma.
3357
3358 * amd/ops_nfs.c (mount_nfs_fh): Included patch from Andreas
3359 Stolcke <stolcke@speech.sri.com>, to allow users to override the
3360 proto= and vers= mount options.
3361
3362Sun Jun 22 01:00:11 1997 Eric Dana (edana@ncr2.bgs.com)
3363
3364 * conf/nfs_prot/nfs_prot_svr4.h: port completed to
3365 i486-ncr-sysv4.3.03. Assorted source cleanups done.
3366
3367 * include/am_defs.h, aux/macros/mount_headers.m4: don't include
3368 mnttab.h if sys/mnttab.h was already included, because on ncr2,
3369 they contain conflicting entries for struct mnttab.
3370
3371Sat Jun 21 23:52:15 1997 Eric Dana (edana@ncr2.bgs.com)
3372
3373 * aux/macros/check_nfs_prot_headers.m4: added support for ncr2.
3374
3375Fri Jun 20 06:14:17 1997 Erez Zadok <ezk>
3376
3377 * amd/*.c: lots of 64-bit "ugly" ports like casts to long ints.
3378
3379 * aux/macros/struct_nfs_fh.m4: check for "struct nfssvcfh" because
3380 on DU-4.0 it is better than the next one to be picked (nfsv2fh_t).
3381
3382Wed Jun 18 18:59:49 1997 Erez Zadok <ezk@defiant.soscorp.com>
3383
3384 * aux/macros/struct_nfs_fh.m4 (AC_TRY_COMPILE_NFS): check for
3385 nfsv2fh_t before fhandle_t becasue on bsdi2.1 the former is
3386 better.
3387
3388Tue Jun 10 17:06:58 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3389
3390 * amd/rpc_fwd.c (fwd_packet): TLI bug fix. if fwdto socket is
3391 NULL, set the maxlen and len fields in netbuf to zero.
3392
3393Wed May 28 22:52:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3394
3395 * scripts/fix-amd-map.in (name): replace all matching patterns on
3396 line.
3397
3398Sun May 25 19:33:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3399
3400 *******************************************************************
3401 *** Released am-utils-6.0a5 ***
3402 *******************************************************************
3403
3404Sun May 25 13:37:24 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3405
3406 * amd/amq_subr.c (amqproc_getvers_1_svc): amq's RPC service
3407 procedure now returns the full string that amd -v returns.
3408
3409 * amd/get_args.c (get_version_string): new function to return
3410 complete version/info string so it could be used more flexibly.
3411
3412 * amd/am_ops.c (ops_showamfstypes, ops_showfstypes): put the list
3413 of Fs types into a string buffer, rather than a FILE*.
3414
3415 * amd/mapc.c (mapc_showtypes): put the list of map types into a
3416 string buffer, rather than a FILE*.
3417
3418Sun May 25 01:25:36 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3419
3420 * amd/get_args.c (get_args): amd -v also prints user who built
3421 amd, hostname built on, and date of configuration.
3422
3423Sat May 24 13:40:50 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3424
3425 * scripts/lostaltmail.conf-sample: sample lostaltmail
3426 configuration file.
3427
3428 * scripts/lostaltmail.in: new script lostaltmail used to redeliver
3429 "lost" mail that hlfsd redirected to a temp location because the
3430 primary home file system of the user was full.
3431
3432 * scripts/amd2sun.in: new script amd2sun. Used to convert Sub
3433 automount maps to amd maps.
3434
3435 * scripts/ctl-hlfsd.in: new script ctl-hlfsd. Used to start,
3436 stop, or restart hlfsd.
3437
3438 * scripts/expn.1: man page for expn command.
3439
3440 * scripts/ctl-amd.in: new script ctl-amd. Used to start, stop, or
3441 restart amd.
3442
3443 * scripts/expn.in: new script expn. Actually taken from David
3444 Muir Sharnoff <muir@idiom.com>. Used by hlfsd's mail re-delivery
3445 script.
3446
3447 * scripts/wait4amd.in: new script wait4amd added. Waits for amd
3448 to come up on a host, and then runs a command (rsh $hostname by
3449 default).
3450
3451 * scripts/Makefile.am: new directory now holds all shell/perl
3452 scripts that belong to am-utils.
3453
3454 * conf/mount/mount_linux.c (parse_opts): new parser for
3455 linux-specific mounts. Handles fs-type specific mount-options
3456 correctly. Currently implemented: msdos, iso9660.
3457
3458 * amd/ops_pcfs.c (pcfs_ops): don't timeout cdfs mounts by default
3459 (fix for linux).
3460
3461 * amd/ops_cdfs.c (cdfs_ops): don't timeout cdfs mounts by default
3462 (fix for linux).
3463
3464 * amd/mapc.c (make_entry_chain): fixed bug that resulted in amd
3465 core dumps upon "ls" of a mount point; an invalid pointer was
3466 being returned and dereferenced.
3467
3468 * port to Linux sparc working!
3469
3470 * hlfsd/homedir.c (hlfsd_diskspace): close file descriptor if
3471 failed to write test file, or else the fd will leak.
3472
3473Sun May 18 00:42:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3474
3475 * amd/info_hesiod.c (hs_strip_our_domain): use strcasecmp()
3476 instead of strcmp().
3477
3478 * Port to Digital Unix 4.0 (OSF) done.
3479
3480 * hlfsd/hlfsd.c: renamed dirname to dir_name to avoid conflicts
3481 with dirname() function in <string.h> on OSF systems.
3482
3483 * fsinfo/fsi_util.c (set_ether_if): take out extern definition of
3484 inet_addr(). It should come from <arpa/inet.h> instead.
3485
3486 * conf/mtab/mtab_osf.c: fixed macros and added NFS V3 specs.
3487
3488 * include/am_utils.h: renamed FIRST/LAST to AM_FIRST/AM_LAST to
3489 avoid conflicts with DU 4.0 system header.
3490
3491Thu May 15 22:49:12 1997 Erez Zadok <ezk@subzero.cs.columbia.edu>
3492
3493 * libamu/mount_fs.c (mount_fs): pass along NFS version so I can
3494 determine if to include additional options in the mount table file
3495 entry (such as proto=tcp, and vers=3).
3496
3497Thu May 15 00:42:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3498
3499 * libamu/mount_fs.c (mount_fs): include NFS version number in the
3500 mount table options, as well as proto={tcp,udp}.
3501
3502Wed May 14 14:30:19 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3503
3504 * NFS V3 code ported to most other systems, so it compiles for V2
3505 and V3 NFS systems.
3506
3507 * NFS VERSION 3 support, first pass. Working for Solaris and
3508 using TCP.
3509
3510Sun May 11 01:14:29 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3511
3512 * amq/amq.c: many newline characters were missing from various
3513 stderr printfs.
3514
3515Sat May 10 13:09:06 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3516
3517 * conf/nfs_prot/nfs_prot_sunos5.h: protocol defintions for
3518 Solaris, which include NFS V3 support.
3519
3520 * conf/nfs_prot/nfs_prot_default.h: default NFS protocol headers.
3521 *** Released am-utils-6.0a15 ***
3522 * conf/transp/transp_{tli,sockets}.c (get_mount_client): use NFS
3523 protocol version while getting a mount client.
3524
3525 * amd/ops_nfs.c (mount_nfs_fh): set the mount types, mnttab types,
3526 file handle size, and proper file handle based on the correct NFS
3527 version number.
3528 browsable_dirs=full, which will print *all* entries (other than
3529 * conf/mount/mount_svr4.c (mount_svr4): support NFS3 mounts under
3530 Solaris and other SVR4 systems.
3531
3532 * amd/ops_nfs.c: store NFS file handle version and version
3533 specific handle in struct fh_cache.
3534 (got_nfs_fh): pick the correct RPC reply based on the NFS version
3535 of the server.
3536 (prime_nfs_fhandle_cache): figure out the right NFS file handle
3537 for a node, but now include NFS protocol version information.
3538 (call_mountd): set the correct version for the mount protocol,
3539 based on the NFS protocol version.
3540 (nfs_init): use the NFS protocol generic structure
3541 am_nfs_handle_t.
3542 to 1500.
3543 * include/am_utils.h: new structure am_nfs_handle_t to contain all
3544 possible versions of NFS file handles.
3545 * doc/am-utils.texi: fixed reversed documentation for NFS mount
3546 * amd/srvr_nfs.c (start_ping): ping program performs NFS version
3547 specific pings.
3548 (recompute_portmap): figure out the correct portmap version mount.
3549 (nfs_keepalive): call start_ping() with the correct NFS version.
3550 (find_nfs_srvr): if mount option "vers=" is given, use it. Get
3551 the NFS server version and verify that it is up.
3552
3553 * conf/transp/transp_{tli,sockets}.c (get_nfs_version): a new
3554 function to find the best NFS version for a particular host.
3555 installing html files. Another new target "alldocs" is just for
3556 * libamu/amu.h: determine what is the highest version of NFS we
3557 should try.
3558
3559 * include/am_utils.h (NFS_VERSION3): added definition for NFS V3
3560 protocol number.
3561 Added field fs_version to struct fserver, so we can now store the
3562 server protocol version.
3563 facility in the log_file option.
3564Fri May 9 01:09:45 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
3565 * libamu/xutil.c (get_syslog_facility): allow users to specify the
3566 * aux/macros/check_field.m4 (AC_MOUNT_HEADERS): map '.' (dot) into
3567 underscores too, so I can test for sub-fields.
3568 will use the default LOG_DAEMON facility.
3569 * libamu/wire.c: use test that checks for sub-fields of struct
3570 ifreq.
3571Thu Jan 8 04:05:10 1998 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3572Sat May 6 10:20:17 2000 Erez Zadok <ezk@glory.soscorp.com>
3573 (intel).
3574 * port to BSD/OS 3.0 completed! Many xdr_ functions were broken
3575 into smaller files. M4 macros fixed to test for existence of
3576 file systems using getvfsbyname().
3577 before appending to it, on systems with two or more network
3578 * amd/sched.c (sigchld): signal handler must waitpid() for all
3579 possible children.
3580 the mntent for cachefs.
3581 * hlfsd/homedir.c: signal handler must waitpid() for all possible
3582 children.
3583 const for both arguments.
3584 * aux/macros/check_restartable_signals.m4: new macro to determine
3585 if need to reinstall signal handlers per OS is better than trying
3586 to figure these out based on system macros.
3587
3588Fri May 5 19:23:28 2000 Erez Zadok <ezk@glory.soscorp.com>
3589 * amq/pawd.c (cluster_server): don't use getccent() if the extern
3590 * amd/ops_nfs.c (mount_nfs_fh): set nfs_args_t version number.
3591 <cluster.h> and struct cct_entry do not exist.
3592 * amd/ops_afs.c (mount_toplvl): set nfs_args_t version number.
3593 hpux systems don't have it (hpux 10.20).
3594 * amd/ops_nfs.c (mount_nfs_fh): process nfs mount option resvport
3595 (must be supplied for bsdi 3.0)
3596
3597 * libamu/wire.c: use HAVE_FIELD_STRUCT_IFREQ_IFR_ADDR (and
3598 associated new macro) for determining the right way to compute the
3599 size of the interface structure.
3600 for new amq options -T/-U.
3601Fri Apr 11 15:56:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3602
3603 * aux/configure.in: need to include libc before libnsl if
3604 get_myaddress() is available because on irix libnsl has a buggy
3605 get_myaddress().
3606
3607 * include/am_defs.h: make sure REINSTATE_SIGNAL_HANDLER is defined
3608 on Irix 6 (an SVR4 variant)
3609 * amq/pawd.c: a new program, Print Automounter Working Directory,
3610Thu Mar 27 02:28:40 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3611 * aux/macros/localconfig.m4: trivial support for am-utils
3612 *******************************************************************
3613 *** Released am-utils-6.0a4 ***
3614 *******************************************************************
3615 wish in a file called localconfig.h, located in the top build
3616Wed Mar 26 21:15:36 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3617 * doc/am-utils.texi (Caching Filesystem): updated documents for
3618 * amd/amq_subr.c (ok_security): turned off insecure code unless
3619 user explicitly runs configure --enable-amq-mount.
3620 * amd/ops_cachefs.c: initial cachefs support, for solaris.
3621 * hlfsd/hlfsd.c (main): use new protoypes dor create_nfs_service().
3622
3623 * amd/nfs_start.c (mount_automounter): use code that separately
3624 creates the NFS and the amq service. Register tcp and udp
3625 services for amd.
3626 cachefs file systems.
3627 * conf/transp/transp_*.c (create_amq_service): new function to
3628 separately create the amq service for amd. Simplified prototypes
3629 for create_nfs_service().
3630 mnttab type is.
3631Wed Mar 19 20:40:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3632Mon Jan 5 23:22:49 1998 Erez Zadok <ezk@lorien.cs.columbia.edu>
3633 *******************************************************************
3634 *** Released am-utils-6.0a3 ***
3635 *******************************************************************
3636
3637Wed Mar 19 17:49:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3638 * amd/ops_nfsl.c (nfsl_ffserver, nfsl_match): also check if the
3639 * new port: rs6000-ibm-aix3.2.5 and rs6000-ibm-aix4.1.5.0. Lots
3640 of small changes to support these two.
3641 type:=nfs.
3642Wed Mar 19 14:33:30 1997 Erez Zadok <ezk@grande.cs.columbia.edu>
3643 * updated all source files to add 1998 as a copyright year.
3644 * conf/umount/umount_default.c (umount_fs): bug: unlock_mntlist()
3645 should run if MOUNT_TABLE_ON_FILE, not otherwise.
3646 like type:=linkx if the pathname denoted by $fs exists, and like
3647Mon Mar 17 22:02:43 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3648
3649 * hlfsd/hlfsd.c (main): fill in fhsize field if exists
3650 (freebsd-2.2).
3651
3652 * amd/ops_{nfs,afs}.c (mount_toplvl): fill in fhsize field if
3653 exists (freebsd-2.2).
3654
3655Sat Mar 15 19:37:48 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
3656 * hlfsd/homedir.c (plt_init): make function exported, to save on
3657 * new port: i386-unknown-freebsd2.2. FreeBSD 2.2 and higher
3658 changed the filehandle type in struct nfs_args from nfsv2fh_t to
3659 u_char.
3660 instead.
3661Sat Mar 14 10:11:03 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3662Thu Jan 1 00:15:58 1998 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
3663 * SHARED LIBRARIES: too many change to list individually. Now,
3664 libamu can be built as a shared library, and other programs link
3665 with it.
3666
3667Tue Mar 11 22:24:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3668
3669 * aux/macros/opt_shared.m4: new macro for setting options for
3670 building shared am-utils libraries.
3671 * amd/ops_afs.c (mount_toplvl): Bug fix. Don't try to free() an
3672Sun Mar 9 19:17:46 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3673 * ALL SOURCES: change every direct call to free() to xfree(), so
3674 * fixmount/fixrmtab: cleaned up the script.
3675 call dxfree(), which will print the file name and line number
3676 * fixmount/Makefile.am (EXTRA_DIST): adde $(sbin_SCRIPTS) so that
3677 fixrmtab gets distributed too.
3678
3679 * conf/nfs_prot/nfs_prot_bsdi2.h: added support for MOUNTPROC_DUMP.
3680 Added extern for xdr_mountlist().
3681Tue Dec 23 04:24:28 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3682 * aux/configure.in: trimmed down many tests for MNT2_GEN_OPT,
3683 MNT2_NFS_OPT, and MNTTAB_OPT that were not referenced anywhere in
3684 the sources.
3685
3686Sat Mar 8 00:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3687 calloc().
3688 * fixmount/hlfsd ported to bsd44, hpux, and linux systems.
3689
3690 * aux/macros/check_fixmount_style.m4: add check for bsd44 systems.
3691 malloc().
3692 * conf/fixmount/fixmount_default.c: use lockf() if flock() is
3693 unavailable.
3694 zero its bytes.
3695 * include/am_defs.h: include <string.h> even if don't have
3696 STDC_HEADERS defined (sunos4).
3697 (seteuid): define seteuid() to be setresuid() for systems that
3698 have but not the other (hpux).
3699 * amq/amq.c: amq does not need its own definition of xfree().
3700 * aux/macros/check_extern.m4: test should include <strings.h>.
3701 look for function malloc_verify() in libmapmalloc.a, and function
3702Tue Mar 4 17:16:52 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3703
3704 * lib/xutil.c (debug_option): moved from amd/getargs.c to this
3705 more proper file.
3706 uordbytes, because it does not always exist. Rather, compute it
3707 * include/am_utils.h: put in structure for debug options, for all
3708 progams to use.
3709 used when debugging memory references.
3710 * amd/get_args.c: moved structure for debug options out.
3711Mon Dec 22 03:01:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3712Sun Mar 2 00:13:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3713 Otherwise browsable_dirs fails on OpenBSD 2.2.
3714 * ported fixmount.
3715 * amd/mntfs.c (uninit_mntfs): bug fix. Moved freeing of
3716 * lib/ualarm.c: replacement function for systems that don't have a
3717 ualarm().
3718Sat Dec 20 00:51:21 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3719 * ported fsinfo.
3720 * amd/ops_host.c (host_umounted): don't use clnt_spcreateerror()
3721Sun Mar 1 10:23:34 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3722 * include/am_defs.h: add missing extern definition for free().
3723 * ported mk-amd-map.
3724
3725 * buildall: added -K option to buildall, to run mkconf.
3726 optional function.
3727Fri Feb 28 01:10:25 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
3728 if they exist.
3729 *******************************************************************
3730 *** Released am-utils-6.0a2 ***
3731 *******************************************************************
3732 * aux/configure.in: check for missing functions clnt_create and
3733Thu Feb 27 13:58:59 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
3734
3735 * all *.[hcyl] files: add copyright line.
3736 * Makefile.am: updates for new sunos3 files distributed.
3737 * aux/macros/check_mount_type.m4: test for mount type for
3738 linux-like systems, by checking for loadable or statically linked
3739 kernel filesystem modules.
3740 * conf/fh_dref/fh_dref_sunos3.h: new file.
3741 * aux/macros/check_mnttab_type.m4: test for mount table entry
3742 for linux-like systems, by checking for loadable or statically
3743 linked kernel filesystem modules.
3744 * aux/macros/check_nfs_fh_dref.m4: added sunos3 case.
3745 * aux/configure.in: pcfs filesystems can use vfat type (linux)
3746 * doc/am-utils.texi (wire Selector Variable): updated manual for
3747 * aux/macros/check_fs_mntent.m4: test for filesystem existence for
3748 linux-like systems, by checking for loadable or statically linked
3749 kernel filesystem modules.
3750 in_network() function.
3751 * conf/trap/trap_hpux.h: ugly hack added because of stupide HPUX
3752 9.0 header files. This should be removed when HPUX 9.0 is deemed
3753 defunct.
3754 functions. Converted wire, network, and netnumber all to use the
3755 * aux/acconfig.h: set an undefined variable for having an extern
3756 to clnt_sperrno().
3757 against all networks, not just primary.
3758 * include/am_defs.h: define extern for clnt_sperrno() if needed.
3759 * conf/nfs_prot/nfs_prot_linux.h: add special definitions for
3760 * aux/configure.in: test for extern clnt_sperrno().
3761 <rpc/des_auth.h> because it is incomplete on the same systems.
3762 * aux/macros/check_nfs_fh_dref.m4: HPUX's NFS fhandle dref is
3763 similar to irix.
3764 * hlfsd/homedir.c (table_add): cast uid field to int, for
3765 * aux/macros/check_mount_style.m4: use mount helper on HPUX.
3766 * include/am_defs.h: more coflicts with redhat alpha linux
3767 * aux/macros/check_mtype_type.m4: hpux's mount type is a char*,
3768 not integer (but may be mapped to one later).
3769 * aux/macros/{mount_headers,try_compile_anyfs,try_compile_nfs}.m4:
3770 * conf/mount/mount_hpux.c (mount_hpux): HPUX has confusing header
3771 files. They have mount(2) and vfsmount(2) which don't take same
3772 arguments, and they have string mount types MNTTYPE_* as well as
3773 integer types MOUNT_*. So I need this new mount function to map
3774 from string types to integer types for the vfsmount() function.
3775 redhat alpha linux.
3776 * conf/trap/trap_hpux.h (MOUNT_TRAP): instead of calling
3777 vfsmount(), call mount_hpux().
3778 the new "!" (negated) nomadic functions.
3779Thu Feb 27 03:34:14 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu>
3780 rather than saying that any ARG is on a local network.
3781 * lib/mount_fs.c (mnt_flags): make sure SYNC option is on only if
3782 both MNTTAB_OPT_SYNC and MNT2_GEN_OPT_SYNC are defined.
3783
3784Thu Feb 27 00:26:00 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
3785Thu Dec 18 20:57:19 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3786 * conf/nfs_prot/nfs_prot_hpux.h: NFS protocol definitions for
3787 hpux.
3788
3789 * include/am_defs.h: no need to include rpc/auth.h or rpc/clnt.h.
3790 Finally, it looks as if OpenBSD 2.2's NFS 3 implementation may be
3791 * aux/configure.in: no need to test for rpc/auth.h and rpc/clnt.h.
3792 wait until they get it working in their version of the automounter
3793 * buildall: added ability to configure using other shells than
3794 /bin/sh, on those systems where /bin/sh is buggy or limited
3795 (HPUX).
3796 maxgrp.
3797 * aux/macros/struct_nfs_fh.m4: reinstated the macro but have it
3798 defined am_nfs_fh, and also test for plain typedef "nfs_fh".
3799 "maxgrps". Added test for mount table entry "maxgroups".
3800 * aux/acconfig.h: #undef am_nfs_fh, which is being defined by a
3801 reinstated macro.
3802 * libamu/mount_fs.c (compute_nfs_args): perform more careful tests
3803 * aux/configure.in: check for <nfs/export.h>
3804
3805 * include/am_defs.h: include <nfs/export.h> (HPUX) if exists.
3806 including 9.x, should use "ignore" as the mount type to hide from
3807 * aux/macros/try_compile_nfs.m4: include <nfs/export.h> (HPUX) if
3808 exists.
3809
3810 * aux/macros/mount_headers.m4 (define): removed some non-working
3811 (on HPUX) code that attempts to recreate the fhandle_t rather than
3812 load it up from system headers. Also added some NFS protocol
3813 header inclusion. include <nfs/export.h> (HPUX) if exists.
3814 every where in the sources.
3815Wed Feb 26 00:32:35 1997 Erez "HWank1" Zadok <ezk@okeeffe.cs.columbia.edu>
3816
3817 * aux/macros/mount_headers.m4 (define): Use M4 changequote to
3818 ensure [] brackets are correctly used.
3819 useful for detecting internal flags and options, as well as the
3820 * aux/macros/expand_cpp_{string,hex,int}.m4: encapsulate
3821 multi-line M4 inclusions in [].
3822 after /etc and before /etc/local.
3823Tue Feb 25 22:19:44 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
3824 * aux/configure.in, libamu/Makefile.am: added support for linking
3825 * conf/mtab/mtab_bsd.c (mnt_dup): use statfs field f_fstypename if
3826 it exists.
3827
3828 * aux/acconfig.h: HAVE_FIELD_STRUCT_STATFS_F_FSTYPENAME, new
3829 config.h macro for field f_fstypename of struct statfs.
3830 needed.
3831 * aux/configure.in: testing for field f_fstypename field of struct
3832 statfs (NetBSD).
3833 netbsd).
3834 * aux/acconfig.h: moved all of the "static" definitions out to a
3835 fixed file called include/am_defs.h. Added to all */Makefile.am
3836 files a dependency on am_defs.h. Created am_defs.h of course, and
3837 then added #include <amd_defs.h> to all of the source and header
3838 files that required it.
3839 for NetBSD-1.3_BETA and similarly for OpenBSD.
3840Mon Feb 24 01:27:02 1997 Erez Zadok <ezk@defiant.soscorp.com>
3841 * conf/nfs_prot/nfs_prot_netbsd1_3.h: new header for the slight
3842 * aux/acconfig.h: two more externals for xdr functions that may be
3843 implemented by libamu.
3844 mktemp().
3845 * conf/nfs_prot/nfs_prot_bsdi2.h: added missing RPC and XDR
3846 definitions.
3847 * amd/ops_nfs.c (mount_nfs_fh): Systems that include the mount
3848Sun Feb 23 15:25:26 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
3849 "nfs3", but to "nfs" and then they set "vers=3". Setting it to
3850 * buildall (default): added -D option for turning on even stricker
3851 developer options.
3852 systems, set it to "nfs".
3853 * */Makefile.am: make sure @AMU_NFS_PROT_HEADERS@ is used to
3854 determine dependencies on optional NFS protocol headers.
3855
3856 * aux/acconfig.h: define and use HAVE_NFS_PROT_HEADERS as needed.
3857
3858 * aux/macros/check_nfs_prot_header.m4: new test to determine what
3859 NFS protocol headers to use.
3860 system mount types under nextstep for mount(2).
3861 * conf/nfs_prot/nfs_prot_{irix6,sunos4,bsdi2}.h: new headers to
3862 complete missing system headers for NFS protocol definitions.
3863 integer and string types for file system mount types in mount(2),
3864Sun Feb 16 15:58:42 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu>
3865 (EPERM) instead of 0 (OK). Fixes m68k-next-nextstep3 which now
3866 * amd/ops_nfs.c (mount_nfs_fh): encapsulated some more code in
3867 #ifdef's as needed.
3868
3869 * amd/ops_afs.c (mount_toplvl): make sure TIMEO/RETRANS code is
3870 suitable #ifdef'ed.
3871
3872 * include/am_compat.h: a couple more mnttab options
3873 (timeo/retrans) setting just in case.
3874
3875 * amd/autil.c (host_normalize): make sure hostent->h_name is
3876 passed a non-const char *.
3877
3878 * conf/mount/mount_linux.c (mount_linux): cleaned up a block of code.
3879 inclusion of <nfs/nfs_mount.h> which only affects nextstep3, on
3880 * {lib,amq,amd}/*.c (many functions): cast xdr_entry to
3881 XDRPROC_T_TYPE.
3882 * libamu/mount_fs.c (mnt_flags): support either nfs or generic
3883 * lib/nfs_prot_svc.c (nfs_program_2): cast xdr_entry to
3884 XDRPROC_T_TYPE.
3885
3886 * lib/nfs_prot_xdr.c (xdr_entry): cast xdr_entry to
3887 XDRPROC_T_TYPE.
3888
3889 * lib/wire.c (getwire): Make sure safe assignment from const to
3890 none is done.
3891 file in the am-utils' home page, as well as a few other useful
3892Sat Feb 15 19:38:51 1997 Erez "HWank1" Zadok <ezk@vir.cs.columbia.edu>
3893Mon Nov 17 05:22:56 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
3894 * aux/macros/expand_cpp_int.m4: new macro for expanding integers.
3895 *******************************************************************
3896 * aux/configure.in: added linux/fs.h support in configure and
3897 several M4 macros.
3898
3899 * conf/mount/mount_linux.c (mount_linux): use macro instead of
3900 "ugly" fixed hex number for mount() arguments.
3901 ports.
3902Sat Feb 15 02:09:47 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3903
3904 * amd/info_hesiod.c: removed macro HAVE_HS_ZONE_TRANSFER and
3905 turned all of its code always on. That code always seems to
3906 compile, as long as you have hesiod and libresolv.
3907 * scripts/amd.conf.5: corrected info for -o/-O options.
3908 * amd/mapc.c: removed macro HAVE_HS_ZONE_TRANSFER and turned all
3909 of its code always on.
3910 OS name.
3911 * aux/configure.in: removed superfluous test for hs_zone_transfer
3912 function (will never find it because it is an amd-internal
3913 function).
3914 -o and -O options.
3915 * amd/mapc.c (maptypes): must used correct new name for am-utils'
3916 hesiod initialization function: hesiod_am_init.
3917
3918 * amd/info_hesiod.c (hesiod_am_init): renamed hesiod_init to
3919 hesiod_am_init so as not to conflict with libhesiod's
3920 hesiod_init() function.
3921 variable.
3922 * aux/configure.in: added test and explicit inclusion of
3923 libresolv.a for later resolution of library references with
3924 libhesiod.
3925 <metcalf@cag.lcs.mit.edu> to correctly set the nfs_prot headers
3926 * aux/macros/opt_cppflags.m4: new file. configure/compile C
3927 preprocessor flags.
3928 * doc/am-utils.texi (Distrib): typo in the subscription
3929 * aux/macros/opt_libs.m4: new file. configure/compile library
3930 flags.
3931 <vogel@physik-rzu.unizh.ch>.
3932 * Makefile.am (EXTRA_DIST_AUX): include two new macros
3933 opt_cppflags.m4 and opt_libs.m4.
39341997-11-15 Erez Zadok <ezk@amtrak.cs.columbia.edu>
3935 * aux/configure.in: test for libhesiod needs to additional
3936 libresolv to link completely. Additional configuration time
3937 options added for setting initial CPPFLAGS and LIBS.
3938
3939Tue Feb 10 02:15:40 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3940 * NFS3 works on powerpc-ibm-aix4.2.1.0.
3941
3942 *** Released am-utils-6.0a1 ***
3943 static. Some compilers (gcc from egcs on aix 4.2.1) corrupt the
3944 stack of an automatic variable when pointer to it is passed around
3945Thu Feb 6 02:55:19 1997 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
3946
3947 * amd/info_ndbm.c (ndbm_search,ndbm_init): fixed the code so that
3948 it works on freebsd, where they map dbm_pagfno a non-existing
3949 macro on purpose, to force you to port the code to Berkeley DB.
3950 * libamu/xutil.c (real_plog): syslog like behavior for normal
3951Fri Jan 31 01:35:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3952
3953 * amd/ops_afs.c (mount_toplvl): added a sleep(1) right before the
3954 actual mount_toplvl, to avoid some possible race conditions.
3955
3956Thu Jan 30 02:31:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3957
3958 * amd/rpc_fwd.c: removed all TLI (HAVE_T_OPEN) code.
3959
3960Wed Jan 29 18:25:07 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3961
3962 * lib/wire.c (getwire): removed HAVE_T_OPEN (TLI code)
3963 passed to it before. So now I have to dereference the pointer
3964 * amd/amd.c (main): fix local address using htonl(). Free up
3965 buffers allocated by netdir_*() functions.
3966
3967Wed Jan 22 23:53:24 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3968
3969 * amd/fix-amd-map.in: new script that will convert old-style amd
3970 maps to new one.
3971 compute_nfs_args() and compute_automounter_nfs_args() functions.
3972Tue Jan 21 01:18:16 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3973 and cleaner compute_nfs_args() and compute_automounter_nfs_args()
3974 * FIRST AMD IN AM-UTILS FINALLY WORKS (mounts itself as toplvl,
3975 and replies back to simple nfs/link type mount queries).
3976 relates for struct nfs_args. A new function sets the numerous
3977 * conf/mtab/mtab_svr4.c: reorganized the code in this file to be
3978 easier to read, and fixed a few bugs with un/setting the lock file
3979 descriptor.
3980 libamu. This saves on overall size of code.
3981Wed Jan 8 15:27:49 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3982 mounting an automounter's mount point. Used by hlfsd and amd.
3983 * amd/sched.c: removed HAS_SVR3_SIGNALS code to handle older
3984 signals in Svr3 systems. Only stellix ever used this.
3985 * amq/amq.c (get_secure_amd_client): don't print any more
3986 * amd/rpc_fwd.c (fwd_reply): removed all code that was triggered
3987 by DYNAMIC_BUFFERS, since it was not in use.
3988 under DEBUG only.
3989Tue Jan 7 00:45:59 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3990
3991 * amd/opts.c (eval_opts): removed AMD_COMPAT code. Amd no longer
3992 takes '=' sign as old selector. Fix your maps.
3993 (deslashify): removed APOLLO code that treated two '//' as one.
3994 for file systems based on physical media (disk, cdrom, floppy) to
3995Sun Jan 5 01:25:09 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
3996 autoconf searches for all these types of mount table entries for a
3997 * amd/ops_nfsx.c (nfsx_init): removed HARD_NFSX_ERRORS, code which
3998 was not used. It made any submount error fail the whole group.
3999 the actual name found! Same for ufs, cdfs, pcfs, tmpfs, lofs,
4000 * amd/ops_nfs.c (make_nfs_auth): removed code dependent on
4001 HAS_NFS_QUALIFIED_NAMES.
4002 (mount_nfs_fh): removed macro for NFS_ARGS_NEEDS_PATH, assuming it
4003 is never on. So code that was triggered by #ifndef
4004 NFS_ARGS_NEEDS_PATH (osf1, aix3, and bsd44 variants) may have to
4005 be fixed later.
4006 Removed all ULTRIX_HACK code. Ultrix is DEAD!
4007 removed all PRESET_AC code, which was only on for Linux to preset
4008 the attribute cache values (otherwise they default to zero).
4009 (nfs_umounted): revobed KICK_KERNEL code (IRIX systems). Will
4010 have to fixed up later.
4011 (mount_nfs_fh): removed code that was never included, which
4012 attempted to set the port on which amd's nfs mounts on. This
4013 isn't supported by the ping algorithm yet. In any case, it is all
4014 done in nfs_init().
4015
4016 * amd/srvr_nfs.c (find_nfs_srvr), amd/ops_nfs.c (mount_nfs_fh):
4017 removed HAS_TCP_NFS code. The whole use of NFS V.3 with TCP or
4018 specially hacked NFS V.2 that uses TCP (BSD 4.4 variants) will
4019 have to be addressed later.
4020Sun Oct 26 19:32:57 1997 Erez Zadok <ezk@defiant.soscorp.com>
4021 * amd/nfs_subr.c (nfsproc_getattr_2): removed all code dependent
4022 on PRECISE_SYMLINKS.
4023 This works better on bsdi2 and bsdi3, because their portmapper
4024 * amd/mapc.c (mapc_meta_search): removed code that depended on
4025 HAS_DEPOT. It is known buggy code. The whole DEPOT support needs
4026 to be rethought.
4027 (mapc_add_kv): ported code to use standard regular expression
4028 (regexp) library.
4029 insecure).
4030 * amd/{map.c,ops_sfs.c,ops_ufs.c}: removed all code dependent on
4031 FLUSH_KERNEL_NAME_CACHE and the macro itself.
4032 *** Released am-utils-6.0a13 ***
4033Sat Jan 4 15:46:58 1997 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
4034Fri Oct 24 05:04:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4035 * amd/map.c (exported_ap_alloc): removed all code triggered by
4036 SHRINK_EXPORTED_AP and the macro itself.
4037 struct datum typedef.
4038 * amd/info_nis.c: removed HAS_NIS_RELOAD macro, and left the code
4039 in all the time. Assuming that there is always NIS realod
4040 available.
4041 (yp_all_fixed): removed code for BROKEN_YP_ALL. If your yp_all()
4042 function is broken such that it does not release filedescriptors
4043 it created, then you are hosed. Get a fix for yp_all from your
4044 vendor or switch operating systems.
4045
4046Tue Dec 31 15:34:36 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
4047 gid_t.
4048 * amd/info_hesiod.c: renamed macro HAS_HESIOD_RELOAD to
4049 HAVE_HS_ZONE_TRANSFER.
4050 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't use
4051Mon Dec 30 17:33:23 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
4052
4053 * amd/{nfs,host}_ops.cremoved INFORM_MOUNTD macro, so its code is
4054 always included. We should always try to inform the remove mount
4055 daemon of mounts we performed. If we want an option for this, it
4056 should be a run-time option.
4057
4058 * amd/host_ops.c: removed all that optionally did not make the
4059 directory mount points for amd.
4060
4061 * HOST_EXEC code removed from everywhere. There is no indication
4062 that it was used anywhere. If it needs to be used, then a
4063 run-time switch should control it.
4064
4065Thu Dec 26 00:06:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
4066 passwdfile option. If hlfsd is started with -P passwdfile, then
4067 * amd/*_ops.c: removed all references to mntent_t's fields
4068 mnt_freq and mnt_passno, since they are no longe rused (and never
4069 have been).
4070 read and checked. All the rest are ignored. No NIS/netgroup
4071 * amd/am_ops.c: removed function sunos4_match, which was off
4072 anyway. This was one of the places where an '=' sign was allowed
4073 as an assignment operator (which is now ':=').
4074
4075 * amd/afs_ops.c (afs_bgmount): removed SUNOS4_COMPAT code which
4076 was off anyway. This was one of the places where an '=' sign was
4077 allowed as an assignment operator (which is now ':=').
4078 -h is invoked.
4079Tue Dec 24 01:53:52 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
4080Wed Oct 22 00:16:39 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4081 * amq/amq.c: ported to am-utils. Working.
4082
4083 * conf/mount/mount_svr4.c (mount_svr4): changed mount type on svr4
4084 to be string, as it should be (rather than a string mapped to int
4085 and back mapped to string).
4086 which returns TRUE if 'arg' is any one of this host's networks.
4087Sun Dec 22 13:26:05 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
4088 all networks names and numbers in the order of the interface (not
4089 * lib/mount_fs.c (mount_fs): removed MNTINFO_PREF code.
4090Mon Oct 20 01:59:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4091 * lib/umount_fs.c: split this into three files: default, osf, and
4092 bsd44, that are in conf/umount/umount_*.c.
4093 * aux/configure.in: don't add ops_ufs.o on AIX twice. My code
4094Thu Dec 19 17:33:46 1996 Erez "HWank1" Zadok <ezk@lorien.cs.columbia.edu>
4095 * doc/Makefile.am (EXTRA_DIST): include am-utils.dvi and
4096 * aux/configure.in, aux/aclocal.m4, aux/acconfig.h: added new
4097 macro to automatically figure out if an external definition for
4098 sys_errlist[] exists.
4099 (html): generate html documentation for
4100 * lib/xutil.c (xfree): removed "#undef free" because it's not
4101 needed there. Any system that redefines free() needs help.
4102
4103 * conf/mtab/mtab_file.c (REWRITE_MTAB_IN_PLACE): removed code that
4104 was dependent on REWRITE_MTAB_IN_PLACE. It does not appear to be
4105 in active use anywhere. If added later, it should be a run-time
4106 configuration option.
4107 ypall_callback_fxn_t. The NetBSD team compiles all sources with
4108 * conf/mtab/mtab_mach3.c: removed code that was #ifdef'ed not to
4109 be MOUNT_TABLE_ON_FILE, since mach2 always stores its mount tables
4110 in a file in /etc.
4111 function typedef.
4112 * lib/util.c (str3cat): removed _AIX code. AIX should have a
4113 working realloc, or else find a cleaner solution to this.
4114 (mkdirs): removed SUNOS4_WORKAROUND code. This was to do a sync()
4115 after immediately making directories so that fsck will be able to
4116 fix the filesystem in the event of an immediate crash. This was
4117 because a bug in UFS which is fixed by now.
4118 * libamu/xutil.c (amu_release_controlling_tty): new function to
4119 * lib/hutil.c (domain_strip): removed PARTIAL_DOMAINS triggered
4120 code. Does not appear to be on and used anywhere.
4121 (dofork): removed MACH3 code, b/c mach3 NFS bugs are fixed by now.
4122 and hlfsd/hlfsd.c. Also avoid setpgrp(), because it works on some
4123 * lib/resvport.c: split the binding of reserved ports code to a
4124 separate file. A #define (HAVE_T_OPEN) separates the TLI (SVR4)
4125 from the BSD code.
4126
4127Thu Dec 19 02:08:35 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
4128
4129 * lib/Makefile.am (amu_LIBADD): includs @LIBOBJS@ now, auto-filled
4130 in by automake and configure, for optional sources that need to be
4131 built as part of libamu.a.
4132
4133 * aux/aclocal.m4: Make sure AC_CHECK_MOUNT_STYLE adds mountutil.o
4134 to LIBOBJS.
4135
4136 * lib/memcmp.c (memcmp): new file added to replace a possible bad
4137 implementation of memcmp.
4138
4139Wed Dec 18 22:20:23 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
4140
4141 * converted the sources to use memset/memmove/memcmp instead of
4142 bzero/bcopy/bcmp.
4143
4144 * ran all sources through gnu Indent w/ options specified in
4145 aux/amindent.
4146
4147Wed Dec 11 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
4148
4149 * At this point the initial genration of config.h via autoconf and
4150 some preliminary makefiles via automake is done. I will not begin
4151 modifying sources, so it's a good time to document from here.
4152
4153Wed Dec 10 22:19:29 1996 Erez "HWank1" Zadok <ezk@shekel.mcl.cs.columbia.edu>
4154
4155 *******************************************************************
4156 *** Initial ChangeLog Entry ***
4157 *******************************************************************
4158
4159 * amd/ops_afs.c (mount_toplvl): turn on 'ignore' option in nfs
4160 mount flags of toplvl mounts. Important esp. for HPUX 10. Now
4161 hpux-10 will mount amd's mounts points as 'ignore' (by df).
4162
4163 * aux/configure.in: check for NFS mount option 'ignore', useful in
4164 HPUX 10.
4165
4166Thu Oct 16 03:28:33 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4167
4168 * aux/macros/check_hide_mount_type.m4: hpux 10 should use "ignore"
4169 mount type and not NFS, for the amd mount points.
4170
4171 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): don't log
4172 an RPC timeout as an error, but just an info message. From
4173 Andreas Stolcke <stolcke@speech.sri.com>
4174
4175 * If the NFS server is down or does not support the portmapper
4176 call (such as certain Novell NFS servers) we mark it as version 2
4177 and we let the nfs code deal with the case that is down. If when
4178 the server comes back up, it can support NFS V.3 and/or TCP, it
4179 will use those. From christos@deshaw.com (Christos Zoulas).
4180
4181 * hlfsd/homedir.c (plt_print): various compile time cleanups to
4182 printfs that take a long, but pass an int to print. From
4183 christos@deshaw.com (Christos Zoulas).
4184
4185 * aux/macros/func_bad_yp_all.m4 (ac_cv_func_yp_all_clean,): new
4186 macro to determine if the OS has a bad yp_all(), based on the host
4187 OS name. So far only irix (all versions) have a bad yp_all, so
4188 they will use am_yp_all() instead (which is slower as it
4189 enumerates manually all of the map's entries).
4190
4191Thu Oct 16 03:14:37 1997 Erez Zadok <ezk@subzero.cs.columbia.edu>
4192
4193 * amd/info_nis.c (am_yp_all): code for a replacement yp_all that
4194 avoids using a file-descriptor leaking yp_all() on some systems
4195 like irix.
4196
4197Wed Oct 15 21:52:35 1997 Erez Zadok <ezk>
4198
4199 * fsinfo/fsinfo.h: avoid redefining yywrap incorrectly on DU-4.x
4200 systems using /usr/bin/flex.
4201
4202 * amd/conf_tok.l (yywrap): avoid redefining yywrap for systems
4203 that have a modified GNU flex which does define yywrap (DU-4.x).
4204
4205Fri Sep 26 14:25:29 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4206
4207 * conf/checkmount/checkmount_bsd44.c: include prototype.
4208
4209Fri Sep 26 01:26:24 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4210
4211 *******************************************************************
4212 *** Released am-utils-6.0a12 ***
4213 *******************************************************************
4214
4215Fri Sep 26 00:13:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4216
4217 * conf/nfs_prot/nfs_prot_irix6.h: completely turn off all autofs
4218 code in irix6 until it can be tested correctly
4219
4220 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): time out
4221 on clnt_create for 3 seconds, rather than wait for the much longer
4222 default.
4223
4224 * conf/nfs_prot/nfs_prot_aix4_2.h: port to powerpc-ibm-aix4.2.1.0.
4225 Includes NFS3, untested.
4226
4227Thu Sep 25 11:03:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4228
4229 * amd/ops_pcfs.c (mount_pcfs): fill in uid/gid fields of
4230 pcfs_args_t if they exist.
4231
4232 * amd/ops_cdfs.c (mount_cdfs): fill in ssector field of
4233 cdfs_args_t if it exists.
4234
4235 * new minor ports hppa1.1-hp-hpux10.10, hppa1.1-hp-hpux9.05,
4236 hppa1.1-hp-hpux9.07, m68k-hp-hpux9.00, and sparc-sun-sunos4.1.4.
4237
4238Wed Sep 24 00:48:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4239
4240 * doc/am-utils.texi (wire-test): updated documentation for the new
4241 option.
4242
4243 * wire-test/wire-test.8: updated man page for new option.
4244
4245 * wire-test/wire-test.c (main): added a test for various
4246 combinations of NFS proto/vers to a remote/local host.
4247
4248 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
4249 <isofs/cd9660/cd9660_mount.h> and <msdosfs/msdosfsmount.h> so that
4250 freebsd will correctly set mount options for pcfs and cdfs.
4251
4252 * amd/ops_pcfs.c (mount_pcfs): set mask field of pcfs_args to
4253 0777 (if field exists).
4254
4255 * aux/macros/try_compile_anyfs.m4 (AC_TRY_COMPILE): include
4256 <msdosfs/msdosfsmount.h> if available.
4257
4258 * minor new port: rs6000-ibm-aix4.1.4.0.
4259
4260 * libamu/mount_fs.c (mount_fs): fixed bug that caused HPUX not to
4261 write the "time" field in /etc/mnttab.
4262
4263 * conf/mtab/mtab_file.c (mnt_dup): fixed typo in macro names for
4264 detecting mnt_time field of mntent_t.
4265
4266 * libamu/mtab.c (mnt_free): fixed typo in macro names for
4267 detecting mnt_time field of mntent_t.
4268
4269Tue Sep 23 15:30:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4270
4271 * conf/mtab/mtab_file.c (lock): Use flock() in preference over
4272 fcntl() to lock the mtab file.
4273
4274Mon Sep 22 23:04:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4275
4276 * conf/transp/transp_sockets.c (get_nfs_version): define
4277 the try_again goto label only for NFS3.
4278 (pmap_ping): assume timeout failure of clnt_stat.
4279
4280 * libamu/xdr_func.c (xdr_groupnode, xdr_exportnode): cast to
4281 "groups *".
4282
4283Mon Sep 22 20:34:33 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4284
4285 * conf/transp/transp_sockets.c (pmap_ping): patch from Dan Riley
4286 <dsr@mail.lns.cornell.edu> to make sure that amd works with more
4287 secure portmappers that do not allow forwarding of RPC messages to
4288 other services.
4289
4290 * */Makefile.am: all source files should also depend on the new
4291 include/am_xdr_func.h header.
4292
4293 * include/am_xdr_func.h: new file as part of the code cleanup from
4294 Christos Zoulas <christos@deshaw.com>.
4295
4296 * Lots of fixes from Christos Zoulas <christos@deshaw.com> that
4297 involved missing prototypes, cleaned up ones, and removal of
4298 unused variables.
4299
4300 * libamu/xdr_func.c (xdr_mountres3): some code cleanup. A switch
4301 statement with only one case is unclean.
4302
4303Mon Sep 22 17:26:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4304
4305 * amd/ops_<FOO>fs.c (mount_<FOO>fs): initialize mntent_t fields to
4306 0 so that all fields are initialized to zero at first. This way
4307 SunOS 4.x and other systems don't get /etc/mtab entries with
4308 random integers for the fsck/freq fields. Patch from Andreas
4309 Stolcke <stolcke@speech.sri.com>.
4310
4311Mon Sep 22 00:34:19 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
4312
4313 * conf/nfs_prot/nfs_prot_sunos4.h: include <nfs/nfs_clnt.h> so
4314 that the important definition for HOSTNAMESZ will be found.
4315
4316 * amd/ops_afs.c (mount_toplvl): limit hostname size to HOSTNAMESZ
4317 (inside the nfs_args structure) if the system uses that macro.
4318 Otherwise systems like SunOS refuse to NFS mount long pathnames
4319 and result in ENAMETOOLONG errno's.
4320
4321Wed Sep 17 04:56:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4322
4323 * doc/am-utils.texi (Supported Platforms): specify new support for
4324 solaris 2.6, and hlfsd running on 2.5.1 too.
4325
4326Wed Sep 17 03:55:02 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu>
4327
4328 * conf/mount/mount_svr4.c (mount_svr4): don't attemt an autofs
4329 mount if it is not supported or was turned off.
4330
4331Wed Sep 17 03:19:36 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
4332
4333 * conf/nfs_prot/nfs_prot_sunos4.h: fixed so that it will nfs mount
4334 again. Apparently at some previous release SunOS 4 supported was
4335 broken and all nfs mounts resulted in ESTALE.
4336
4337Wed Sep 17 00:26:25 1997 Erez Zadok <ezk@amsterdam.psl.cs.columbia.edu>
4338
4339 * conf/nfs_prot/nfs_prot_sunos5_6.h: nfs protocol headers for
4340 solaris 2.6.
4341
4342 * aux/macros/check_nfs_prot_headers.m4: added solaris 2.6 nfs
4343 protocol header selection.
4344
4345Sat Sep 13 14:31:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4346
4347 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): avoid
4348 infinite loop.
4349
4350Sun Sep 7 18:23:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4351
4352 *******************************************************************
4353 *** Released am-utils-6.0a11 ***
4354 *******************************************************************
4355
4356Fri Sep 5 11:55:10 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4357
4358 * amd/amd.c (main): if plock() succeeded, don't try to display
4359 errno message. Patch from Chris Metcalf
4360 <metcalf@catfish.lcs.mit.edu.
4361
4362Thu Sep 4 19:17:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4363
4364 * hlfsd/homedir.c (table_add): make sure duplicate passwd entries
4365 are ignored. Only the first entry should ever be used, because
4366 that's how lookup in passwd database works.
4367
4368 * conf/transp/transp_sockets.c (get_nfs_version): when determining
4369 if a remote host is up or down, use NFS v.2. Fix suggested by
4370 Enami Tsugutomo <enami@cv.sony.co.jp>.
4371
4372 * conf/transp/transp_tli.c (amu_clnt_create_best_vers): new
4373 function to get the best possible NFS version, but also timeout
4374 faster than normal defaults, so remote hosts which are down can be
4375 detected in a reasonable time.
4376 (get_nfs_version): use the new "best" function.
4377
4378Tue Sep 2 00:41:00 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4379
4380 *******************************************************************
4381 *** Released am-utils-6.0a10 ***
4382 *******************************************************************
4383
4384Mon Sep 1 15:39:51 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4385
4386 * conf/transp/transp_tli.c (get_nfs_version): don't use
4387 clnt_tp_create_timed() on systems that don'e have it (Solaris 2.4
4388 and earlier).
4389
4390 * aux/configure.in: test for existence of clnt_tp_create_timed(),
4391 since Solaris 2.4 (and possibly earlier) do not have it.
4392
4393Mon Sep 1 15:23:18 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
4394
4395 * amd/ops_autofs.c (autofs_unmount_1_svc): only display rdevid
4396 field if it exists (solaris 2.4's autofs does not have it).
4397
4398Mon Sep 1 14:45:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4399
4400 * aux/macros/type_auth_create_gidlist.m4: a new test to determine
4401 the correct type to the 5th argument of authunix_create().
4402
4403Mon Sep 1 03:44:32 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
4404
4405 * libamu/xdr_func.c (xdr_umntrequest): add test for autofs
4406 structure umntrequest, if it has the field rdevid. Seems Solaris
4407 2.4 and earlier didn't have it.
4408
4409Mon Sep 1 01:10:53 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4410
4411 * hlfsd/hlfsd.c (hlfsd_init): moved initialization upwards, so it
4412 can be done before primary process forks.
4413 (main): bug fix: wait a bit to give child a chance to initialize.
4414 Without this, hlfsd got into a busy infinite loop while, never
4415 completing the mount.
4416
4417 * amd/info_nis.c: patch from Jason Thorpe <thorpej@nas.nasa.gov>
4418 to make amd works when talking to NIS+ servers in NIS
4419 compatibility mode.
4420
4421Mon Sep 1 00:46:56 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4422
4423 * amd/mapc.c (MAX_CHAIN): increased maximum chain size to 1024.
4424
4425Sun Aug 31 20:20:40 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4426
4427 * amd/conf.c (gopt_fully_qualified_hosts): a new function to
4428 process another new global variable.
4429
4430 * amd/ops_nfs.c (make_nfs_auth): if a new global variable
4431 fully_qualified_hosts is on, use FQHN in RPC/NFS authentications.
4432 Patch from Chris Metcalf <metcalf@catfish.lcs.mit.edu>.
4433
4434 * amd/conf.c (process_last_regular_map): If the amd.conf file only
4435 has a [global] section (pretty useless IMHO), do not try to
4436 process a map that does not exist.
4437
4438 * scripts/amd.conf.5: fixed typos (repeated 'as' word).
4439
4440 * doc/am-utils.texi: MAJOR DOCUMENTATION REVISION COMPLETED!!!
4441
4442 * amd/conf.c (reset_cf_map): Bug fix. Reset 'tag' field of cfm
4443 structure, so it does not carry over from map entry to another.
4444
4445Sat Aug 30 18:39:21 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
4446
4447 * amd/amd.c (main): fixed the meaning of the plock option. A bug
4448 caused it to be reversed.
4449
4450Sat Aug 30 15:13:18 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4451
4452 * hlfsd/stubs.c: don't initialize some statics here. They are
4453 better initialized in hlfsd_init_filehandles().
4454
4455Fri Aug 22 14:47:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4456
4457 * amd/conf.c (gopt_show_statfs_entries): new function and a global
4458 amd.conf key show_statfs_entries. Defaults to 'no'. If 'yes',
4459 then all maps flagged as browsable will also show a count of the
4460 number of entries (keys) in that map.
4461
4462 * amd/nfs_subr.c (count_map_entries): new function to count number
4463 of entries in a map. Now used if browsable is turned on in a map,
4464 to return a count of available keys in a given map.
4465
4466 * hlfsd/stubs.c (eq_fh): use correct memcmp(). BUG fixed! hlfsd
4467 confused the file handles for ".", "..", and the symlink, causing
4468 mess.
4469
4470 * aux/macros/func_bad_memcmp.m4: new test, based on autoconf 2.12,
4471 but also defines HAVE_BAD_MEMCMP, so I avoid linkage conflicts
4472 with bad memcmp() in libc's (nextstep3).
4473
4474Thu Aug 21 17:38:41 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4475
4476 * aux/configure.in: check if autofs_args_t has a field named
4477 addr. Solaris has it for specifying the address of the daemon,
4478 but Irix does not. So how does irix tell the kernel the daemon's
4479 address? I suspect that it is hardcoded to "localhost" using a
4480 "private well-known port" (#define AUTOFS_PORT 2048).
4481
4482 * conf/nfs_prot/nfs_prot_linux.h: added missing autofs
4483 definitions.
4484
4485 * README.autofs: new file listing autofs support notes
4486
4487 * very preliminary autofs code working. Call it pre-alpha
4488 quality.
4489
4490Sun Aug 17 02:25:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4491
4492 * amd/conf.c (ropt_mount_type, gopt_mount_type): don't accept
4493 "autofs" if system does not support it.
4494
4495 * amd/amd.c (main): log am-utils version string (same as amd -v)
4496 at start of run.
4497
4498 * conf/transp/transp_sockets.c (get_nfs_version): in order to tell
4499 if a remote host is available, try to contact its portmapper and
4500 timeout if no answer is received in 3 seconds.
4501
4502Thu Aug 14 16:12:04 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4503
4504 * aux/macros/check_extern.m4 (pattern): use a simpler pattern for
4505 match for external function definitions. The function could span
4506 multiple lines, so only match the opening parenthesis, not the
4507 closing one too.
4508
4509 * aux/macros/os_cpp-flags.m4 (ac_cv_os_cppflags,): do NOT turn on
4510 posix mode for nextstep3. It is broken.
4511
4512 * amd/amd.c (init_global_options): run uname() only if
4513 <sys/utsname.h> and uname(2) exist.
4514
4515 * amd/rpc_fwd.c (fwd_packet): if remote host is down, the
4516 forwarding socket is null, so declare this an error.
4517
4518 * include/am_utils.h (AM_ERRNO_HOST_DOWN): find best errno to set
4519 for when a remote host is down. Try, in order, "host down", "host
4520 unreachable", "invalid argument".
4521
4522 * amd/ops_nfs.c (discard_fh): don't dereference a null pointer
4523 (happens when remote host is down, and fp->fh_fs is NULL).
4524 (prime_nfs_fhandle_cache): ditto, and set fs flags to !FSF_VALID
4525 and FSF_DOWN.
4526
4527 * amd/sched.c: nobody uses "union wait" any more, or so it
4528 appears, so clean up that code.
4529
4530 * conf/transp/transp_tli.c (get_nfs_version): if remote host is
4531 down, time it out faster than default (3 seconds).
4532 (get_mount_client): free netconfig entry when done with it.
4533
4534 * conf/nfs_prot/nfs_prot_nextstep.h: initial (and somewhat ugly)
4535 port to nextstep3 (m68k-next-nextstep3).
4536
4537 * fsinfo/Makefile.am (LDADD): needs to link with libamu in case
4538 system does not have strdup().
4539
4540 * include/am_defs.h: complete external definition for getlogin()
4541 if needed.
4542
4543 * conf/transp/transp_tli.c (get_nfs_version): no need to keep
4544 static versout variable.
4545
4546 * amd/rpc_fwd.c (fwd_packet): if fwdto packet is null, remote
4547 server is probably down. Don't use sendto() in that case.
4548
4549 * buildall (default): run gmake if found, before trying plain
4550 make. GNU make is always preferable.
4551
4552Tue Aug 12 21:23:58 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4553
4554 * aux/macros/host_macros.m4: cleanup of os_version and os
4555 overrides. Solaris 2.5.1 for example will come up as solaris2 and
4556 2.5.1, rather than sunos5 and 5.5.1. Both can be overridden in
4557 the amd.conf file.
4558
4559Fri Aug 8 14:37:30 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4560
4561 *******************************************************************
4562 *** Released am-utils-6.0a9 ***
4563 *******************************************************************
4564
4565Thu Aug 7 00:52:14 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4566
4567 * conf/nfs_prot/nfs_prot_ncr2.h: new file, for NCR2
4568 (i486-ncr-sysv4.3.03) headers. Needed to complete missing stuff
4569 from <ndbm.h> and <sys/resource.h>.
4570
4571 * scripts/amd.conf.5: new map page.
4572
4573 * amd/info_hesiod.c: define extern for hesiod_resolve, since bsdi3
4574 does not.
4575
4576 * amd/amd.8: updated man page.
4577
4578 * amd/get_args.c (get_args): removed defunct -h option to amd.
4579
4580 * amq/amq.8: updated man page.
4581
4582 * amd/info_nisplus.c (nisplus_search): prototype fixes so Sun
4583 SparcCompiler CC won't complain.
4584
4585 * amd/info_hesiod.c (hesiod_search): small fixes to compile with
4586 hesiod-1.3, as per Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>.
4587
4588 * aux/macros/opt_ldflags.m4: new option added to configure
4589 --enable-ldflags, to specify -L option for configuring/compiling.
4590 The older one --enable-libs is now to be used only for -l options.
4591
4592 * amd/ops_nfs.c (mount_nfs_fh): bug fixed. Should initialize
4593 nc_protoname from nfs_proto if available for all TLI systems, not
4594 just those that have NFS V3.
4595
4596 * amd/info_ldap.c: ldap patches from Leif Johansson
4597 <leifj@matematik.su.se>, adding two new amd.conf ldap variables:
4598 ldap_cache_seconds and ldap_cache_maxmem.
4599
4600 * hlfsd/hlfsd.c (main): bug fixed. port number must be wrapped in
4601 htons().
4602
4603Sun Aug 3 17:20:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4604
4605 * amd/nfs_start.c (mount_automounter): register amd with the rpc
4606 program number that may have been overridden by amd.conf.
4607
4608 * libamu/xutil.c (set_amd_program_number, get_amd_program_number):
4609 allow storing and retrieving alternate amd program numbers.
4610
4611 * amd/conf.c (gopt_portmap_program): new function to parse
4612 amd.conf entry portmap_program=1234.
4613
4614 * amq/amq.c (main): allow specifying an alternate rpc program
4615 number for amd via -P prognum.
4616
4617 * new amq RPC to get the process id of the running amd. This is
4618 used in ctl-amd to quickly find the pid of the amd that is to be
4619 killed.
4620
4621 * expanded shared libraries support. Using GNU libtool-1.0,
4622 am-utils now builds shared libraries on many platforms that have
4623 support for it and proper compilers/linkers. See "INSTALL" file
4624 for compatibility chart.
4625
4626Thu Jul 31 13:07:23 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4627
4628 * fsinfo/fsi_lex.l: removed code that was in support of very old
4629 versions of flex. No longer needed.
4630
4631Tue Jul 29 12:00:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4632
4633 * amd/amd.c (init_global_options): find the kernel architecture
4634 from uname() if possible.
4635
4636Mon Jul 28 03:53:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4637
4638 * new working port: i386-unknown-openbsd2.1
4639
4640Fri Jul 25 03:16:31 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
4641
4642 * working port: sparc-sun-solaris2.4. Had to fix fhandle_t from
4643 structure to actual char[], because the structure was passed to
4644 xdr_fhandle as data and not a pointer. Surprisingly, gcc
4645 -fpcc-struct-return did not help.
4646
4647 * conf/nfs_prot/nfs_prot_sunos5_4.h: special nfs protocol
4648 definitions for solaris 2.4 have to be different from 2.3, and
4649 different from 2.5.
4650
4651 * libamu/xdr_fhstatus.c (xdr_fhstatus): minor code cleanup.
4652
4653Thu Jul 24 16:22:39 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4654
4655 * conf/mount/mount_svr4.c (mount_svr4): use STREQ to compare mount
4656 types, not ==. Fix from Christos Zoulas <christos@deshaw.com>.
4657
4658 * mk-amd-map/mk-amd-map.8: man page taken from bsd44.
4659
4660Thu Jul 24 00:01:55 1997 Erez Zadok <ezk@moisil.cs.columbia.edu>
4661
4662 * conf/mount/mount_linux.c: made the nfs error mapping code into a
4663 small function.
4664
4665Wed Jul 23 16:11:49 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4666
4667 * conf/nfs_prot/nfs_prot_linux.h (NFS_ERROR_MAPPING): special
4668 error mappings from errno numbers to NFS errors. From Debian
4669 Linux.
4670
4671 * scripts/am-eject.in (fs): new script (taken from Debian Linux
4672 folks) to auto-unmount floppy/cd devices before ejecting them.
4673
4674 * fsinfo/wr_exportfs.c (write_exportfs): from Debian folks, pass
4675 '5' as second arg to show_area_being_processed. I'm not sure why.
4676
4677 * fsinfo/wr_atab.c (write_atab): from Debian folks, pass '5' as
4678 second arg to show_area_being_processed. I'm not sure why.
4679
4680 * conf/mount/mount_linux.c (parse_opts): as per Debian Linux,
4681 ensure that you have a buffer in *xopts to strcat onto.
4682 (mount_linux): fixed from Debian folks to ensure that NFS mount
4683 sockets are connected only for kernels prior to 1.3.10 (avoids
4684 hangs for multi-homed hosts).
4685
4686 * amd/mapc.c (make_entry_chain): from Debian folks: don't skip
4687 over amd map keys that have a prefix, and include the prefix in
4688 the returned readdir().
4689
4690 * amd/info_passwd.c (passwd_init, passwd_search): format
4691 enhancements from the Debian Linux folks. They added
4692 - var0:=pw-prefix:=anydir
4693 - var1:=pw-rhost:=dom3.dom2.dom1
4694 - var2:=pw-user:=user
4695 - var3:=pw-home:=/anydir/dom1/dom2/dom3/user
4696
4697 * new ports: sparc-sun-solaris2.4 and sparc-sun-sunos4.1.1.
4698
4699 * amd/ops_afs.c (afs_retry): patches from Debian Linux. If
4700 afs_mount timed out, then explicitly forbid further retries after
4701 the timeout. (afs_bgmount): buf fix from Debian Linux. Timeout
4702 values (17 and 5) were mistakenly swapped.
4703
4704Wed Jul 23 15:53:25 1997 Erez Zadok <ezk@felix.psl.cs.columbia.edu>
4705
4706 * conf/nfs_prot/nfs_prot_sunos5_3.h: turn off non-existent NFS V.3
4707 support for Solaris 2.4 (the header files incorrectly define parts
4708 of the NFS V.3 protocol, but the kernel does not support it).
4709
4710Wed Jul 23 00:07:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4711
4712 * amd/info_hesiod.c: minor cleanup to use hes_init and hesiod_init
4713 for determining if using old or new hesiod libraries,
4714 respectively.
4715
4716 * amd/ops_nfs.c (mount_nfs_fh): If "noconn" option exists in NFS
4717 V.3 then use non-connected sockets (both TCP and UDP). Otherwise
4718 they cause hangs of mounts from multi-homed hosts when the return
4719 route is not the same as the outgoing route (esp. on NetBSD
4720 1.2.1). If "conn" option was supplied, then don't turn on the
4721 "noconn" mount option. Otherwise default to "noconn" mount
4722 option.
4723
4724 * aux/configure.in: better check for systems that need libgdbm and
4725 <ndbm.h>
4726
4727Tue Jul 22 04:02:05 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4728
4729 * hlfsd/hlfsd.c (main), amd/ops_afs.c (mount_toplvl): ensure that
4730 mounts are hidden from df(1) on systems that keep mount tables in
4731 kernel, such as osf1.
4732
4733Tue Jul 22 02:26:55 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4734
4735 *******************************************************************
4736 *** Released am-utils-6.0a8 ***
4737 *******************************************************************
4738
4739Mon Jul 21 21:33:19 1997 Erez Zadok <ezk@stone.mcl.cs.columbia.edu>
4740
4741 * hlfsd/hlfsd.c (main): bug fixed: forgot to set sin_family to
4742 AF_INET when hlfsd mounts itself, thus getting an errno "protocol
4743 family not supported".
4744
4745Mon Jul 21 20:46:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4746
4747 * verified that amd on NetBSD 1.2.1 (i386) works, but the OS
4748 itself is flaky.
4749
4750 * verified that amd AIX 3 works w/ the new readdir() code.
4751
4752Mon Jul 21 18:59:30 1997 Erez Zadok <ezk@chestnut.mcl.cs.columbia.edu>
4753
4754 * amd/mapc.c (maptypes): changed the default map caching type for
4755 nis and ndbm maps to "MAPC_ALL", so that all possible entries will
4756 be available to amd for browsable_dirs=yes.
4757
4758Mon Jul 21 18:04:16 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4759
4760 * amd/ops_afs.c (afs_readdir, afs_readdir_browsable): split
4761 afs_readdir into a browsable version and a non-browsable one.
4762 Fixed bugs that resulted in an infinite nfs_readdir loop on the
4763 localhost for some operating systems.
4764
4765Sat Jul 19 19:38:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4766
4767 * amd/ops_afs.c (afs_readdir): fixed up the browsable code to
4768 comply with nfs_readdir specs. It was returning all entries at
4769 once, even if there was not enough space in the RPC packet. Now,
4770 it sends a reasonably sized chunk, and sets static state to resume
4771 it for the next continuation RPC of readdir.
4772
4773 * amd/conf.c (set_conf_kv): fixed bug that resulted in the first
4774 regular map not getting all of the [global] options defaulted from.
4775
4776Fri Jul 18 00:45:12 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4777
4778 * amq/amq.c (main): fixed so that portmapper "ping" will only fail
4779 upon an RPC timeout
4780
4781 * scripts/ctl-{amd,hlfsd}.in (killproc): better method to find the
4782 amd/hlfsd process to kill.
4783
4784 * amd/ops_afs.c (mount_toplvl), hlfsd/hlfsd.c (main): code to
4785 determine how to avoid df from seeing amd's toplvl mounts. Moved
4786 from libamu/mount_fs.c and include/am_utils.h. Ensure that hlfsd
4787 is hidden from df.
4788 (mount_toplvl): fixed df types for irix.
4789
4790Thu Jul 17 21:59:45 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
4791
4792 * amq/amq.c (main): fixed bug that caused the 5 second timeout for
4793 TLI amq using udp to be ignored.
4794 (main): if amq cannot contact remote host's portmapper within 5
4795 seconds, timeout and fail faster than the default longer timeout
4796 (this is for non-TLI systems).
4797
4798Thu Jul 17 17:08:13 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4799
4800 * amq/amq.c (get_secure_amd_client): if amq cannot contact
4801 remote host's portmapper within 5 seconds, timeout and fail faster
4802 than the default TLI timeout of over 4 minutes.
4803
4804 * amd/am_ops.c (ops_showfstypes): added styles for new bsd44
4805 file systems nullfs, unionfs, and umapfs.
4806 (ops_show1): cleanup code and and reuse this function.
4807 (vops): empty placeholders for nullfs, unionfs, and umapfs.
4808
4809 * amd/ops_{nullfs, unionfs, umapfs}.c: 3 new empty templates for
4810 bsd44 style file systems.
4811
4812 * fsinfo/fsinfo.8: man page for fsinfo rewritten from bsd44
4813 sources.
4814
4815 * amd/conf_tok.l, fsinof/fsi_lex.c: undefine ECHO to avoid
4816 conflict with systems that define it in <sys/ioctl.h> and also
4817 define a conflicting one via lex. Newer versions of f/lex are ok.
4818
4819Wed Jul 16 00:17:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4820
4821 * amd/ops_nfs.c (mount_nfs_fh): fill in nfs_args' fields
4822 acdirmin/max and acregmin/max only if they exist.
4823
4824 * aux/configure.in: test for nfs_args fields acdirmin and
4825 acregmin.
4826
4827Tue Jul 15 17:24:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4828
4829 * aux/configure.in: commented out checking for MNT2_GEN_OPT_* for
4830 "nondev" and commented back in checking for "nodev". This was a
4831 typo.
4832
4833 * include/am_compat.h: more compatibility options: define "ro"
4834 mnttab option all the time. Define "overlay" as needed. Added
4835 more fillers of mnttab options (as per Daniel S. Riley
4836 <dsr@mail.lns.cornell.edu>), for acdirmax, acdirmin, acregmax,
4837 acregmin, noac, grpid, nosuid, and actimo.
4838
4839 * libamu/mount_fs.c (mnt_flags): fixed a typo in "ro" option as
4840 per dsr@mail.lns.cornell.edu (Daniel S. Riley). Then cleaned up
4841 the same code for other options in struct opt_tab.
4842
4843Mon Jul 14 22:36:37 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4844
4845 * amd/get_args.c (get_args): moved amd.conf file parsing to before
4846 the switching the default log/debug options. Suggested by
4847 dsr@mail.lns.cornell.edu (Daniel S. Riley).
4848
4849 * aux/update_build_version: new script to record the build version
4850 of amd, along with the rest of the info thet comes up with amd -v.
4851
4852Sun Jul 13 00:30:24 1997 Erez Zadok <ezk@decca.damtp.cam.ac.uk>
4853
4854 * aux/macros/os_cflags.m4: new macro, to add additional
4855 compilation options (also used during configuration), based on the
4856 OS and the compiler. Used for solaris-2.6, osf, and irix6.
4857
4858Fri Jul 11 10:15:11 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4859
4860 * amd/conf_tok.l, conf_parse.y: allow values of keys to include
4861 white spaces, if they are double-quoted (key="some value")
4862
4863 * amd/info_hesiod.c (hesiod_search): cleanup and minor bug fixes
4864 of hesiod from Danny Braniss <danny@cs.huji.ac.il>.
4865
4866Fri Jul 11 02:16:06 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4867
4868 *******************************************************************
4869 *** Released am-utils-6.0a7 ***
4870 *******************************************************************
4871
4872Thu Jul 10 12:19:25 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4873
4874 * include/am_defs.h: fill in extern definition of innetgr() in
4875 case system headers don't.
4876
4877 * aux/macros/path_prog_lex.m4 aux/configure.in: using macros that
4878 will show the full pathname to yacc/bison and f/lex. Some systems
4879 have older or bad versions of those and this way the user will
4880 know for sure what is being invoked.
4881
4882 * tasks: file populated with todo items.
4883
4884 * scripts/amd2ldif.in: Script to convert amd maps to plain text
4885 LDAP object files. Contributed by Leif Johansson
4886 <leifj@matematik.su.se>.
4887
4888 * aux/config.guess: added recognition for sun3's running 4.2bsd,
4889 from Tom Schmidt <tschmidt@micron.com>. Fixed one small typo.
4890
4891 * amd/conf.c: several variables that were local to a map, were
4892 also added to [global], where they apply to all maps. Each map
4893 can then individually override those defaults. Flags
4894 affected: browsable_dirs and mount_type. Options affected:
4895 map_type, map_options, and search_path.
4896
4897 * amd/amd.h: eliminated several global flags each of which took an
4898 int, in favor of one global flags variable used as a bit field.
4899
4900 * amd/amd.c (init_global_options): moved all global variables into
4901 a single struct amu_global_options, so it is easier to add new
4902 ones and/or identify existing ones.
4903
4904 * amd/get_args.c (get_args): removed unused amd -m option.
4905
4906 * amd/conf.c (gopt_cluster): added new amd.conf option for cluster
4907 name, same as amd -C.
4908
4909 * amd/info_ldap.c: LDAP info map functions from Leif Johansson
4910 <leifj@matematik.su.se>.
4911
4912 * amd/conf.c (gopt_ldap_base, gopt_ldap_hostports): put in global
4913 amd.conf options for ldap_base and ldap_hostports.
4914
4915 * amd/opts.c (f_netgrp): new amd map function netgrp(ARG) to test
4916 if the current host is in the ARG host netgroup.
4917
4918 * aux/configure.in: some systems replaced dbm in libc with GNU's
4919 libgdbm, so check for libgdbm, but only if dbm_open is not in
4920 libc already. This was a recommendation from Tom Schmidt
4921 <tschmidt@micron.com>.
4922
4923 * conf/nfs_prot/nfs_prot_sunos5_3.h: port to sparc-sun-solaris2.3
4924 completed.
4925
4926Wed Jul 9 18:14:59 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4927
4928 * port to sparc-unknown-netbsd1.2E done, not tested. Includes NFS
4929 V.3.
4930
4931Tue Jul 8 17:35:07 1997 Erez Zadok <ezk@elk.mcl.cs.columbia.edu>
4932
4933 * port to i386-unknown-freebsd3.0 done and working. Includes NFS
4934 V.3.
4935
4936 * aux/macros/check_nfs_fh_dref.m4: freebsd3 should use
4937 file handle dereferencing style similar to freebsd22.
4938
4939 * include/am_defs.h: need to include <net/if_var.h> before
4940 <netinet/if_ether.h> on freebsd3.
4941
4942 * conf/nfs_prot/nfs_prot_freebsd3.h: new protocol header additions
4943 for freeBSD 3.0.
4944
4945Tue Jul 8 16:53:41 1997 Erez Zadok <ezk@moisil.cs.columbia.edu>
4946
4947 * amd/info_nis.c (nis_reload): cast nis' callback function so
4948 picky compilers won't complain.
4949
4950 * libamu/xdr_mountres3.c (xdr_mountres3): make sure this function
4951 gets compiled only if the system has NFS V3 and does not have
4952 xdr_mountres3.
4953
4954Tue Jul 8 12:42:03 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4955
4956 * COPYING: put in some legal stuff in this file.
4957
4958Mon Jul 7 19:10:44 1997 Erez Zadok <ezk@prometheus.soscorp.com>
4959
4960 * NFS V3 now works under Irix5, thanks to patches from
4961 Andreas Stolcke <stolcke@speech.sri.com>.
4962
4963 * conf/mount/mount_irix5.c: sparate mount_irix.c into an irix5
4964 version and an irix6 version, since irix5's NFS V3 code is broken
4965 and hacky.
4966
4967 * amd/info_hesiod.c (hs_zone_transfer): minor fixes to buffer
4968 sizes for some hesiod queries. Patch from Danny Braniss
4969 <danny@cs.huji.ac.il>.
4970
4971Mon Jul 7 19:04:14 1997 Erez Zadok <ezk@glory.soscorp.com>
4972
4973 * amd/ops_nfs.c (mount_nfs_fh): fixed NFS V.3 support for bsdi3.
4974
4975Sun Jul 6 14:22:24 1997 Erez Zadok <ezk@glory.soscorp.com>
4976
4977 * aux/{configure.in,acconfig.h}: added checks for struct
4978 nfs_args's fields proto and sotype (bsdi3).
4979
4980 * amd/ops_nfs.c (mount_nfs_fh): added nfsv3 option to
4981 nfs_args.flags for bsdi3. Set field proto to 0. Set sotype field
4982 to SOCK_STREAM or SOCK_DGRAM.
4983
4984 * aux/macros/check_mount_style.m4: add case for bsdi3.
4985
4986 * amd/info_hesiod.c: got hesiod support for bsdi3.
4987
4988Sun Jul 6 11:14:47 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4989
4990 * aux/configure.in: look for hesiod on libc (bsdi3)
4991
4992 * amd/get_args.c (get_args): reformat usage so it fits in 80
4993 columns.
4994
4995 * scripts/ctl-amd.in: changed directory name for optional tftpboot
4996 map to /tftpboot/.amd.
4997
4998Sat Jul 5 17:46:45 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
4999
5000 *******************************************************************
5001 *** Released am-utils-6.0a6 ***
5002 *******************************************************************
5003
5004Sat Jul 5 03:17:09 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5005
5006 * scripts/ctl-amd.in: include -T tag for tftpboot.
5007
5008 * new port: mips-sgi-irix5.3. Compiled with gcc, but NFS V3 code
5009 is broken and needs work on the specific nfs_args that irix5 uses
5010 for V3 mounts.
5011
5012Sat Jul 5 01:44:25 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5013
5014 * amd/get_args.c (get_args): new options amd -T tag. A map with
5015 tag=foo matching the -T tag will be processed. All untagged maps
5016 get processed all the time.
5017
5018Fri Jul 4 16:19:26 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5019
5020 * aux/configure.in: need to check for strcasecmp in libucb (ncr2)
5021
5022 * aux/macros/check_os_libs.m4: a new macro to set the usage of
5023 libnsl and libsocket based on the OS.
5024
5025 * libamu/mount_fs.c (mnt_flags): used MNTTAB_OPT_GRPID if it is
5026 defined (problem on osf4).
5027
5028 * conf/nfs_prot/nfs_prot_irix5.h: new file for irix5 headers.
5029
5030 * include/am_defs.h, aux/macros/try_compile_nfs.m4,
5031 aux/macros/mount_headers.m4: do include <sys/proc.h> because it
5032 failes on irix5. Rather, put in the individual
5033 conf/nfs_prot/nfs_prot_*.h headers.
5034
5035 * amd/conf.c: AIX3 doesn't like strdup() being passed a constant
5036 char*, so cast all strdup()'s args to a non-const char*.
5037
5038 * amd/mapc.c (root_newmap): don't try to strdup only a "const
5039 char *".
5040
5041Fri Jul 4 15:47:10 1997 Erez Zadok <ezk@americas.psl.cs.columbia.edu>
5042
5043 * conf/nfs_prot/nfs_prot_sunos4.h: added rpc/rpc.h and
5044 sys/errno.h.
5045
5046Thu Jul 3 17:49:00 1997 Erez Zadok <ezk@prometheus.soscorp.com>
5047
5048 * made sure am-utils compiles, links, and runs properly on Irix
5049 6.2 using "cc -32 -Wl,-woff,"
5050
5051 * aux/macros/check_lib2.m4: a bug fix version to autoconf 2.12
5052 AC_CHECK_LIB. If OTHER-LIBRARIES are defined and used, then add
5053 them to $LIBS.
5054
5055 * aux/configure.in: some cleanup of which libraries are needed.
5056 Espectially ensure that libnsl is included only on Solaris, where
5057 so far it is the only system on which it is absolutely necessary.
5058 Also no longer need to include libc explicitly.
5059
5060 * amd/amd.c,wire-test/wire-test.c (main): convert IP address to
5061 network-long order before printing it.
5062
5063 * wire-test/wire-test.c (main): also check and report on the IP
5064 address of the local host, since some systems have bad versions of
5065 get_myaddress, or ones that conflict with other versions in
5066 multiple libraries (SunOS 4 and Irix especially).
5067
5068Wed Jul 2 18:19:02 1997 Erez Zadok <ezk@starblazers.soscorp.com>
5069
5070 * scripts/ctl-amd.in: don't use full pathname so killproc() works
5071 better. Also run bsd44 and irix style ps programs.
5072
5073 * aux/macros/check_lib_funcs.m4: bug fixed: used to define usage
5074 of library no matter if it was found or not.
5075
5076Wed Jul 2 02:11:48 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5077
5078 * aux/macros/check_mnt2_gen_opt.m4: turned back on the checking
5079 for M_* macros, but ensure that <sys/stream.h> is not included at
5080 all so it won't conflict with other M_* macros.
5081
5082Tue Jul 1 21:16:51 1997 Erez Zadok <ezk@mako.cs.columbia.edu>
5083
5084 * conf/mount/mount_irix.c (mount_irix): first arg to mount(2) on
5085 irix should be "spec" (host:/path), not the dir of the mnt point.
5086
5087 * amd/ops_afs.c (afs_lookuppn): bug in enable_default_selectors
5088 fixed. If on, it essentially ignored the setting in a
5089 selector-controlled /defaults if there were 2 or more entries in it.
5090
5091Tue Jul 1 12:23:38 1997 Erez Zadok <ezk@shekel.mcl.cs.columbia.edu>
5092
5093 * scripts/ctl-{amd,hlfsd}.in (killproc): if failed to find process
5094 using BSD style ps, then try SVR4 style ps.
5095
5096 * include/am_utils.h (amuDebug): renamed Debug macro to amuDebug
5097 etc., to avoid conflicts with similar named macros in <ldap.h>.
5098
5099 * aux/configure.in, amd/info_ldap.c, etc.: put in all the autoconf
5100 support needed for LDAP. Now the code has to be written mostly in
5101 amd/info_ldap.c.
5102
5103 * Included additional patches from Andreas Stolcke
5104 <stolcke@speech.sri.com> to support using the best possible
5105 combination of NFS version (2,3) and protocol (udp,tcp) for any
5106 given host, since it appears that some Irix versions have NFS V3,
5107 but do not support TCP.
5108
5109 * scripts/ctl-amd.in: updated amd control script to look for and
5110 use amd.conf file.
5111
5112Tue Jul 1 00:28:23 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5113
5114 * amd/mapc.c (mapc_create): now, each map in the amd.conf can be
5115 initialized off of a different type, or default to cycling through
5116 all maps until one of them matches.
5117
5118Mon Jun 30 20:49:13 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5119
5120 * amd/ops_afs.c (afs_readdir): per-map browsing (readdir) done.
5121 if browsable_dirs=yes is set in the map section in amd.conf, that
5122 map will return all entries back to a readdir(2).
5123
5124Sun Jun 29 16:22:11 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5125
5126 * rudimentary amd.conf file support included. You may even
2523 override things like os=sos5, to get "backwards" compatibilty with
2524 upl102.
2525
2526Sat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
2527
2528 * amd/conf.c: new file to process amd.conf file.
2529
2530 * amd/get_args.c (get_args): new options -H to print help.

--- 821 unchanged lines hidden ---
5127 override things like os=sos5, to get "backwards" compatibilty with
5128 upl102.
5129
5130Sat Jun 28 13:35:02 1997 Erez Zadok <ezk@lorien.cs.columbia.edu>
5131
5132 * amd/conf.c: new file to process amd.conf file.
5133
5134 * amd/get_args.c (get_args): new options -H to print help.

--- 821 unchanged lines hidden ---