Dan,
Thanks, that did the trick.
# dump
date = Thu Mar 2 09:52:02 2023
dump date = the epoch
dumping /dev/rrp3 to /dev/rmt1
I
II
estimated 24870 tape blocks on 0 tape(s)
III
IV
level 9 dump on Thu Mar 2 09:52:02 2023
DONE
25228 tape blocks on 1 tape(s)
And, I will change dump.c and dumpdir.c to use tm0.
Ken
On Thu, Mar 2, 2023 at 9:40 AM Dan Cross <crossd(a)gmail.com> wrote:
On Thu, Mar 2, 2023 at 9:28 AM KenUnix
<ken.unix.guy(a)gmail.com> wrote:
I am trying to use the 'dump' program
but it references rmt1.
My system only has rmt0. I have been unable to find how to
create this device. I have looked over the reference material
but it only references rmt0.
Is there any way to redirect a dump to use rmt0?
Any help is appreciated.
I'd start with the man page.
Dump(1M) says that argument `f` causes `dump` to, "Place the dump on
the next argument file instead of the tape". Did you try using that
option with `/dev/rmt0`?
Alternatively, I don't see why you couldn't hard-link /dev/rmt1 to
/dev/rmt0:
# cd /dev
# ln rmt1 rmt0
Or use `mknod` to create a device file with the same major/minor numbers:
# cd /dev
# /etc/mknod rmt1 c 12 0
Or even, as a very last resort, edit the source and change the default
dump device. It's in /usr/src/cmd/dump.c
Hope that helps!
- Dan C.
--
End of line
JOB TERMINATED