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