This is the mail archive of the cygwin 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: Very slow SCSI tape drive with cygwin/Win2kPro


On Aug 23 18:40, Bill Nugent wrote:
>  mt -f /dev/nst0 setblk 8192
>  tar -tf /dev/nst0 -b 32

tar --help, especially the -b option.

> Block size does not seem to be a factor.  I've tried 8k, 16k and 32k 
> (over 32k doesn't work for some reason).

Did you have a look into the `mt status 3' output below?

Other than that, you will notice that Cygwin is always slower than
native techniques since there's a whole layer of POSIX functionality
on top of the Win32 stuff.

> $ mt -f /dev/st0 status 3
> drive type       :       01 (Unknown type of tape device)
> tape capacity    : 102629376 KB          remaining        :  8861696 KB
> current file     :        0             active partition :        0
> current block    :        0             cur logical block:        0
> General status bits on (45030000):
>  BOT WR_PROT ONLINE IM_REP_EN HW_COMP
> min block size   :        2             max block size   :    32768
                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]