Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 8 Feb 1997 13:24:16 +0100
From:      j@uriah.heep.sax.de (J Wunsch)
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Panic in probe, but no dump
Message-ID:  <Mutt.19970208132416.j@uriah.heep.sax.de>
In-Reply-To: <199702081146.WAA09891@godzilla.zeta.org.au>; from Bruce Evans on Feb 8, 1997 22:46:09 %2B1100
References:  <199702081146.WAA09891@godzilla.zeta.org.au>

next in thread | previous in thread | raw e-mail | index | archive | help
As Bruce Evans wrote:

> Not true.  You can dump on any large enough disk device (at least for
> sd and wd disks).  A swap device is just normally used because its
> contents are disposable.

Ah, i stand corrected.

Btw., i found when code-reviewing that part that it only wants to dump
into partition `b' of some device.  Everything else is silently
discarded:

static void
dumpsys(void)
{

	if (!dodump)
		return;
	if (dumpdev == NODEV)
		return;
	if ((minor(dumpdev)&07) != 1)
	                        ^^^^
		return;

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19970208132416.j>