summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/nfs_diskless.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove the magic way of configuring NFS backed swap.phk2003-08-151-2/+0
| | | | | | | | | | | | | This code dates back to the very first diskless support on FreeBSD, back when swapon(8) couldn't simply be run on a NFS backed file. Suggested replacement command sequence on the client: dd if=/dev/zero of=/swapfile bs=1k count=1 oseek=100000 swapon /swapfile rm -f /swapfile For whatever value of 100000 you want.
* Use __FBSDID().obrien2003-06-111-1/+3
|
* SMP locking for ifnet list.hsu2002-12-221-1/+5
|
* Moved nfs_diskless setup code from autoconf.c to nfsclient/nfs_diskless.cjake2002-09-221-0/+232
so that it is MI. Allow nfs_mountroot to return an error if the nfs_diskless struct is not valid, rather than panicing later on. Call nfs_setup_diskless() from nfs_mountroot if NFS_ROOT is defined, like bootpc_init(). Removed legacy root mount support for sparc64, and enabled NFS_ROOT by default.
OpenPOWER on IntegriCloud