public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] Updated: mt-2.0.1-1
Date: Sun, 11 Nov 2001 08:26:00 -0000	[thread overview]
Message-ID: <20011116130137.A16860@cygbert.vinschen.de> (raw)
In-Reply-To: <3BF4FAC7.D0FB91CC@iee.org>; from dwsharp@iee.org on Fri, Nov 16, 2001 at 11:38:47AM +0000

On Fri, Nov 16, 2001 at 11:38:47AM +0000, Don Sharp wrote:
> (/dev/tape1 in the new regime?) but the tape rewound after stopping the
> tape with a ^C and then issuing 

No, the naming convention for the raw devices is the following:

major minor    POSIX filename  NT filename
----- -----    --------------  -------------------------
18       0     /dev/st0        \device\tape0 (rewind)
18       1     /dev/st1        \device\tape1 (rewind)
...
18     128     /dev/nst0       \device\tape0 (norewind)
18     129     /dev/nst1       \device\tape1 (norewind)
...

17       0     /dev/fd0        \device\floppy0
17       1     /dev/fd1        \device\floppy1
...

17      16     /dev/scd0       \device\cdrom0
17      17     /dev/scd0       \device\cdrom1
...

17      32     /dev/sda        \device\harddisk0\partition0
17      33     /dev/sda1       \device\harddisk0\partition1
...
17      47     /dev/sda15      \device\harddisk0\partition15

17      48     /dev/sdb        \device\harddisk1\partition0
17      33     /dev/sdb1       \device\harddisk1\partition1
...
17     208     /dev/sdl        \device\harddisk11\partition0
...
17     223     /dev/sdl15      \device\harddisk11\partition15

The following are needed to maintain backward compatibility with
the old Win32 partitioning scheme on W2K/XP.

17     224     from mount tab  \\.\A:
...
17     250     from mount tab  \\.\Z:

The above naming convention is used close to the way the SCSI
devices are named on Linux.

/dev/tape is just used as a default name for a tape device in
the (more or less) Linux compatible header file mtio.h.  That
results (even on Linux) to mt using /dev/tape as default tape
device name.  Therefore, most Linux systems have /dev/tape
a symlink to the main tape device, typically /dev/st0 if a
SCSI tape is connected.

> mt -f /dev/nrmt0 status 2
> 
> Positioning using (//./tape1 mounted as) /dev/nrmt0 didn't seem to leave
> the tape positioned.
> 
> Should I abandon the use of mounted tape devices?

At least for now.  Use the default /dev/st1 and /dev/nst1.  That
effect wasn't planned, though.  I will investigate it when I have
some spare time.  Probably I have dropped the `leading character n'
test by mistake.

Thanks for the heads up,
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/

  reply	other threads:[~2001-11-16 12:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-11  8:26 Corinna Vinschen
2001-11-11  8:26 ` Don Sharp
2001-11-11  8:26   ` Corinna Vinschen [this message]
2001-11-11  8:26     ` Don Sharp
2001-11-11  8:26       ` Corinna Vinschen
2001-11-11  8:26         ` Don Sharp
2001-11-11  8:26     ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011116130137.A16860@cygbert.vinschen.de \
    --to=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).