Re: raw tape device support???

Kai Makisara (Kai.Makisara@kolumbus.fi)
Thu, 3 May 2001 22:55:10 +0300 (EEST)


On Thu, 3 May 2001, Mark Hounschell wrote:

> Sorry if this isn't the correct place for this question. Is there or
> will there
> ever be raw tape device access. I'm trying to port an app from Dec unix
> and at
> least there the app requires /dev/rmt** (raw device). I've read in the
> archives
> about how to bind a block device to a raw device using the raw command
> but the
> tape dev (/dev/st*) is a char device and the command doesn't work on
> char devices.
> So I'm trying to figure out to get the same effect as /dev/rmt* does on
> the dec
> box in a linux environment.

You can just use the device /dev/st* (or /dev/nst*). They are raw
(character) devices. If your app needs to find the devices with names
/dev/rmt*, you can make new device nodes or use links.

Kai

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/