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]

Re: mt on NT


On Mon, Jul 16, 2001 at 01:30:32PM -0500, Stephen Hansen wrote:
> $ mt -f /dev/nt0 status 2 (and 3)
> TapeStatus: 6: The handle is invalid
> mt: Error reporting tape status

Hmm, weird. I have no idea. The thing is, it could open "\\.\tape0'
so the handle should be ok. I even tried renaming my tape drive to
/dev/[n]t0 either for testing. I have no problems.

Could you compile a debug version of mt and debug it?

Oh, btw, did you succeed in reading or writing on the tape using
Cygwin tar/cpio/dd/something?

Did you use the same user account when creating the mount point
and when calling mt? If you're using a ssh/rsh/telnet session
to connect to the box, do you see the mount points for the tapes
there, too?

Corinna

> 
> Corinna Vinschen wrote:
> 
> > On Mon, Jul 16, 2001 at 06:35:22PM +0200, Corinna Vinschen wrote:
> > > On Mon, Jul 16, 2001 at 11:24:31AM -0500, Stephen Hansen wrote:
> > > > I have to type the output because I'm working on a secure system.  Here it is:
> > > >
> > > > $ mount
> > > > C:\cygwin\bin on /usr/bin type system (binmode)
> > > > C:\cygwin\lib on /usr/lib type system (binmode)
> > > > C:\cygwin on / type system (binmode)
> > > > \\.\tape0 on /dev/t0 type user (binmode)
> > > > \\.\tape0 on /dev/nt0 type user (binmode)
> > > > c: on /cygdrive/c type user (binmode, noumount)
> > > > e: on /cygdrive/e type user (binmode, noumount)
> > > > f: on /cygdrive/f type user (binmode, noumount)
> > > > g: on /cygdrive/g type user (binmode, noumount)
> > > > i: on /cygdrive/i type user (binmode, noumount)
> > > > j: on /cygdrive/j type user (binmode, noumount)
> > > > k: on /cygdrive/k type user (binmode, noumount)
> > > > l: on /cygdrive/l type user (binmode, noumount)
> > > >
> > > > Adminisrator@TRC-EVAN NT ~
> > > > $ mt status 2
> > > > mt: '2' is no tape device
> > >
> > > mt -f /dev/nt0 status 2?
> >
> > or better
> >
> >   mt -f /dev/nt0 status 3

-- 
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/


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