Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 1998 19:37:28 +0200
From:      Wolfram Schneider <wosch@panke.de.freebsd.org>
To:        Matthew Thyer <thyerm@camtech.net.au>, Wolfram Schneider <wosch@panke.de.freebsd.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: file segment sizes of a core dump
Message-ID:  <19980824193728.B4111@panke.de>
In-Reply-To: <35E18FF5.B7FADA7B@camtech.net.au>; from Matthew Thyer on Tue, Aug 25, 1998 at 01:38:21AM %2B0930
References:  <199808231906.VAA04727@campa.panke.de> <35E18FF5.B7FADA7B@camtech.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <wosch@freebsd.org> http://www.freebsd.org/~w/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980824193728.B4111>