Operating System - Linux
1753417 Members
5073 Online
108793 Solutions
New Discussion юеВ

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

 
SOLVED
Go to solution
rdiaz
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
Dennis Handly
Acclaimed Contributor
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
James R. Ferguson
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...
rdiaz
Frequent Advisor

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

thanks to both for the help.