From owner-cvs-all Tue Oct 17 15:43:45 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id A181F37B4F9; Tue, 17 Oct 2000 15:43:42 -0700 (PDT) Received: (from des@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id PAA99539; Tue, 17 Oct 2000 15:43:42 -0700 (PDT) (envelope-from des@FreeBSD.org) Message-Id: <200010172243.PAA99539@freefall.freebsd.org> From: Dag-Erling Smorgrav Date: Tue, 17 Oct 2000 15:43:42 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/savecore savecore.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG des 2000/10/17 15:43:42 PDT Modified files: sbin/savecore savecore.c Log: Work much harder at obtaining a correct device node. If what devname(3) returns doesn't exist, or doesn't match the desired device, fall back to scanning /dev for a matching node, and as a last resort, if that fails, try to create the node ourselves as /dev/dump. Add comments to several variables and functions. Clean up syslog(3) usage; use %m instead of strerror(3). Other minor cleanup. Revision Changes Path 1.36 +90 -32 src/sbin/savecore/savecore.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message