Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: tlug: cpio WARNING
- To: tlug@example.com
- Subject: Re: tlug: cpio WARNING
- From: Scott Stone <sstone@example.com>
- Date: Mon, 26 Oct 1998 17:10:47 +0900 (JST)
- Content-Type: TEXT/PLAIN; charset=US-ASCII
- In-Reply-To: <19981026165905.B26451@example.com>
- Reply-To: tlug@example.com
- Sender: owner-tlug@example.com
On Mon, 26 Oct 1998, Scott Perlman wrote: > Please, do NOT exit(0) > > Ayone depending on cpio -c for a backup mechanism will happily use the > scripts they have gotten debugged and working forever, and as cpio > succeeds will not know things went wrong. > > Give an exit code that makes more sense. > > (also make sure tyou print to STDERR not STDOUT) Good points all, thanks. exit(1) is probably better. > > -Scott > > Scott Stone did state upon Mon, Oct 26, 1998 at 12:58:46PM +0900: > > > > do NOT use cpio with the '-c' flag (-c == use portable ASCII archive > > format) on a glibc-based system. There's some libc-internal data > > structure whose size has changed between libc5 and glibc. Any archive you > > create on a glibc system with 'cpio -c' will be completely unreadable. > > libc5 systems are not affected, and glibc systems can read 'cpio -c' > > archives created on libc5 systems. > > > > Despite the fact that this bug has been Reported to the right people, > > there is no patch. Use afio instead of cpio. > > > > I'm patching TurboLinux's cpio (in 3.0) to say, "use afio instead" and > > exit(0) when the -c flag is used. Data loss is not fun :) > > > > This bug is easily verifiable by simply creating a cpio archive with -c > > and then trying to extract it somewhere else. > > > > Affected systems are Redhat 5.0, 5.1, TurboLinux 2.0, Debian 2.0, and > > anything else that's glibc based and has a glibc-built cpio binary. > > > > -------------------------------------------------- > > Scott M. Stone <sstone@example.com, sstone@example.com> > > <sstone@example.com> > > Head of TurboLinux Development/Systems Administrator > > Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan) > > http://www.pht.com http://armadillo.pht.co.jp > > http://www.pht.co.jp http://www.turbolinux.com > > > > > > --------------------------------------------------------------- > > Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 > > Next Technical Meeting: January, 1999 (details TBA) > > --------------------------------------------------------------- > > Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp > >>>end > > -- > "Then I was inspired, | Scott Perlman > Now I'm sad and tired, | perlman@example.com > After all I've tried for three years, > Seems like ninety." JC-JCS-ALW > --------------------------------------------------------------- > Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 > Next Technical Meeting: January, 1999 (details TBA) > --------------------------------------------------------------- > Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp > -------------------------------------------------- Scott M. Stone <sstone@example.com, sstone@example.com> <sstone@example.com> Head of TurboLinux Development/Systems Administrator Pacific HiTech, Inc (USA) / Pacific HiTech, KK (Japan) http://www.pht.com http://armadillo.pht.co.jp http://www.pht.co.jp http://www.turbolinux.com --------------------------------------------------------------- Next Nomikai: 20 November, 19:30 Tengu TokyoEkiMae 03-3275-3691 Next Technical Meeting: January, 1999 (details TBA) --------------------------------------------------------------- Sponsor: PHT, makers of TurboLinux http://www.pht.co.jp
- Follow-Ups:
- Re: tlug: cpio WARNING
- From: Scott Perlman <perlman@example.com>
- References:
- Re: tlug: cpio WARNING
- From: Scott Perlman <perlman@example.com>
Home | Main Index | Thread Index
- Prev by Date: Re: tlug: Netscape major 'OOPS'!
- Next by Date: Re: tlug: Netscape major 'OOPS'!
- Prev by thread: Re: tlug: cpio WARNING
- Next by thread: Re: tlug: cpio WARNING
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links