summaryrefslogtreecommitdiff
path: root/nfs/ChangeLog
blob: 23d5ba3853495ea6871f585ff9d104f23f984159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
Mon Aug 12 11:13:58 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* nfs.c (nfs_error_trans): Repair syntax.

Thu Aug  8 18:48:22 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* nfs.h (protocol_version): New variable.
	* mount.c (protocol_version): Define and initialize to `2'.

	* rpcsvc/nfs_prot.h (enum nfsstat): Added new nfsv3 error codes:
	NFSERR_XDEV, NFSERR_INVAL, NFSERR_MLINK, NFSERR_REMOTE,
	NFSERR_BADHANDLE, NFSERR_NOT_SYNC, NFSERR_BAD_COOKIE,
	NFSERR_NOTSUPP, NFSERR_TOOSMALL, NFSERR_SERVERFAULT,
	NFSERR_BADTYPE, NFSERR_JUKEBOX.
	(NFSERR_TRYLATER): New macro.
	* nfs.c (nfs_error_trans): Understand v3 error codes if we are
	runnnig v3.

Wed Jul 31 13:25:00 1996  Thomas Bushnell, n/BSG  <thomas@gnu.ai.mit.edu>

	* ops.c (netfs_attempt_statfs): Use NFSPROC_STATFS, not SETATTR to
	do a statfs.

Tue Jul 23 19:41:07 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* nfs.c (xdr_encode_sattr_times): `struct timespec' now uses a
	field prefix of `tv_'.

Wed Jul 17 13:12:31 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* main.c (mounted_soft): Initialize to zero.

Thu Jul  4 17:14:42 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (netfs_attempt_link) [case SYMLINK]: Include directory
 	handle as an RPC arg.

Wed Jun 26 16:41:00 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* main.c (netfs_get_options): New function.
	(netfs_parse_runtime_options, netfs_unparse_runtime_options):
	Functions removed.
	(runtime_argp_parents, runtime_argp, netfs_runtime_argp): New variables.
	(main): Use &NETFS_STD_STARTUP_ARGP insteda of NETFS_STARTUP_ARGP.

Thu Jun 13 09:24:24 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* Makefile (SRCS): Remove pager.c.
	* nfs.h (struct netnode): Add member `fileinfo'.
	* nfs.h (register_fresh_stat): Add decl.

Wed Jun 12 22:37:31 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* Makefile (SRCS): Add pager.c.

Wed May 22 18:49:16 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* main.c (parse_startup_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.

Tue May 14 14:00:21 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (netfs_attempt_unlink): Add new arg in call to
 	netfs_attempt_link.

Sat May 11 01:10:05 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* main.c (parse_common_opt): Use ARGP_ERR_UNKNOWN instead of EINVAL.

Fri May 10 18:15:11 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (netfs_attempt_rename, netfs_attempt_link): New parm EXCL,
 	but don't implement the hard case yet.

Thu May  9 20:24:21 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (netfs_attempt_statfs): Expect and fill in new statfs
 	buffer.

Fri Apr 19 13:50:25 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* main.c (main): Failure to bind privileged ports is indicated by
 	EACCES, not EPERM.

Thu Apr 11 13:51:33 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (guess_mode_use): New function.
	(netfs_check_open_permissions, netfs_report_access): Replace old
	clever versions with less obtrusive one.
	
Tue Apr  2 09:12:28 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (netfs_report_access):  Bother to initialize LEN.

Fri Mar 29 17:26:14 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* rpc.c: Define malloc to something random around include of rpc/*
	header files to avoid bogus definition there.

Fri Mar 29 17:10:58 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (netfs_report_access): Make sure netfs_attempt_read return
 	a reasonable LEN.
	(netfs_attempt_write): Truncate to THISAMT instead of AMT.

Tue Mar 19 11:00:54 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* Makefile (LCLHDRS): Drop rpc.h.

	* consts.c: Doc fixes.
	* cache.c: Likewise.
	* cred.c: Likewise.
	* main.c: Likewise.
	* mount.c: Likewise.
	* mount.h: Likewise.
	* nfs.c: Likewise.
	* ops.c: Likewise.
	* rpc.c: Likewise.
	
	* rpc.c (rpc_receive_thread): Allocate receive buffer big enough
	for largest read we expect.

	* cache.c (lookup_fhandle): Correctly install new node in hash
	table slot.

	* main.c (parse_startup_opt): Pass STATE, not STATE->argp in call
	to argp_error.

	* cache.c (lookup_fhandle): Initialize NN->dead_dir and
	NN->dead_name. 

	* ops.c: Include <unistd.h>.
	(register_fresh_stat): Repair syntax.

Mon Mar 18 19:49:28 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* main.c (main, netfs_parse_runtime_options): Pass new arg to
	argp_parse.

Mon Mar 18 11:19:27 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (register_fresh_stat): Set fs_fsid, st_fstype, st_gen,
	st_author, and st_flags here.
	* nfs.c (xdr_decode_fattr): Don't set st_fstype, st_gen,
	st_author, or st_flags here.

	* ops.c (netfs_attempt_write): Increment OFFSET each time around
	the loop.

	* nfs.c (xdr_encode_create_state): Call hurd_mode_to_nfs_mode and
 	htonl on MODE.
	
	* nfs.c (xdr_encode_sattr_stat): New function.

Thu Mar 14 15:11:41 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* nfs.h (struct netnode): New members `dtrans' and `transarg'.
	* cache.c (lookup_fhandle): Initialize NN->dtrans.
	(netfs_node_norefs): Free transarg if necessary.
	(recache_handle): New function.
	* ops.c (netfs_attempt_mkfile): Make dtrans possible if it
	isn't already.
	(netfs_attempt_unlink): Likewise, when doing the rename hack. 
	(netfs_attempt_mksymlink): Implement using dtrans and transarg.
	(netfs_attempt_mkdev): Likewise.
	(register_fresh_stat): If NP->nn->dtrans is set, then mutate the
	mode here.
	(netfs_attempt_readlink): If NP->nn->dtrans is SYMLINK, then DTRT.
	(netfs_attempt_link): Only issue NFSPROC_LINK if dtrans is not
	operative.  Otherwise, DTRT. 
	(netfs_attempt_chmod): Implement type-changing using dtrans.

Tue Mar 12 15:23:32 1996  Michael I. Bushnell, p/BSG  <mib@gnu.ai.mit.edu>

	* ops.c (netfs_set_translator, netfs_attempt_mksymlink,
	netfs_attempt_mkdev): New functions.
	(netfs_attempt_chmod): Detect attempt to change node type.
	(netfs_validate_stat): Clear NP->istranslated.

Mon Mar  4 16:16:13 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* main.c (main): Use NETFS_STARTUP_ARGP.
	(netfs_parse_runtime_options, netfs_unparse_runtime_options): New funs.

Wed Feb 28 19:24:23 1996  Miles Bader  <miles@gnu.ai.mit.edu>

	* main.c (options): New variable.
	(main): Parse our arguments.