Mail Archives: cygwin/2001/11/16/09:22:00
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 AT cygwin DOT 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/
- Raw text -