]> git.decadent.org.uk Git - nfs-utils.git/blob - ChangeLog
45e7d4121d7f8f42076f7a6a1eac50ac5c30dccc
[nfs-utils.git] / ChangeLog
1 2000-09-01  Jay Weber <jweber@valinux.com>
2
3         * etc/redhat/nfs.init: Added ability for rpc.mountd to default to
4         supporting version 3 of nfs if available, else it will fall back to
5         version 2 support only.
6
7 2000-08-30  H.J. Lu <hjl@lucon.org>
8
9         * configure.in (VERSION): Set to "0.2".
10         * configure: Regenerated.
11         * nfs-utils.spec: Updated.
12
13 2000-08-25  H.J. Lu <hjl@lucon.org>
14
15         * support/misc/tcpwrapper.c (logit): Modify the log output.
16
17 2000-08-25  Ion Badulescu  <ionut@cs.columbia.edu>
18
19         * utils/rquotad/rquotad.man, utils/statd/statd.man,
20         utils/mountd/mountd.man: updated
21         
22         * utils/mountd/Makefile (LIBS): added -lmisc $(LIBWRAP) $(LIBNSL)
23         * utils/rquotad/Makefile: fix comment
24
25         * support/misc/tcpwrapper.c (logit): added comment about waiting
26         for the children after fork()
27         
28         * utils/mountd/mountd.c (main): ignore SIGCHLD to prevent leaving
29         zombies behind (from logit()'s fork)
30         * utils/rquotad/rquota_svc.c (main): ditto
31         * utils/statd/statd.c (main): ditto
32
33         * utils/rquotad/rquota_svc.c (rquotaprog_1): pass RQUOTAPROG
34         to check_default instead of 0, for prognum
35
36         * utils/statd/statd.c (sm_prog_1_wrapper): pass SM_PROG
37         to check_default instead of 0, for prognum
38
39         * utils/mountd/mount_dispatch.c: Include "tcpwrapper.h" if
40         HAVE_TCP_WRAPPER is defined.
41         (mount_dispatch): Call check_default () if HAVE_TCP_WRAPPER is
42         defined. Reject an RPC call if check_default () fails.
43
44 2000-08-25  H.J. Lu <hjl@lucon.org>
45
46         * support/include/tcpwrapper.h: New for the tcp wrapper
47         support.
48         * support/misc/Makefile: Likewise.
49         * support/misc/from_local.c: Likewise.
50         * support/misc/tcpwrapper.c: Likewise.
51
52         * aclocal.m4 (AC_TCP_WRAPPER): New.
53         * configure.in: Use it. Substitute LIBWRAP.
54         * configure: Rebuilt.
55
56         * config.mk.in (LIBNSL): New.
57         (LIBWRAP): Likewise.
58
59         * support/Makefile (SUBDIRS): Add misc.
60
61         * support/lib/Makefile (LIBS): Add libmisc.a.
62
63         * utils/rquotad/Makefile (LIBS): Add
64         
65                 -lmisc $(LIBWRAP) $(LIBNSL)
66
67         * utils/statd/Makefile (LIBS): Likewise.
68
69         * utils/rquotad/rquota_svc.c: Include "tcpwrapper.h" if
70         HAVE_TCP_WRAPPER is defined.
71         (rquotaprog_1): Call check_default () if HAVE_TCP_WRAPPER is
72         defined. Reject an RPC call if check_default () fails.
73
74         * utils/statd/statd.c: Include "tcpwrapper.h" if
75         HAVE_TCP_WRAPPER is defined.
76         (sm_prog_1_wrapper): New. A wrapper for sm_prog_1. Call
77         check_default () before calling sm_prog_1 (). Define it as
78         sm_prog_1_wrapper if HAVE_TCP_WRAPPER is defined.
79
80 2000-08-25  Chip Salzenberg  <chip@valinux.com>
81
82         * debian/*: Complete Debian build support.
83         * etc/debian/*: Remove.
84
85 2000-08-24  Neil Brown <neilb@cse.unsw.edu.au>
86
87         * support/export/client.c(client_check): removed the "dot+1" as a
88           ypdomain argument to innetgr as this is entirely bogus.
89           It should always be NULL.
90         
91 2000-08-23  Neil Brown <neilb@cse.unsw.edu.au>
92
93         * support/export/xtab.c(xtab_read): introduce new mode for
94            reading xtab. i.e. a list of exports that might be known to the
95            kernel, or might not.  These are flagged as m_exported == -1
96         * support/export/xtab.c(xtab_mount_read):  call xtab_read with new
97            value "2" for xtab, meaning don't trust this too much.
98         * support/include/exportfs.h(struct mexport): changed m_exported
99            from one bit to an int so that it can hold new value
100         * utils/exportfs/exportfs.c(exportfs_ipdate): add an export to the
101            kernel if it is uncertain whether the kernel knows (m_exported == -1)
102         * utils/mountd/mountd.c(get_rootfh): similarly export to kernel if
103            status is uncertain
104
105         * support/nfs/xio.c(xflock): added O_CREAT when getting
106            a write lock so that missing files aren't fatal.
107
108         * etc/debian/nfs-common: new file from "potato"
109         * etc/debian/nfs-kernel-server: new file from "potato" plus fixes.
110          
111 2000-08-09  H.J. Lu <hjl@lucon.org>
112
113         * etc/redhat/nfs.init: Run /usr/sbin/exportfs first during
114         startup to ensure all existing clients work fine.
115
116         * support/export/xtab.c (xtab_mount_read): Pass 1 instead of 0
117         to xtab_read () for reading _PATH_XTAB.
118
119 2000-08-02  H.J. Lu <hjl@lucon.org>
120
121         * utils/mountd/auth.c (auth_authenticate_internal): Try to
122         avoid the reverse name lookup.
123
124 2000-07-04  H.J. Lu <hjl@lucon.org>
125
126         * utils/statd/log.c: Include <stdlib.h> for exit ().
127
128         * utils/statd/misc.c (xunlink): Add `{' and `}' to quiet the
129         gcc warning.
130
131 2000-07-04  H.J. Lu <hjl@lucon.org>
132
133         * configure.in (VERSION): Set to "0.1.9.1".
134         * configure: Regenerated.
135         * nfs-utils.spec: Updated.
136
137         * README: Updated.
138
139 2000-07-04  Neil Brown  <neilb@cse.unsw.edu.au>
140
141         * support/export/hostname.c (hostent_dup): Handle the NULL
142         h_aliases field.
143
144 2000-07-03  H.J. Lu <hjl@lucon.org>
145
146         * README: Update the util-linux requirement.
147
148 2000-07-03  H.J. Lu <hjl@lucon.org>
149
150         * configure.in (VERSION): Set to "0.1.9".
151         * configure: Regenerated.
152         * nfs-utils.spec: Updated.
153
154         * README: Updated.
155
156 2000-07-03  H.J. Lu <hjl@lucon.org>
157
158         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
159         stop to ensure all clients can still access the server
160         before it is shutdown.
161
162 2000-06-30  Jeff Uphoff <juphoff@transmeta.com>
163
164         * tools/rpcgen/rpc_svcout.c (write_msg_out): Generate syslog()
165         calls with format string.
166         
167 2000-06-28  Chip Salzenberg  <chip@valinux.com>
168
169         * utils/statd/log.c (log): Call syslog with format string.
170
171 2000-06-27  H.J. Lu <hjl@lucon.org>
172
173         * utils/statd/statd.c (main): Use sysconf (_SC_OPEN_MAX)
174         instead of OPEN_MAX.
175
176 2000-06-27  H.J. Lu <hjl@lucon.org>
177
178         * README: Updated.
179
180 2000-06-27  H.J. Lu <hjl@lucon.org>
181
182         * etc/redhat/nfs.init: Run /usr/sbin/exportfs last during
183         startup to ensure all existing clients are exported.
184
185         * configure.in (VERSION): Set to "0.1.8.2".
186         * configure: Regenerated.
187         * nfs-utils.spec: Updated.
188
189 2000-06-06  H.J. Lu <hjl@lucon.org>
190
191         * configure.in (VERSION): Set to "0.1.8.1".
192         * configure: Regenerated.
193         * nfs-utils.spec: Updated.
194
195 2000-06-06  H.J. Lu <hjl@lucon.org>
196
197         * utils/mountd/mountd.c (mount_dump_1_svc): Cast svc_getcaller
198         to "struct sockaddr_in *" for glibc 2.2.
199         (mount_umnt_1_svc): Likewise.
200         (mount_umntall_1_svc): Likewise.
201         (mount_export_1_svc): Likewise.
202         (mount_exportall_1_svc): Likewise.
203         (mount_pathconf_2_svc): Likewise.
204         (get_rootfh): Likewise.
205
206 2000-06-04  H.J. Lu <hjl@lucon.org>
207
208         * etc/redhat/nfs.init: Fix a typo in comment.
209
210 2000-05-31  H.J. Lu <hjl@lucon.org>
211
212         * configure.in (VERSION): Set to "0.1.8".
213         * configure: Regenerated.
214         * nfs-utils.spec: Updated.
215
216         * README: Updated.
217
218 2000-05-31  H.J. Lu <hjl@lucon.org>
219
220         * configure.in (VERSION): Set to "0.1.7.5".
221         * configure: Regenerated.
222         * nfs-utils.spec: Updated.
223
224         * support/include/nfslib.h (exportent): Add a new field,
225         r_count, to count the number of mounts from a client.
226         (getrmtabent): Take a new argument for position in file.
227         (putrmtabent): Likewise.
228         (fgetrmtabent): Likewise.
229         (fputrmtabent): Likewise.
230         * support/nfs/rmtab.c (getrmtabent): Handle the new argument
231         for position in file.
232         (fgetrmtabent): Likewise.
233         (putrmtabent): Likewise.
234         (fputrmtabent): Likewise.
235
236         * support/nfs/rmtab.c (fgetrmtabent): Get value for the new
237         field, r_count.
238
239         * support/export/rmtab.c (rmtab_read): Pass NULL as the new
240         argument to getrmtabent (), fgetrmtabent (), putrmtabent ()
241         and fputrmtabent ().
242         * utils/mountd/rmtab.c (mountlist_add): Likewise.
243         (mountlist_del): Likewise.
244         (mountlist_del_all): Likewise.
245         (mountlist_list): Likewise.
246
247         * utils/mountd/rmtab.c (mountlist_add): Increment "r_count"
248         for the existing entry and initialize "r_count" to 1.
249         (mountlist_del): Decrement "r_count".
250
251 2000-05-18  H.J. Lu <hjl@lucon.org>
252
253         * configure.in (VERSION): Set to "0.1.7.4".
254         * configure: Regenerated.
255         * nfs-utils.spec: Updated.
256
257 2000-05-18  H.J. Lu <hjl@lucon.org>
258
259         * etc/redhat/nfs.init (restart): Just do stop and start.
260
261 2000-05-09  Jay Weber <jweber@valinux.com>
262
263         * utils/rquotad/hasquota.c: added support for ext3 recognition
264         in rquotad.
265         * utils/rquotad/mntent.h: Likewise.
266
267 2000-05-01  H.J. Lu <hjl@lucon.org>
268
269         * configure.in (VERSION): Set to "0.1.7.3".
270         * configure: Regenerated.
271         * nfs-utils.spec: Updated.
272
273 2000-05-01  H.J. Lu <hjl@lucon.org>
274
275         * utils/rquotad/rquota_server.c (getquotainfo): Skip bad
276         mounting poins in /etc/fstab.
277
278 2000-05-01  H.J. Lu <hjl@lucon.org>
279
280         * configure.in (VERSION): Set to "0.1.7.2".
281         * configure: Regenerated.
282         * nfs-utils.spec: Updated.
283
284 2000-05-01  H.J. Lu <hjl@lucon.org>
285
286         * utils/rquotad/rquota_server.c (getquotainfo): Call stat ()
287         to check for the mounting point.
288
289 2000-04-29  Chip Salzenberg  <chip@valinux.com>
290             Neil Brown  <neilb@cse.unsw.edu.au>
291
292         * Really re-use RPC ports.
293           (Fixes earlier patch.  Sorry, Neil.)
294
295 2000-04-26  H.J. Lu <hjl@lucon.org>
296
297         * configure.in (VERSION): Set to "0.1.7.1".
298         * configure: Regenerated.
299         * nfs-utils.spec: Updated.
300
301 2000-04-26  H.J. Lu <hjl@lucon.org>
302
303         * etc/redhat/nfslock.init: Check if lockd exits before killing
304         it.
305
306 2000-04-25  H.J. Lu <hjl@lucon.org>
307
308         * README: Require util-linux-2.10f-mount-rpc.patch for mount.
309
310 2000-03-21 Michael Weiser <michael@weiser.saale-net.de>
311
312         * support/nfs/exports.c (parsesquash): Correctly set the
313         return pointer.
314
315 Tue Mar 21 11:38:48 EST 2000 NeilBrown <neilb@cse.unsw.edu.au>
316
317         * support/include/nfs/nfs.h: Removed knowledge of internals of
318              kernel filehandles (which can change) and defined nfs_fh_size
319              which has variable size
320         
321         * support/nfs/getfh.c: defined getfh_size to use new syscall to
322              get variable sized file handles, and change getfh{,old} to
323              use nfs_fh_size        
324         
325         * utils/mountd/mountd.c: use nfd_fh_size and call getfh_size for
326              NFSv3 file handles
327
328         * tools/Makefile, tools/nlmtest/nlmtest.c
329              nlmtest.c depended on internel format of file handles, so now
330              doesn't work.
331
332         
333 2000-03-12  Chip Salzenberg  <chip@valinux.com>
334             Neil Brown  <neilb@cse.unsw.edu.au>
335
336         * support/nfs/rpcmisc.c (rpc_init): Share transports.
337
338 2000-03-13 H.J. Lu <hjl@lucon.org>
339
340         * etc/redhat/nfsd.init: Updated.
341
342         * etc/redhat/nfslock.init: Updated.
343
344         * nfs-utils.spec.in: Updated.
345
346         * configure.in (VERSION): Set to "0.1.7".
347         * configure: Regenerated.
348         * nfs-utils.spec: Updated.
349
350         * README: Updated.
351
352 Wed Mar  8 09:42:43 2000 Neil Brown <neilb@cse.unsw.edu.au>
353
354         * utils/exportfs/exportfs.c (dump): Included printing of
355            nohide, no_subtree_check, and insecure_locks
356
357 2000-02-26  Chip Salzenberg  <chip@valinux.com>
358
359         * config.mk.in (INSTALLSUID): Strip ("-s").
360         (INSTALLSCRIPT): Define.
361         * utils/nhfsstone/Makefile: Use it.
362
363 2000-02-26  Chip Salzenberg  <chip@valinux.com>
364
365         * utils/lockd/lockd.man: Create.
366         * utils/lockd/Makefile: Install it.
367         * utils/nhfsstone/nhfs{run,nums,graph}.man: Create.
368         * utils/nhfsstone/nhfsstone.man: Change suffix from ".1".
369         * utils/nhfsstone/Makefile: Install the helper scripts and
370           all four man pages.
371         * utils/exportfs/exports.man: Fix typo.
372
373 2000-02-26  Chip Salzenberg  <chip@valinux.com>
374
375         * support/nfs/xio.c (xungetc): Decrement line number when
376         character to unget is newline.  Make first parameter int, so
377         it can distinguish EOF from \377.
378         * support/include/xio.h (xungetc): Adjust prototype.
379
380 Fri Feb  4 23:42:23 2000 Neil Brown <neilb@cse.unsw.edu.au>
381
382         * support/include/nfs/export.h: added NFSEXP_NOAUTHNLM
383         * support/nfs/exports.c: added handling for NFSEXP_NOAUTHNLM
384         * utils/exportfs/exports.man: added documentation for no_auth_nlm.
385
386         This is for supporting a new option introduced in 2.3.42
387
388 Thu Feb  3 14:55:48 2000 H.J. Lu <hjl@lucon.org>
389
390         * COPYING: Added. GPL.
391
392 Thu Feb 03 14:40:40 2000 Cristian Gafton <gafton@redhat.com>
393
394         * utils/rquotad/rquota_server.c (getquotainfo): Call statfs ()
395         to get the block size.
396
397 Tue Jan 25 11:04:17 2000 H.J. Lu <hjl@lucon.org>
398
399         * nfs-utils.spec.in: Update ftp site.
400
401 Mon Jan 17 11:48:18 2000 H.J. Lu <hjl@lucon.org>
402
403         * README: Update hostnames.
404
405 Tue Jan 11 10:06:22 2000 H.J. Lu <hjl@lucon.org>
406
407         * configure.in (VERSION): Set to "0.1.6".
408         * configure: Regenerated.
409         * nfs-utils.spec: Updated.
410
411         * README: Updated.
412
413 Mon Jan 10 14:26:33 2000 H.J. Lu <hjl@lucon.org>
414
415         * utils/mountd/auth.c (auth_authenticate_internal): Call
416         xstrdup for hostname before passing it to gethostbyname.
417
418         * utils/mountd/mountd.c (get_exportlist): Use xstrdup instead
419         of strdup.
420
421 Sun Dec 19 09:35:01 1999  H.J. Lu <hjl@lucon.org>
422
423         * README: Update the mailing list address.
424
425 Sun Dec 19 09:22:28 1999  H.J. Lu <hjl@lucon.org>
426
427         * configure.in (VERSION): Set to "0.1.5".
428         * configure: Regenerated.
429         * nfs-utils.spec: Updated.
430
431         * README: Updated.
432
433 Mon Dec 13 13:40:20 1999  H.J. Lu <hjl@lucon.org>
434
435         * utils/rquotad/hasquota.c (hasquota): Malloc one more char
436         for '/'.
437
438 Mon Dec  6 09:42:45 1999  H.J. Lu <hjl@lucon.org>
439
440         * configure.in (VERSION): Set to "0.1.4".
441         * configure: Regenerated.
442         * nfs-utils.spec: Updated.
443
444         * README: Updated.
445
446 Mon Dec  6 09:28:07 1999  H.J. Lu <hjl@lucon.org>
447
448         * nfs-utils.spec.in: New file.
449
450         * config.mk.in (VERSION): Changed to "nfs-utils @VERSION@".
451
452         * configure.in (nfs-utils.spec): Added to AC_OUTPUT.
453
454 1999-12-04  Chip Salzenberg  <chip@valinux.com>
455
456         * config.mk.in: Use $(CC) as set by configure.
457
458 1999-12-04  Chip Salzenberg  <chip@valinux.com>
459
460         * rules.mk: Call $(MAKE) with $(MFLAGS).
461
462 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
463
464         * tools/rpcgen/rpc_main.c (h_output): Generate IXDR_GET_INT32,
465         IXDR_PUT_INT32, IXDR_GET_U_INT32 and IXDR_PUT_U_INT32.
466
467 Mon Nov 29 11:17:35 1999  H.J. Lu <hjl@lucon.org>
468
469         * nfs-utils.spec (Version): Set to 0.1.3.
470
471         * configure.in (VERSION): Set to "nfs-utils 0.1.3".
472         * configure: Regenerated.
473
474         * README: Updated.
475
476 Mon Nov 29 11:15:47 1999  H.J. Lu <hjl@lucon.org>
477
478         * utils/rquotad/rquota_server.c (nfsmount_to_devname): Removed.
479         (_PATH_DEV_DSK): Likewise.
480         (getquotainfo): Match the mounting point from /etc/mtab
481         instead of calling nfsmount_to_devname ().
482
483 1999-11-24  Chip Salzenberg  <chip@valinux.com>
484
485         * utils/statd/monitor.c (sm_mon_1_svc): Accept lockd callbacks
486         to the new port 24 as well as the historical port 100021.
487
488 Tue Nov 23 10:21:34 1999 Neil Brown <neilb@cse.unsw.edu.au>
489
490         * etc/redhat/nfsd.init (stop): moved exportfs -ua after
491         stopping nfsd to stop spurious ESTALE on server shutdown.
492         
493 Tue Nov 23 10:13:39 1999  Neil Brown <neilb@cse.unsw.edu.au>
494
495         * support/nfs/exports.c (parseopts): make copy of opt string
496         before 'nul'ing out commas so that
497
498         # exportfs -o option1,option2 hosta:/fs hostb:/fs
499
500         applies both options to both exports.
501
502 Thu Oct 28 12:55:42 1999  H.J. Lu <hjl@lucon.org>
503
504         * README: Fix a few typos.
505
506         * tools/rpcgen/rpc_cout.c (print_header): Use int32_t instead
507         of long.
508         * tools/rpcgen/rpc_hout.c (pdefine): Likewise.
509         * tools/rpcgen/rpc_main.c (c_initialize): Likewise.
510         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
511         (unsigned_dec): Likewise.
512         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
513         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
514
515         * tools/rpcgen/rpc_cout.c (emit_single_in_line): Use INT32
516         instead of LONG.
517         * tools/rpcgen/rpc_parse.c (get_type): Likewise.
518         (unsigned_dec): Likewise.
519         * tools/rpcgen/rpc_scan.c (symbols): Likewise.
520         * tools/rpcgen/rpc_scan.h (tok_kind): Likewise.
521         * tools/rpcgen/rpc_util.c (tokstrings): Likewise.
522
523 Thu Oct 28 11:27:51 1999 Neil Brown <neilb@cse.unsw.edu.au>
524
525         * support/include/nfs/export.h addedd NFSEXP_NOSUBTREECHECK
526         * support/nfs/exports.c: added {no_,}subtree_check and changed
527           crossmnt to nohide
528         * utils/exportfs/exports.man: added no_subtree_check and nohide
529           and removed irrelevant stuff from unfsd.
530         * support/export/rmtab.c: rmtab_read didn't quite do the right
531           thing if a pathname from rmtab was a subdirectory of an export-point
532
533 Tue Oct 26 17:22:40 1999  H.J. Lu <hjl@lucon.org>
534
535         * README: Updated ftp site.
536
537 Mon Oct 25 18:12:45 1999  H.J. Lu <hjl@lucon.org>
538
539         * nfs-utils.spec (Version): Set to 0.1.2.
540
541         * configure.in (VERSION): Set to "nfs-utils 0.1.2".
542         * configure: Regenerated.
543
544         * README: Updated.
545
546 Mon Oct 25 18:11:21 1999  H.J. Lu <hjl@lucon.org>
547
548         * utils/mountd/auth.c (auth_error): Add "no_forward_dns".
549         (auth_authenticate_internal): Check for NULL return on forward
550         DNS lookup.
551         (auth_authenticate): Handle "no_forward_dns".
552
553 Thu Oct 21 16:22:06 1999  H.J. Lu <hjl@lucon.org>
554
555         * Version 0.1.1 released.
556
557         * nfs-utils.spec (Version): Set to 0.1.1.
558
559         * configure.in (VERSION): Set to "nfs-utils 0.1.1".
560         * configure: Regenerated.
561
562         * README: Updated.
563
564 Mon Oct 18 17:43:29 1999  H.J. Lu <hjl@lucon.org>
565
566         * nfs-utils.spec (Obsoletes): Fixed a typo, change knfsd-client
567         to knfsd-clients.
568         (Provides): Likewise.
569
570 Mon Oct 18 14:56:22 1999  H.J. Lu <hjl@lucon.org>
571
572         * Initial version 0.1 released.
573
574         * configure.in (VERSION): Set to "nfs-utils 0.1".
575         * configure: Regenerated.
576
577 Mon Oct 18 14:54:57 1999  H.J. Lu <hjl@lucon.org>
578
579         * utils/mountd/mountd.c (get_exportlist): Cleanup.
580
581         * utils/exportfs/exportfs.c (unexport_all): Unexport from
582         kernel only if the entry is exported to kernel.
583         (unexportfs): Likewise.
584
585 Wed Sep 08 16:49:32 1999  Neil Brown <neilb@cse.unsw.edu.au>
586
587 1/ utils/mountd/rmtab.c::mountlist_list
588
589      This routine stats the rmtab file to see if it has changed.  It
590      if has, it cleans up it's old copy of the data. But it still
591      always re-read the file, thus returning multiple copies of the
592      data on consecutive calls without intervening changes.
593      "Showmount -a" didn't show this as it appears to sort/unique the
594      data, but 'strace showmount -a' showed that the size of the
595      datagram that it received grew.
596
597      I moved the getrmtabent loop inside the mtime test.
598
599 2/ utils/exportfs/exportfs.c
600    
601      Many routines used the m_path field of m_export instead of
602      e_path.
603      According to the comment in nfslib.h, m_path should only
604      be used when processing a mount request (i.e. in mountd)
605      where the mountpoint may be a subdirectory of the export point.
606
607      I changed all occurances of m_path to e_path
608
609
610 3/ utils/exportfs/exportfs.c:main
611
612       extra arguments are not meaningful with -a or -r, but
613       exportfs accepted them and then ignored the -a/-r, expect that
614       -r would still unexport everything first.
615
616       I generate an error if there are extra args and f_all
617
618 4/ utils/exportfs/exportfs.c:main
619      extract dump out as a special case.
620
621 5/ utils/exportfs/exportfs.c
622      made f_reexport a local variable.
623
624
625 6/ utils/exportfs/exportfs.c:main,exportall
626
627     support/export/rmtab.c
628        only  mayexport on newly created entries, don't set xtabent at all
629
630 7/ support/include/nfslib.h
631
632       add #define _PATH_PROC_EXPORTS to be /proc/fs/nds/exports
633
634 8/ support/export/xtab.c
635
636       xtab_mount_read loads data from _PATH_PROC_EXPORTS if it exists,
637       else from xtab
638
639
640 9/ support/export/xtab.c
641
642       xtab_mount_read now sets m_exported, and NOT
643         xtabent and mayexport
644
645       removed the append arguement from xtab_write as it was
646         never used.
647
648       added is_export flag to xtab_write similar to xtab_read
649         if is_export, only write entries with m_xtabent or m_addxtab
650         if !is_export, only write entries with m_exported
651      
652 10/ support/export/export.c::export_allowed_internal
653
654       added test for exp->m_mayexport, as the export tree
655         may have entries that are no longer allowed to be exported,
656         and so shouldn't caused deduced exported by rmtab_read
657
658 11/ utils/exportfs/exportfs.c::main
659         error checking of flags.
660
661 12/ utils/exportfs/exportfs.c
662
663         total rewrite of export and unexport logic.
664         We now:
665         -  build an exportslist of valid exports, based on
666            current etab file  and arguments,
667         -  read rmtab to instantiate relevant wild card entries
668         -  read etab to find out what is currently exported
669         -  synchronise intention with reality
670         -  write out etab and xtab
671
672 13/  various
673         discard the m_addxtab flag
674         add m_changed flag so we know what to report in exportfs
675
676 14/ utils/mountd/auth.c:auth_authenticate
677
678         the value returned by gethostbyaddr was trusted.
679
680         It now follows this with a call to gethostbyname
681         and checks that the address is in the list.
682
683 15/ support/export/nfsctl.c::cltsetup,expsetup
684
685         force client names to lowercase as kernel is
686         sensitive to case
687
688 16/ quietened a few compiler warnings
689
690 17/ support/export/client:client_lookup
691
692      look for pre-existing client with same name before creating
693         a new one.
694
695 18/ support/include/exportfs.h
696
697      The ordering of the MCL_* enum was:
698         ANONYMOUS, FQDN, SUBNETWORK, WILDCARD, NETGROUP
699
700      I moved ANONYMOUS to the end.
701
702      The ordering is significant when an export entry is being searched for to 
703         match a given address.  There are two problems with ANONYMOUS being first.
704
705         1/ if a directory is exported rw to a couple of hosts and ro to everyone else,
706            then the ro case will always be found first and the privileged hosts won't get
707            their privilege
708         2/ When mountd gets a request to mount an ANONYMOUSly exported tree, it creates a FQDN
709            export entry for the specific host, and writes it to xtab.
710            When another request comes from the same host, the ANONYMOUS entry is found again, 
711            before the new FQDN entry, so it creates another FQDN entry and writes it to xtab
712            again.  If causes bloat in xtab.
713
714       Putting ANONYMOUS at the end reflects it's nature as a catch-all
715
716 19/ utils/exportfs/exportfs.man
717         many updates to the man page to reflect changes to the code
718
719 -----------------------
720
721
722
723 TODO:
724
725 - allow exportfs to modify rmtab file
726 - make sure kernel never gets two clients with same IP address
727     - possible kernel should reject
728     - needs to be some way to lookup client in kernel by IP address
729 - maybe get kernel to do case-insensitive comparisons on client names
730 - remove unused clients from kernel
731
732 - change etab to xtab and xtab to xtab.active
733
734 - timestamp and/or statd-stamp in rmtab for removing old entries.
735
736 Mon Oct 18 11:48:07 1999  H.J. Lu <hjl@lucon.org>
737
738         * linux-nfs: New directory.
739         * linux-nfs/ChangeLog: Moved from ..
740         * linux-nfs/INSTALL: Likewise.
741         * linux-nfs/KNOWNBUGS: Likewise.
742         * linux-nfs/NEW: Likewise.
743         * linux-nfs/README: Likewise.
744         * linux-nfs/THANKS: Likewise.
745         * linux-nfs/TODO: Likewise.
746
747         * Starting from knfsd 1.4.7.