Languages and Scripting
cancel
Showing results for 
Search instead for 
Did you mean: 

echo "0x2008?4X" | adb /dev/dsk/c4t0d0

 
SOLVED
Go to solution
Highlighted
Frequent Advisor

echo "0x2008?4X" | adb /dev/dsk/c4t0d0

Hello,

When I use the command in subject, I get the following error:

adb: warning: No memory file specified ...
adb: warning: Using 'core'.

I'm using this command according to the book by Charles Keenan, for information of PVRA.

Is a HP-UX 11iv2, in an Integrity rx4640.
3 REPLIES 3
Highlighted
Solution

Re: echo "0x2008?4X" | adb /dev/dsk/c4t0d0

See my response in the following topic:

http://h30499.www3.hp.com/t5/System-Administration/Read-LIF-Header/m-p/5107015

You should use a simpler command xd(1) instead:
# xd -tx4 -j 0x2008 -N 16 /dev/dsk/c4t0d0

1228502
Highlighted
Acclaimed Contributor

Re: echo "0x2008?4X" | adb /dev/dsk/c4t0d0

HI:

You can also invoke the (old) compatability mode of 'adb'. See the 'adb' manpages for more information.

# echo "0x2008?4X" | adb -o /dev/dsk/c4t0d0

Regards!

...JRF...
Highlighted
Frequent Advisor

Re: echo "0x2008?4X" | adb /dev/dsk/c4t0d0

thanks to both for the help.