On 08/04/2012 12:04 AM, Cameron Kaiser wrote:
Since I'm getting more into early 90s workstations
(the workstations of
my undergraduate years), I'm finding a need to emulate a network tape device
for installs and restores. It seems like there should be such a tool already
that can mimic /dev/nrmt (TMSCP?). Is there? Some cursory Googling didn't
turn up anything obvious, unless I'm looking in the wrong place.
You could just get the source to rmt. It's ridiculously simple.
I have the tar source with an rmt lib in it. I guess I could implement a
new /etc/rmt and just make it read from .tar files.
However, /dev/nrmt has nothing at all to do
with networking. It's the
raw (byte-oriented) tape device, and the 'n' means it won't rewind the
tape when the file descriptor is closed.
Yes. What I meant was, when the Solbourne tries to install over the network,
it's looking for /dev/nrmt on that system.
Ok. Well, I haven't used /etc/rmt in probably twenty years, but I
seem to recall that you can point it at different devices. If you can,
try pointing it directly at a tar file. The only problem will be the -1
return values from any ioctl() calls made by rmt.
That should be easy enough to hack.
-Dave
--
Dave McGuire, AK4HZ
New Kensington, PA