Mail Archives: cygwin/2003/02/14/18:53:13
On 15 Feb 2003, Robert Collins wrote:
> On Sat, 2003-02-15 at 09:28, Christopher Faylor wrote:
>
> [snip]
>
> > I was also thinking of creating a '/dev/tty' file in the archive which
> > was just a real file containing the words "Hey! What are YOU DOING???" I
> > think that would cause a tar extraction to print that message to the
> > screen. Don't know what it would do to setup.exe, though.
>
> probably create c:/cygwin/dev/tty...
>
> Rob
FYI:
$ tar tvf test.tar
drwxrwxrwx SYSTEM/SYSTEM 0 2003-02-14 17:48:16 dev/
-rw-rw-rw- SYSTEM/SYSTEM 27 2003-02-14 17:48:16 dev/tty
$ tar xOf test.tar dev/tty
Hey! What are YOU DOING???
$ cat test.tar | (cd / && tar xvf -)
dev/
dev/tty
Hey! What are YOU DOING???
tar: dev/tty: Cannot utime: No such file or directory
tar: Error exit delayed from previous errors
$
As for creating c:\cygwin\dev\tty, I do that anyway - allows
Tab-completion.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
-- /usr/games/fortune
--
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/
- Raw text -