From owner-cvs-all Mon May 17 17:31:35 1999 Delivered-To: cvs-all@freebsd.org Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (Postfix) with ESMTP id E382F14BF8; Mon, 17 May 1999 17:31:32 -0700 (PDT) (envelope-from luoqi@watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id UAA24252; Mon, 17 May 1999 20:31:27 -0400 (EDT) (envelope-from luoqi) Date: Mon, 17 May 1999 20:31:27 -0400 (EDT) From: Luoqi Chen Message-Id: <199905180031.UAA24252@lor.watermarkgroup.com> To: luoqi@watermarkgroup.com, peter@netplex.com.au Subject: Re: cvs commit: src/sbin/savecore savecore.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > IMHO, What savecore should be doing is: > - savecore: usage: savecore [-cfvz] [-N system] directory > + savecore: usage: savecore [-cfvz] [-M dumpdev] [-N system] directory > > or something like that. That way you can do a savecore from a specific > device or before dumpon. > > > -lq > > Cheers, > -Peter > I like the idea. But dumpdev is not enough to locate the core, we need dumplo as well. I'm thinking, maybe we should write these information (dumplo, rootfs device, kernel inode number) to the last block of the dump device, so we have all the information we need for a crash dump given dumpdev. -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message