Sounds good. We are using lcrash on development hosts, currently
SunOS 5.8. So embedding uncompressor is a reasonable solution.
In fact, I was thinking something like:
if (magic_number("Kerntypes") == ZIP)
fp = popen("gunzip Kerntypes", "r");
else if (magic_number("Kerntypes") == ELF)
fp = fopen("Kerntypes", "r");
else
boom();
hiro
> -----Original Message-----
> From: Matt D. Robinson [mailto:yakker@xxxxxxxxxxxxxx]
> Sent: Wednesday, July 18, 2001 15:04
> To: Hiro Sugawara
> Cc: lkcd@xxxxxxxxxxx
> Subject: Re: Module support
> I'm in the process of building gzip / gunzip as a dump compression
> type. Let me think about the compressed Kerntypes file issue. I
> mean, you could stream uncompress it into 'lcrash', but I don't know
> if that's what you want to do.
|