* New Cygwin DLL 1.3.6 release & tapes ??
@ 2001-12-07 13:59 Manfred Drechsel
2001-12-08 3:11 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Manfred Drechsel @ 2001-12-07 13:59 UTC (permalink / raw)
To: cygwin
hi chris,
first, many thanks for cygwin. i could not survive
without it.
sorry to send you a mail directly.
am i doing something wrong or why does tar not
work on my dat-tape?
here's more info:
----------------------------------------
# mount
...
\\.\tape0 on /dev/st0 type system (binmode)
...
#
# mt -f /dev/tape rewind
#
# tar -tf /dev/tape
tar: /dev/tape: Cannot read: Permission denied
tar: At beginning of tape, quitting now
tar: Error is not recoverable: exiting now
#
# ls -l /dev/tape
lrwxrwxrwx 1 Manfred None 101 Dec 7 19:39 /dev/tape ->
/dev/st0
#
# ls -l /dev/st0
crw-rw-rw- 1 Everyone Everyone 18, 0 Dec 7 22:39 /dev/st0
#
# tar --version
tar (GNU tar) 1.13.19
...
#
# cygcheck.exe -s
...
Windows NT Ver 4.0 Build 1381 Service Pack 6
...
cygwin 1.3.6-4
...
#
----------------------------------------
so the 'permission denied' is the problem. i think, version 1.3.4 worked.
v1.3.5 had the same problem.
any idea?
thanks for any help
Manfred
mailto:Manfred@TR1.de
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: New Cygwin DLL 1.3.6 release & tapes ??
2001-12-07 13:59 New Cygwin DLL 1.3.6 release & tapes ?? Manfred Drechsel
@ 2001-12-08 3:11 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2001-12-08 3:11 UTC (permalink / raw)
To: cygwin
On Fri, Dec 07, 2001 at 10:43:02PM +0100, Manfred Drechsel wrote:
> hi chris,
>
> first, many thanks for cygwin. i could not survive
> without it.
>
> sorry to send you a mail directly.
>
> am i doing something wrong or why does tar not
> work on my dat-tape?
>
> here's more info:
>
> ----------------------------------------
> # mount
> ...
> \\.\tape0 on /dev/st0 type system (binmode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
That mount point is unnecessary since 1.3.3, see Users Guide:
http://cygwin.com/cygwin-ug-net/using-specialnames.html#AEN590
> #
> # mt -f /dev/tape rewind
^^^^^^^^^^^^
unnecessary since /dev/tape is the default device name for
mt version >= 2.0.
> # tar -tf /dev/tape
> tar: /dev/tape: Cannot read: Permission denied
> tar: At beginning of tape, quitting now
> tar: Error is not recoverable: exiting now
Probably wrong blocksize. See if the blocksize is set correctly:
$ mt status 2
tape capacity : 1953251 KB remaining : 1953251 KB
current block : 0 write protected : no datcompression : on
min block size : 1 max block size : 65536
def block size : 16384 cur block size : 512
report setmarks : on
Then try using the correct fixed blocksize if you know it:
mt selblk 5120
Or variable blocksize for reading if you don't know the blocksize
used for writing the tape:
mt setblk 0
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-12-08 10:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07 13:59 New Cygwin DLL 1.3.6 release & tapes ?? Manfred Drechsel
2001-12-08 3:11 ` Corinna Vinschen
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).