cgd
8f62c773e8
don't assume the f_fsnamelen is nul-truncated or longer than MFSNAMELEN
1995-06-18 14:45:14 +00:00
mycroft
41a1b362f8
Fix more off by one errors.
1995-06-02 19:50:11 +00:00
gwr
8f7b63df4e
Print the "root/swap on ..." messages here.
...
Add NFS_BOOT_OPTIONS for things like NFSMNT_NOCONN.
1995-03-18 05:54:10 +00:00
mycroft
2f805fa51b
copy*str() should use size_t.
1995-03-09 12:05:21 +00:00
mycroft
7b85c59a4e
Turn mountlist into a CIRCLEQ, and handle setting and checking of MNT_ROOTFS
...
differently.
1995-01-18 06:15:17 +00:00
pk
e052143aab
When updating an NFS mountpoint, we cannot just increase `rsize' or `wsize'
...
without also adjusting the corresponding socket buffers. We could probably
call sbrelease/sbreserve/soreserve ourselves without much harm, but we'd
have to duplicate much of the logic in nfs_connect(). In stead, blow the
socket away entirely and let nfs_connect() do its job again.
1994-08-23 09:31:00 +00:00
mycroft
f7c13d44bd
More LIST/CIRCLEQ migration.
1994-08-18 22:47:43 +00:00
gwr
f23d6f0929
Add the option NFS_BOOT_RWSIZE to allow diskless boot configuration
...
to start with a reduced NFS read and write size (need for wd8003).
1994-08-14 03:35:27 +00:00
cgd
8814bea1a6
kill two errant spaces.
1994-08-12 03:49:24 +00:00
gwr
38cca96798
Diskless boot will now bind the local socket to a reserved port to
...
satisfy picky servers. Also fix some missing initializations.
(Thanks to Chuck Cranor for PR#394 -- now fixed.)
1994-08-11 22:25:32 +00:00
mycroft
2896174213
Save FS type at mount time for some later tests.
1994-07-03 09:24:01 +00:00
cgd
fccfa11af5
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:39:25 +00:00
gwr
ccb36b6b7d
Minor nits: replace ... with ...
...
p->p_cred->pc_ucred p->p_ucred
x / DEV_BSIZE x >> DEV_BSHIFT
1994-06-28 19:12:59 +00:00
pk
bccc2c3c1b
straighten out diskless swap code somewhat.
1994-06-22 14:01:45 +00:00
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
gwr
0784b58d30
New diskless boot code (uses RARP, bootparamd).
1994-06-13 15:28:55 +00:00
mycroft
cde1d47595
Update to 4.4-Lite fs code, with local changes.
1994-06-08 11:33:09 +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
4917d8beec
make fs types consistent over new kernels. also, some proto foo.
1994-04-23 07:54:38 +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
cgd
93159ea799
fs types are names now.
1994-04-14 04:05:45 +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
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
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
pk
0d3fa06d24
Allow changing of various NFS parameters by using `mount -u ...'.
1993-12-06 23:38:14 +00:00
cgd
5838270f1e
patch from Ukai Fumitoshi <ukai@kmc.kyoto-u.ac.jp>
...
to do the right thing with NFS fsid's and getnewfsid()
1993-11-19 02:31:23 +00:00
cgd
c58c7e0a97
diskless changes made last time were hosed; were using NULL for
...
"no credentials" rather than NOCRED.
1993-07-13 10:04:26 +00:00
cgd
0b1df311fc
changes from ws to support diskless booting... these are "OK" on inspection
...
and after testing... (actually, currently, none of the changed
code is even used...)
1993-07-07 12:06:32 +00:00
cgd
f4b489f71c
more rcs id adding and header cleanup. i like vi macros!
1993-05-20 03:18:35 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00