Date: Tue, 17 Oct 2000 15:43:42 -0700 (PDT) From: Dag-Erling Smorgrav <des@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/savecore savecore.c Message-ID: <200010172243.PAA99539@freefall.freebsd.org>
index | next in thread | raw e-mail
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
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010172243.PAA99539>
