Operating System - HP-UX
1834497 Members
2697 Online
110067 Solutions
New Discussion

Re: lifcp does not copy AUTO file.

 
SOLVED
Go to solution
Karvendhan M
Frequent Advisor

lifcp does not copy AUTO file.

 
4 REPLIES 4
Karvendhan M
Frequent Advisor

Re: lifcp does not copy AUTO file.

Hi,, Sorry.... for an empty post.

# lifcp /home/auto.new /dev/rdsk/c1t15d0:AUTO

this fails, saying file already exists.

pls help.

tahnks in advance.

Karvendhan M.

Wieslaw Krajewski
Honored Contributor
Solution

Re: lifcp does not copy AUTO file.

Hi,

Do it as foolows:

lifrm /dev/rdsk/c1t15d0:AUTO
lifcp /home/auto.new /dev/rdsk/c1t15d0:AUTO

Rgds.
Permanent training makes master
charu_1
New Member

Re: lifcp does not copy AUTO file.

Hi
There can be only one copy of AUTO file in the LIF area of any bootable disk.
This contains boot cmd and options.

First you have to remove the existing one and then only u can place another AUTO file, lifcp will not overwrite the file.

Pl. confirm from lifls first , and then take backup of exiting one . then remove it . finally copy your AUTO file there.

# lifls -l /dev/rdsk/cxtxdx
# lifcp /dev/rdsk/cxtxdx:AUTO /tmp/AUTO.bck
edit the file or place new one after removing the old file
#lifrm /dev/rdsk/cxtxdx:AUTO
#lifcp -T -12289 /tmp/AUTO.bck /dev/rdsk/cxtxdx:AUTO

where -12289 is the type of AUTO file , which u can see from lifls -l output.

Thanks

Charu