gzip and old files Solved.

2019-08-20 Thread Martin McCormick
This exercise was a good training session and was sort of a trip down Memory Lane. I am thankful that floppy disks are mostly history but as long as the hardware is still there, it was good to get useful tools that can on rare occasions, get one out of a jam. One of the things I l

Re: gzip and old files Partly Solved

2019-08-19 Thread John Conover
Might try "file rc.custom.gz" and make sure it says: rc.custom.gz: gzip compressed data, was "rc.custom", last modified: ... to look at rc.custom.gz's magic(5) header. John Martin McCormick writes: > Greg Wooledge writes: > > Sounds unlikely. > > > > > $ gzip -d rc.custom.gz > > > >

gzip and old files Partly Solved

2019-08-19 Thread Martin McCormick
Greg Wooledge writes: > Sounds unlikely. > > > $ gzip -d rc.custom.gz > > > > gzip: rc.custom.gz: not in gzip format > > Where did you get this file? tomsrtbt-2.0.103 Here's what happened: The rc.custom.gz file you posted is 961 bytes long. My corrupt copy is also 961 bytes l

Re: gzip and old files

2019-08-19 Thread Greg Wooledge
On Mon, Aug 19, 2019 at 08:03:42PM +0200, Hans wrote: > Isn't it "gunzip rc.custom.gz"??? That's identical to gzip -d rc.custom.gz.

Re: gzip and old files

2019-08-19 Thread Hans
Isn't it "gunzip rc.custom.gz"??? Best Hans > I cannot reproduce that with gzip 1.9-3, it decompresses the file just > fine. Is your rc.custom.gz identical to what I have and what is > attached? > > Cheers, >Sven signature.asc Description: This is a digitally signed message part.

Re: gzip and old files

2019-08-19 Thread Sven Joachim
On 2019-08-19 12:39 -0500, Martin McCormick wrote: > I am trying to unzip rc.custom.gz from tomsrtbt so I can > give it a serial console. All you need do is modify /etc/inittab > and add a line defining one of the serial ports as a console > login. > > Normally, this is trivial and one

Re: gzip and old files

2019-08-19 Thread Greg Wooledge
On Mon, Aug 19, 2019 at 12:39:47PM -0500, Martin McCormick wrote: > The problem is that in 2002, gzip apparently worked > differently so if you use modern gzip on it, it just complains Sounds unlikely. > $ gzip -d rc.custom.gz > > gzip: rc.custom.gz: not in gzip format Where did you get t

gzip and old files

2019-08-19 Thread Martin McCormick
I am trying to unzip rc.custom.gz from tomsrtbt so I can give it a serial console. All you need do is modify /etc/inittab and add a line defining one of the serial ports as a console login. Normally, this is trivial and one should just give the command gzip -d rc.custom.gz and,