diff options
author | des <des@FreeBSD.org> | 1998-08-23 14:18:08 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 1998-08-23 14:18:08 +0000 |
commit | db3e7c5e5f1488cd8f6d5f811e5c9ef4d49452d5 (patch) | |
tree | 0d013a30b71ea14708e9e3df46dd715561746407 /sys/amd64 | |
parent | 9ba1aae697b71ae930dfcd9db78b06dcae0e31d7 (diff) | |
download | FreeBSD-src-db3e7c5e5f1488cd8f6d5f811e5c9ef4d49452d5.zip FreeBSD-src-db3e7c5e5f1488cd8f6d5f811e5c9ef4d49452d5.tar.gz |
Don't check minor number of dump device at all.
Discussed-with: Jörg Wunsch
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/autoconf.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/amd64/amd64/autoconf.c b/sys/amd64/amd64/autoconf.c index 01dff04..36461a2 100644 --- a/sys/amd64/amd64/autoconf.c +++ b/sys/amd64/amd64/autoconf.c @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * from: @(#)autoconf.c 7.1 (Berkeley) 5/9/91 - * $Id: autoconf.c,v 1.101 1998/07/18 21:42:55 des Exp $ + * $Id: autoconf.c,v 1.102 1998/07/19 11:12:14 jkh Exp $ */ /* @@ -418,10 +418,6 @@ setdumpdev(dev) * and nuke dodump sysctl (too many knobs), and move this to * kern_shutdown.c... */ -#ifndef SLICE - if (dkpart(dev) != SWAP_PART) - return (ENODEV); -#endif /* !SLICE */ newdumplo = psize - Maxmem * PAGE_SIZE / DEV_BSIZE; if (newdumplo < 0) return (ENOSPC); |