Removed more vestiges of config-time swap configuration.
This commit is contained in:
parent
f871c21d2c
commit
7128e3fc0a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29202
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)nfsswapvmunix.c 8.1 (Berkeley) 6/10/93
|
||||
* $Id$
|
||||
* $Id: nfsswapkernel.c,v 1.3 1997/02/22 09:28:14 peter Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -59,10 +59,6 @@ dev_t rootdev = NODEV;
|
||||
dev_t argdev = NODEV;
|
||||
dev_t dumpdev = NODEV;
|
||||
|
||||
struct swdevt swdevt[] = {
|
||||
{ NODEV, 0, 5000 }, /* happy:/u/swap.dopey */
|
||||
{ 0, 0, 0 }
|
||||
};
|
||||
struct nfs_diskless nfs_diskless = {
|
||||
{ { 'q', 'e', '0', '\0' },
|
||||
{ 0x10, 0x2, { 0x0, 0x0, 0x83, 0x68, 0x30, 0x2, } },
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)swapgeneric.c 5.5 (Berkeley) 5/9/91
|
||||
* $Id$
|
||||
* $Id: swapgeneric.c,v 1.21 1997/02/22 09:32:49 peter Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -52,7 +52,6 @@
|
||||
#include "wd.h"
|
||||
#include "fd.h"
|
||||
#include "sd.h"
|
||||
#include "vn.h"
|
||||
#include "cd.h"
|
||||
#include "mcd.h"
|
||||
#include "scd.h"
|
||||
@ -65,19 +64,6 @@
|
||||
dev_t rootdev = NODEV;
|
||||
dev_t dumpdev = NODEV;
|
||||
|
||||
#ifdef notused
|
||||
int nswap;
|
||||
struct swdevt swdevt[] = {
|
||||
{ makedev (0xFF, 0x00000001), 0, 0 },
|
||||
#if NVN > 0
|
||||
{ makedev (15, 0x00000001), 0, 0 },
|
||||
#endif
|
||||
{ NODEV, 0, 0 }, /* For NFS diskless */
|
||||
{ NODEV, 0, 0 },
|
||||
};
|
||||
int dmmin, dmmax, dmtext;
|
||||
#endif
|
||||
|
||||
void gets __P((char *));
|
||||
|
||||
struct genericconf {
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
|
||||
* $Id: nfs_vfsops.c,v 1.45 1997/08/16 19:16:04 wollman Exp $
|
||||
* $Id: nfs_vfsops.c,v 1.46 1997/09/02 01:19:41 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -382,8 +382,6 @@ nfs_fsinfo(nmp, vp, cred, p)
|
||||
* can talk to the server
|
||||
* - If nfs_diskless.mygateway is filled in, use that address as
|
||||
* a default gateway.
|
||||
* - hand craft the swap nfs vnode hanging off a fake mount point
|
||||
* if swdevt[0].sw_dev == NODEV
|
||||
* - build the rootfs mount point and call mountnfs() to do the rest.
|
||||
*/
|
||||
int
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfsdiskless.h 8.2 (Berkeley) 3/30/95
|
||||
* $Id: nfsdiskless.h,v 1.8 1997/02/22 09:42:47 peter Exp $
|
||||
* $Id: nfsdiskless.h,v 1.9 1997/05/12 19:02:55 tegge Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -43,8 +43,8 @@
|
||||
|
||||
/*
|
||||
* Structure that must be initialized for a diskless nfs client.
|
||||
* This structure is used by nfs_mountroot() to set up the root and swap
|
||||
* vnodes plus do a partial ifconfig(8) and route(8) so that the critical net
|
||||
* This structure is used by nfs_mountroot() to set up the root vnode,
|
||||
* and to do a partial ifconfig(8) and route(8) so that the critical net
|
||||
* interface can communicate with the server.
|
||||
* The primary bootstrap is expected to fill in the appropriate fields before
|
||||
* starting the kernel. Whether or not the swap area is nfs mounted is
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfs_vfsops.c 8.12 (Berkeley) 5/20/95
|
||||
* $Id: nfs_vfsops.c,v 1.45 1997/08/16 19:16:04 wollman Exp $
|
||||
* $Id: nfs_vfsops.c,v 1.46 1997/09/02 01:19:41 bde Exp $
|
||||
*/
|
||||
|
||||
#include <sys/param.h>
|
||||
@ -382,8 +382,6 @@ nfs_fsinfo(nmp, vp, cred, p)
|
||||
* can talk to the server
|
||||
* - If nfs_diskless.mygateway is filled in, use that address as
|
||||
* a default gateway.
|
||||
* - hand craft the swap nfs vnode hanging off a fake mount point
|
||||
* if swdevt[0].sw_dev == NODEV
|
||||
* - build the rootfs mount point and call mountnfs() to do the rest.
|
||||
*/
|
||||
int
|
||||
|
@ -34,7 +34,7 @@
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* @(#)nfsdiskless.h 8.2 (Berkeley) 3/30/95
|
||||
* $Id: nfsdiskless.h,v 1.8 1997/02/22 09:42:47 peter Exp $
|
||||
* $Id: nfsdiskless.h,v 1.9 1997/05/12 19:02:55 tegge Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -43,8 +43,8 @@
|
||||
|
||||
/*
|
||||
* Structure that must be initialized for a diskless nfs client.
|
||||
* This structure is used by nfs_mountroot() to set up the root and swap
|
||||
* vnodes plus do a partial ifconfig(8) and route(8) so that the critical net
|
||||
* This structure is used by nfs_mountroot() to set up the root vnode,
|
||||
* and to do a partial ifconfig(8) and route(8) so that the critical net
|
||||
* interface can communicate with the server.
|
||||
* The primary bootstrap is expected to fill in the appropriate fields before
|
||||
* starting the kernel. Whether or not the swap area is nfs mounted is
|
||||
|
Loading…
Reference in New Issue
Block a user