82 Commits

Author SHA1 Message Date
gwr
b7692860e5 Fix false "hits" in the attribute cache when booting diskless.
(Yet another thing that breaks when time.tv_sec is near zero...)
1994-06-14 03:29:12 +00:00
mycroft
fee90785c2 Move a misplaced #endif. 1994-06-13 16:00:41 +00:00
mycroft
d87a71b8c8 Undo last change. 1994-06-13 15:39:13 +00:00
gwr
3247b5928d Fix unresolved: prtactive 1994-06-13 15:33:32 +00:00
gwr
0784b58d30 New diskless boot code (uses RARP, bootparamd). 1994-06-13 15:28:55 +00:00
mycroft
0c51ee36cb Clean up deleted files. 1994-06-08 11:37:21 +00:00
mycroft
cde1d47595 Update to 4.4-Lite fs code, with local changes. 1994-06-08 11:33:09 +00:00
cgd
f42a80c7ea MIN -> min, MAX -> max 1994-05-24 02:33:03 +00:00
cgd
4da98bee08 stupidity for prototypes... 1994-05-19 05:04:07 +00:00
cgd
6dad8d7a8a put sync printing in one place 1994-05-18 00:35:07 +00:00
mycroft
0ae81ecb6b Trivial function name change. 1994-05-13 06:12:51 +00:00
mycroft
945e278f4e Cast some args to caddr_t. 1994-05-11 22:26:09 +00:00
cgd
a0a7429482 lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.
1994-05-05 05:35:42 +00:00
glass
e22b4a56ec i really wish i knew what was wrong 1994-04-29 15:54:10 +00:00
cgd
d071d1cf05 some prototype cleanup, eliminate/replace bogus types (e.g. quad and
u_quad) -> use better types (e.g. quad_t & u_quad_t in inodes),
some cleanup.
1994-04-25 03:49:27 +00:00
cgd
4917d8beec make fs types consistent over new kernels. also, some proto foo. 1994-04-23 07:54:38 +00:00
cgd
f7003b8eba blow away all vestiges of nfsnode locking.
(1) it's unnecessary
	(2) it causes machines to hang (yup!)
	(3) it'd be gone in a few days anyway (it'd been yanked out
		of 4.4-Lite by macklem long ago)
It was only there because macklem couldn't originally decide if things
should be locked, or not...
1994-04-21 23:23:29 +00:00
cgd
3dda0064a5 Convert mount, vnode, and buf structs to use <sys/queue.h>. Also,
some knf and structure frobbing to do along with it.
1994-04-21 07:47:31 +00:00
glass
a3b042140f revised nfs diskless support. uses bootp+rpc to gather parameters 1994-04-18 06:18:05 +00:00
pk
092d94c85b Remove bogus type translation; in stead, use IFTOVT again to go from
`NFS mode bits' to `vnode type'.
Use aliased vnode consistently.
1994-04-14 10:27:46 +00:00
cgd
93159ea799 fs types are names now. 1994-04-14 04:05:45 +00:00
cgd
3337b6ac3c patchkit date deletions! 1994-04-10 06:45:56 +00:00
cgd
a61aa87590 make damn sure nothing's holding on the the mount point vnode 1994-04-10 01:22:23 +00:00
glass
9f7fed2901 make panic string unique 1994-03-31 05:44:49 +00:00
cgd
d7ce0b81a2 expand uid_t/gid_t/off_t 1994-03-27 09:09:21 +00:00
cgd
2beaff5c30 fix rcs id 1994-03-12 01:31:32 +00:00
ws
ec20310be9 Oops. Bug fix for nfs server. Reported by Theo. 1994-03-10 16:56:14 +00:00
ws
ce516ff13d Make FFS optional 1994-03-09 21:21:37 +00:00
pk
4013a20ab3 Enable nfs_lock(); useful when IO_APPEND'ing. 1994-03-01 20:31:09 +00:00
glass
b4b437e1c3 remove some warnings 1994-03-01 08:00:02 +00:00
mycroft
bc47f533d5 Macros bite again. 1994-02-15 21:43:09 +00:00
mycroft
28abb89625 Format police. 1994-02-15 21:26:01 +00:00
pk
e85a637bca Update {a,m}time vnode attributes on special files a la ufs_vnode.c,
but make it a non-urgent operation, to leave us some performance.
1994-02-15 21:07:10 +00:00
cgd
489bece05f be more intelligent with credentials, so nfsd's don't inherit
strange credentials.  This doesn't actually have any effect on
performance, because the remote cred is used for all operations,
anyway.  however, it makes "ps" et al. look normal, because the
proc's ucred is no longer clobbered.
1994-02-14 05:58:29 +00:00
mycroft
805c52eecb Eliminate some more uses of b_actl. 1994-02-06 11:28:37 +00:00
brezak
ae0948f33c Include nfs_hack_mountroot() in NFSDISKLESS_HARDWIRE 1994-01-18 01:35:15 +00:00
pk
acc0f12ec0 reparations... 1994-01-10 13:29:26 +00:00
pk
36655da823 Don't deny unlink()s of files with the "silly" bit on, but still have > 1 links,
but avoid doing gratuitous (possibly expensive) get_attr() calls.
1994-01-10 09:37:05 +00:00
cgd
2c5c3a2774 add support for union and loopback mounts, from jsp 1994-01-04 14:10:48 +00:00
cgd
953dee1999 fix nfs_print, add cross-device link checking (From jsp) 1993-12-22 13:03:22 +00:00
cgd
929c86a29b change return type of nfs_print back to int 1993-12-22 13:00:36 +00:00
cgd
de2aefd4b8 minor cleanup 1993-12-22 04:13:50 +00:00
cgd
ed9fe288db oops; fix last 1993-12-21 08:07:09 +00:00
cgd
6aa0cb00c6 from jsp: Changed to get attributes of root node and
generate correct type, rather than assuming it's a directory.
This allows Amd direct mounts to work correctly.
1993-12-21 07:49:30 +00:00
mycroft
95b048b53a Canonicalize all #includes. 1993-12-18 00:40:47 +00:00
pk
011f7efb3a Avoid dereferencing NULL pointer in nfs_doio() when B_PHYS is on.
Remove comment talking about nfsiomaps that we don't have.
Always use credentials that are in the buffer header, in stead of trying
to get them from pageproc, which may once have been necessary to push pages
to swap (cannot imaging anyone having exercised this over NFS though).
1993-12-16 16:43:36 +00:00
pk
0499563755 Exclusive access when manipulating flag field in mount structure. 1993-12-07 23:37:43 +00:00
pk
f98138858c Don't allow the NFS_LOCKBITS to be set or reset from user land.
Allow other flags (SOFT,HARD,SPONGY, etc) to be altered by `mount -u'.
1993-12-07 23:29:27 +00:00
cgd
5c50cb4631 fix a goof that i made; return *before* nfs_lock() is called... 1993-12-07 04:47:41 +00:00
pk
0d3fa06d24 Allow changing of various NFS parameters by using `mount -u ...'. 1993-12-06 23:38:14 +00:00