This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Tar Problems Under Cygwin


"Anthony Massa" <amassa@san.rr.com> wrote around 21 Aug 2002 
NBBBJIKCMKBJFEAHMGMAGECDEHAA.amassa@san.rr.com">news:NBBBJIKCMKBJFEAHMGMAGECDEHAA.amassa@san.rr.com about %s:

> This file was then placed on a CD-ROM.  When I tried to un-tar the file
> using the command:
> 
> $ tar xjvf f:/i386rdwr.tar.bz2
> 
> I get the following output error message:
> 
> f: unknown host
> tar (child): f\:/i386rdwr.tar.bz2: Cannot open: I/O error
> tar (child): Error is not recoverable: exiting now

You've received advice to mess with your mounts in order to fix a
problem known to happen with the tar that's packaged with Cygwin. That's
fine, but TMTOWTDI: just set the appropriate default options for tar
that (IMHO) make sense on an average Win32 system: 

TAR_OPTIONS=--force-local

Somewhere in your bash start-up files (~/.bashrc). Then pass ordinary
windows-style paths to tar freely. It won't choke on them anymore. 

  HTH,
   Soren A



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]