Operating System - HP-UX
1753481 Members
4478 Online
108794 Solutions
New Discussion юеВ

Re: listing label contents

 
Hakki Aydin Ucar
Honored Contributor

Re: listing label contents

>Torsten: As said before, use

# lvlnboot -v

I am already familiar and using lvlnboot . I just want learn more LIF copy "lifcp" command.
Hakki Aydin Ucar
Honored Contributor

Re: listing label contents

For Example:

it makes sense :
# lifcp /dev/rdsk/c3t6d0s2:AUTO -
hpux

probably the reason is that it is ASCII and others are BINARY ?
Torsten.
Acclaimed Contributor

Re: listing label contents

>> . I just want learn more LIF copy "lifcp" command.

Do

# man lifcp

It copies files from filesystem to LIF and back.

Some files are just binary, you cannot read them.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: listing label contents

If you want to learn more about the LIF files take a look into the ignite administrator guide!

http://www.hp.com/go/ignite-UX

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Dennis Handly
Acclaimed Contributor

Re: listing label contents

>Torsten: Some files are just binary, you cannot read them.

Right. You can use xd(1) but I don't see any ascii chars:
$ xd -tx4 -tc LABEL
0000000 43303e73 8b7f6a3c 1 0
C 0 > s 213 177 j < \0 \0 \0 001 \0 \0 \0 \0
Dennis Handly
Acclaimed Contributor

Re: listing label contents

I should mention that if you are on Integrity, you should also look info the efi_* functions:
efi_ls(1M) efi_cp(1M), etc
Hakki Aydin Ucar
Honored Contributor

Re: listing label contents

>Denis: xd

Great!

# lifcp /dev/rdsk/c3t6d0s2:LABEL - |xd -tx4
0000000 4aa5f33f 8b7f6a3c 1 0
0000010 0 b60 1c0000 0
0000020 0 9c0b60 108000 0
0000030 0 1c0b60 800000 0
*
0000050 0 0 0 0
*
0000100 0 0 0 32101418
0000110 0 0 0 0
*
00001d0 0 0 0 10000
00001e0 4aa5f33f 0 0 0
00001f0 0 0 0 0
*
0000800

R.K. #
Honored Contributor

Re: listing label contents

Hi Himacs..

I know its late..just came across this thread so thought of sharing what I have..might add more info to this thread.

Please see the attachment.

Thanks..
RK
Don't fix what ain't broke