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
krpc.h
nfs_bio.c
nfs_diskless.c Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfs_lock.c
nfs_lock.h
nfs_nfsiod.c
nfs_node.c
nfs_socket.c
nfs_subs.c
nfs_vfsops.c Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfs_vnops.c
nfs.h
nfsargs.h
nfsdiskless.h Remove the magic way of configuring NFS backed swap. 2003-08-15 12:04:02 +00:00
nfsm_subs.h
nfsmount.h
nfsnode.h
nfsstats.h
nlminfo.h