public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cpio porting
@ 1997-03-06 14:48 Scott Fagg
  1997-03-07 16:11 ` Jim Balter
  0 siblings, 1 reply; 2+ messages in thread
From: Scott Fagg @ 1997-03-06 14:48 UTC (permalink / raw)
  To: gnu-win32

I'm trying to port cpio to NT (so i can read some old sun backup
tapes)

The port took a little time based on source code supplied with my
linux distribution. I got a couple of warnings during the compile,
but the resultant exe appears to create and read valid cpio files.

However, i can't get it to work with my tape drive ( a SCSI SUN
QIC tape drive )
I've tried both cpio ... > /dev/st0 and cpio ... > \\.\tape0
The first instance tells me that /dev/st0 is not a file/directory
and the second one actually creates a file called .tape0 in the
root directory. However cpio ... > /dev/fd0/filename does work.

If have a win32 version of tar that works with \\.\tape0 so the
tape is working. (ie tar -cvf \\.\tape0)

The output from a mount command gives ...

Device      Directory      Type       Flags
d:          /extra         native     no-mixed,text!=binary
\\.\tape1:  /dev/st1       native     no-mixed,text!=binary
\\.\tape0:  /dev/st0       native     no-mixed,text!=binary
\\.\b:      /dev/fd1       native     no-mixed,text!=binary
\\.\a:      /dev/fd0       native     no-mixed,text!=binary
c:          /              native     no-mixed,text!=binary

Any ideas? Does the problem lie with my port of cpio, the bash
shell or what? Should the ':' be after the \\.\tape0 in the mount
table?

help!

regards,
scott fagg

-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cpio porting
  1997-03-06 14:48 cpio porting Scott Fagg
@ 1997-03-07 16:11 ` Jim Balter
  0 siblings, 0 replies; 2+ messages in thread
From: Jim Balter @ 1997-03-07 16:11 UTC (permalink / raw)
  To: Scott Fagg; +Cc: gnu-win32

Scott Fagg wrote:

> Any ideas? Does the problem lie with my port of cpio, the bash
> shell or what? Should the ':' be after the \\.\tape0 in the mount
> table?

I've posted on this bug before.  The latest cygwin path mapping doesn't
understand UNC names, converting "\\.\tape0" into "\\tape0".

--
<J Q B>
-
For help on using this list, send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-03-07 16:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-03-06 14:48 cpio porting Scott Fagg
1997-03-07 16:11 ` Jim Balter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).