summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_vfsops.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Untangled the vm.h include file spaghetti.dg1995-12-071-1/+3
|
* Completed function declarations and/or added prototypes and/or movedbde1995-12-031-6/+10
| | | | prototypes to the right place.
* Get rid of hostnamelen variable.phk1995-11-141-2/+1
|
* Make nfs diskless work again.dfr1995-08-301-1/+3
| | | | Reviewed by: John Hay <jhay@mikom.csir.co.za>
* Add support for amd direct maps.dfr1995-08-241-2/+8
| | | | Reviewed by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
* Converted mountlist to a CIRCLEQ.dg1995-08-111-5/+1
| | | | Partially obtained from: 4.4BSD-Lite2
* Use a consistent blocksize for sizing bufs to avoid panicing the bio system.dfr1995-07-071-3/+19
|
* Changes to support version 3 of the NFS protocol.dfr1995-06-271-56/+188
| | | | | | | | | | | | | | | | | | The version 2 support has been tested (client+server) against FreeBSD-2.0, IRIX 5.3 and FreeBSD-current (using a loopback mount). The version 2 support is stable AFAIK. The version 3 support has been tested with a loopback mount and minimally against an IRIX 5.3 server. It needs more testing and may have problems. I have patched amd to support the new variable length filehandles although it will still only use version 2 of the protocol. Before booting a kernel with these changes, nfs clients will need to at least build and install /usr/sbin/mount_nfs. Servers will need to build and install /usr/sbin/mountd. NFS diskless support is untested. Obtained from: Rick Macklem <rick@snowhite.cis.uoguelph.ca>
* Merge RELENG_2_0_5 into HEADrgrimes1995-06-111-2/+9
|
* Remove trailing whitespace.rgrimes1995-05-301-5/+5
|
* Changed swap partition handling/allocation so that it doesn'tdg1995-05-141-20/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | require specific partitions be mentioned in the kernel config file ("swap on foo" is now obsolete). From Poul-Henning: The visible effect is this: As default, unless options "NSWAPDEV=23" is in your config, you will have four swap-devices. You can swapon(2) any block device you feel like, it doesn't have to be in the kernel config. There is a performance/resource win available by getting the NSWAPDEV right (but only if you have just one swap-device ??), but using that as default would be too restrictive. The invisible effect is that: Swap-handling disappears from the $arch part of the kernel. It gets a lot simpler (-145 lines) and cleaner. Reviewed by: John Dyson, David Greenman Submitted by: Poul-Henning Kamp, with minor changes by me.
* Add four more filesystem flags:wollman1995-03-161-2/+2
| | | | | | | | | | VFCF_NETWORK (this FS goes over the net) VFCF_READONLY (read-write mounts do not make any sense) VFCF_SYNTHETIC (data in this FS is not real) VFCF_LOOPBACK (this FS aliases something else) cd9660 is readonly; nullfs, umapfs, and union are loopback; NFS is netowkr; procfs, kernfs, and fdesc are synthetic.
* Add and move declarations to fix all of the warnings from `gcc -Wimplicit'bde1995-03-161-2/+3
| | | | | | (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
* From Gene Stark:jkh1995-01-031-1/+7
| | | | | | | | | If nd->swap_nblks is zero in nfs_mountroot(), then the system comes up without initializing swapdev_vp to an actual vnode pointer. The swap pager assumes a non-NULL value for swapdev_vp. The fix is to try initializing local swap if no NFS swap space is specified.
* Would you please correct nfs/nfs_vfsops.c so that the ip address of thephk1994-12-081-2/+2
| | | | | | | | root filesystem is printed out correctly? It's line 299 in nfs/nfs_vfsops.c. Reviewed by: phk Submitted by: Luigi Rizzo luigi@iet.unipi.it
* Implement fs.nfs MIB variables.wollman1994-10-231-1/+50
|
* This is where the action is. I'm still not sure that swap is 100% OK, butphk1994-10-221-38/+56
| | | | it seems to work.
* This is a bunch of changes from NetBSD. There are a couple of bug-fixes.phk1994-10-171-3/+2
| | | | | | | But mostly it is changes to use the list-maintenance macros instead of doing the pointer-gymnastics by hand. Obtained from: NetBSD
* Prototyping and general gcc-shutting up. Gcc has one warning now which looksphk1994-10-021-18/+33
| | | | bad, I will get to it eventually, unless somebody beats me to it.
* Implemented loadable VFS modules, and made most existing filesystemswollman1994-09-211-1/+2
| | | | loadable. (NFS is a notable exception.)
* Implemented filesystem clean bit via:dg1994-08-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | machdep.c: Changed printf's a little and call vfs_unmountall() if the sync was successful. cd9660_vfsops.c, ffs_vfsops.c, nfs_vfsops.c, lfs_vfsops.c: Allow dismount of root FS. It is now disallowed at a higher level. vfs_conf.c: Removed unused rootfs global. vfs_subr.c: Added new routines vfs_unmountall and vfs_unmountroot. Filesystems are now dismounted if the machine is properly rebooted. ffs_vfsops.c: Toggle clean bit at the appropriate places. Print warning if an unclean FS is mounted. ffs_vfsops.c, lfs_vfsops.c: Fix bug in selecting proper flags for VOP_CLOSE(). vfs_syscalls.c: Disallow dismounting root FS via umount syscall.
* Added $Id$dg1994-08-021-0/+1
|
* BSD 4.4 Lite Kernel Sourcesrgrimes1994-05-241-0/+740
OpenPOWER on IntegriCloud