From owner-freebsd-current Tue Aug 25 02:42:10 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA01284 for freebsd-current-outgoing; Tue, 25 Aug 1998 02:42:10 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from baerenklau.de.freebsd.org (baerenklau.de.freebsd.org [195.185.195.14]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA01278 for ; Tue, 25 Aug 1998 02:42:08 -0700 (PDT) (envelope-from wosch@panke.de.freebsd.org) Received: (from uucp@localhost) by baerenklau.de.freebsd.org (8.8.8/8.8.8) with UUCP id LAA03475; Tue, 25 Aug 1998 11:40:36 +0200 (CEST) (envelope-from wosch@panke.de.freebsd.org) Received: (from wosch@localhost) by campa.panke.de (8.8.8/8.8.8) id TAA04144; Mon, 24 Aug 1998 19:37:29 +0200 (MET DST) (envelope-from wosch) Message-ID: <19980824193728.B4111@panke.de> Date: Mon, 24 Aug 1998 19:37:28 +0200 From: Wolfram Schneider To: Matthew Thyer , Wolfram Schneider Cc: current@FreeBSD.ORG Subject: Re: file segment sizes of a core dump References: <199808231906.VAA04727@campa.panke.de> <35E18FF5.B7FADA7B@camtech.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.1i In-Reply-To: <35E18FF5.B7FADA7B@camtech.net.au>; from Matthew Thyer on Tue, Aug 25, 1998 at 01:38:21AM +0930 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 1998-08-25 01:38:21 +0930, Matthew Thyer wrote: > 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. > Wolfram Schneider wrote: > > I added an option to size(1) which print the > > file segment sizes of a core dump. -- Wolfram Schneider http://www.freebsd.org/~w/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message