From owner-freebsd-current Tue Aug 25 12:32:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20669 for freebsd-current-outgoing; Tue, 25 Aug 1998 12:32:41 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from mail.camalott.com (mail.camalott.com [208.203.140.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA20664 for ; Tue, 25 Aug 1998 12:32:38 -0700 (PDT) (envelope-from joelh@gnu.org) Received: from detlev.UUCP (tex-85.camalott.com [208.229.74.85]) by mail.camalott.com (8.8.7/8.8.5) with ESMTP id OAA03189; Tue, 25 Aug 1998 14:33:20 -0500 Received: (from joelh@localhost) by detlev.UUCP (8.9.1/8.9.1) id OAA00986; Tue, 25 Aug 1998 14:31:30 -0500 (CDT) (envelope-from joelh) Date: Tue, 25 Aug 1998 14:31:30 -0500 (CDT) Message-Id: <199808251931.OAA00986@detlev.UUCP> To: wosch@panke.de.freebsd.org CC: thyerm@camtech.net.au, wosch@panke.de.freebsd.org, current@FreeBSD.ORG In-reply-to: <19980824193728.B4111@panke.de> (message from Wolfram Schneider on Mon, 24 Aug 1998 19:37:28 +0200) Subject: Re: file segment sizes of a core dump From: Joel Ray Holveck Reply-to: joelh@gnu.org References: <199808231906.VAA04727@campa.panke.de> <35E18FF5.B7FADA7B@camtech.net.au> <19980824193728.B4111@panke.de> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >> Why require an option ? >> Why not make size do what you want automatically when it detects >> that you are running it on a core file ? > How do you know that the file is a FreeBSD core file and not garbage? > file(1) has a gross hack to identify core files, see /usr/share/misc/magic. Why would you run size on garbage? Best, joelh -- Joel Ray Holveck - joelh@gnu.org - http://www.wp.com/piquan Fourth law of programming: Anything that can go wrong wi sendmail: segmentation violation - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message