freebsd-dev/sys/nfsclient
Poul-Henning Kamp 0bddf4c8e9 Remove the magic way of configuring NFS backed swap.
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.
2003-08-15 12:04:02 +00:00
..
bootp_subr.c Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
krpc_subr.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
krpc.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nfs_bio.c Lock the vm object when freeing a page. 2003-06-17 05:17:00 +00:00
nfs_diskless.c Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfs_lock.c Add fdidx argument to vn_open() and vn_open_cred() and pass -1 throughout. 2003-07-27 17:04:56 +00:00
nfs_lock.h Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred 2002-08-15 21:52:22 +00:00
nfs_nfsiod.c Change idle sleep indentifier to "-" for nfsiod 2003-07-02 08:09:20 +00:00
nfs_node.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfs_socket.c - Merge struct procsig with struct sigacts. 2003-05-13 20:36:02 +00:00
nfs_subs.c Back out M_* changes, per decision of the TRB. 2003-02-19 05:47:46 +00:00
nfs_vfsops.c Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfs_vnops.c Fix a problem that occurs when truncating files on NFSv3 mounts: we need 2003-07-29 00:17:29 +00:00
nfs.h Remove extern declarations of stuff which is static in nfs_node.c 2002-10-20 21:40:55 +00:00
nfsargs.h Allow users to use the 'nolockd' or -L options with mount_nfs in order 2001-11-12 02:33:52 +00:00
nfsdiskless.h Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfsm_subs.h Avoid passing the variable `tl' to functions that just use it for 2001-12-18 01:22:09 +00:00
nfsmount.h Now that we have a cached mount credential in struct mount, use it istead 2002-09-08 15:11:18 +00:00
nfsnode.h Remove the nfs_{lock,unlock,islocked} functions and the associated 2002-04-27 22:10:16 +00:00
nfsstats.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00
nlminfo.h Cleanup and split of nfs client and server code. 2001-09-18 23:32:09 +00:00