Reading user structure from /dev/swap on 3B2
Michael E. Burg
mb at abspc.UUCP
Wed Mar 19 08:52:17 AEST 1986
Hi!
I'm having problems trying to find how to read the user block
of a process when it's swapped to /dev/swap. I've tried using proc.p_swaddr
(Swap Address) and have try the following address in swap -
ctod(proc.p_swaddr)*BSIZE (BSIZE = 512)
ctod(proc.p_swaddr)*1024
ctob(proc.p_swaddr)*BSIZE
ctob(proc.p_swaddr)*1024
ctob(proc.p_swaddr)
ctod(proc.p_swaddr)
All the above produce junk. Any System V R2V2 experts have any ideas?
More information about the Comp.unix.wizards
mailing list