From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14303 invoked by alias); 16 Nov 2001 14:21:40 -0000 Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@sources.redhat.com Received: (qmail 14280 invoked from network); 16 Nov 2001 14:21:38 -0000 Received: from unknown (HELO blueyonder.co.uk) (195.188.53.126) by sourceware.cygnus.com with SMTP; 16 Nov 2001 14:21:38 -0000 Received: from pcow024m.blueyonder.co.uk ([127.0.0.1]) by blueyonder.co.uk with Microsoft SMTPSVC(5.5.1877.687.68); Fri, 16 Nov 2001 14:21:37 +0000 Received: from iee.org (unverified) by pcow024m.blueyonder.co.uk (Content Technologies SMTPRS 4.2.5) with ESMTP id for ; Fri, 16 Nov 2001 14:21:37 +0000 Message-ID: <3BF520DB.CA3130DF@iee.org> Date: Sun, 11 Nov 2001 08:26:00 -0000 From: Don Sharp X-Mailer: Mozilla 4.78 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Corinna Vinschen Subject: Re: [ANNOUNCEMENT] Updated: mt-2.0.1-1 References: <200111161029.fAGATSD15373@loony.cygnus.com> <3BF4FAC7.D0FB91CC@iee.org> <20011116130137.A16860@cygbert.vinschen.de> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2001-11/txt/msg00429.txt.bz2 Thanks Corinna. Your message is extremely helpful. But help!! how do I unmount the tapes? $ umount /dev/st0 umount: /dev/st0: No such file or directory $ mount \\.\tape0 on /dev/st0 type system (binmode) \\.\tape0 on /dev/nst0 type system (binmode) \\.\tape1 on /dev/nrmt0 type system (binmode) \\.\tape1 on /dev/rmt0 type system (binmode) Cheers Don Sharp Corinna Vinschen wrote: > > 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/ -- 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/