<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Converting LIF file in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528278#M841402</link>
    <description>Hi Stephen,&lt;BR /&gt;&lt;BR /&gt;  Thanks for your help. One question for "lifcp -T-5791 -i 0x2020080 new_ws_file new_lif:WS_FILW", what does new_ws_file represent, i got a "lifcp: Can't open new_ws_file for reading" error when executing it..&lt;BR /&gt;&lt;BR /&gt;  Do you think I can convert a string of data into a form that the system can understand?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry &lt;BR /&gt;</description>
    <pubDate>Wed, 20 Apr 2005 21:22:18 GMT</pubDate>
    <dc:creator>Henry Chua</dc:creator>
    <dc:date>2005-04-20T21:22:18Z</dc:date>
    <item>
      <title>Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528269#M841393</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;  How can I convert a LIF file to a text file or do the reversal?&lt;BR /&gt;&lt;BR /&gt;Thank u &lt;BR /&gt;&lt;BR /&gt;Henry</description>
      <pubDate>Tue, 19 Apr 2005 23:06:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528269#M841393</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-04-19T23:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528270#M841394</link>
      <description>the only command I know is lifcp&lt;BR /&gt;&lt;BR /&gt;It creates new ones when mirroring disks and such.&lt;BR /&gt;&lt;BR /&gt;If you can find it, you might try running the strings command on it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 19 Apr 2005 23:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528270#M841394</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2005-04-19T23:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528271#M841395</link>
      <description>lifcp is the command. For instance, assuming that your boot disk is /dev/rdsk/c0t6d0, you can list the files in the boot area with:&lt;BR /&gt; &lt;BR /&gt;lifls -l /dev/rdsk/c0t6d0&lt;BR /&gt; &lt;BR /&gt;Then to copy the AUTO to your screen:&lt;BR /&gt; &lt;BR /&gt;lifcp /dev/rdsk/c0t6d0:AUTO -&lt;BR /&gt; &lt;BR /&gt;or copy it to a file:&lt;BR /&gt; &lt;BR /&gt;lifcp /dev/rdsk/c0t6d0:AUTO /tmp/myAUTOfile&lt;BR /&gt; &lt;BR /&gt;man lifcp lifrm lifls lif</description>
      <pubDate>Wed, 20 Apr 2005 00:17:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528271#M841395</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2005-04-20T00:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528272#M841396</link>
      <description>Hi Guys,&lt;BR /&gt;&lt;BR /&gt;  Thanks for the info. What do u make of the following attached file?  It seems to be a LIF file.. can i know how to view the content?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry</description>
      <pubDate>Wed, 20 Apr 2005 00:51:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528272#M841396</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-04-20T00:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528273#M841397</link>
      <description>It is a LIF file,&lt;BR /&gt;&lt;BR /&gt;volume HFSLIF data size 1052 directory size 1&lt;BR /&gt;filename   type   start   size     implement  created&lt;BR /&gt;===============================================================&lt;BR /&gt;WS_FILE    -5791  2       110      20200080   00/00/00 00:00:00&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The contents of WS_FILE are attached, but I don't know what it is! It looks like some sort of diagnostics output.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2005 03:08:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528273#M841397</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-20T03:08:38Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528274#M841398</link>
      <description>Hi Stephen,&lt;BR /&gt;&lt;BR /&gt;  Thanks for the help. Can you tell me how did u get the final WS_FILE, I been trying but keep getting nothing. &lt;BR /&gt;&lt;BR /&gt; This file actually contains parameter supporting an equipment. We input the parameter one at a time, and the system will then compiled the data into a LIF file. What I would like to know is could I convert the data directly into a LIF that is readable by the system? what do you think i should do?&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;BR /&gt;Henry</description>
      <pubDate>Wed, 20 Apr 2005 03:19:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528274#M841398</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-04-20T03:19:23Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528275#M841399</link>
      <description>I saved you attachment.&lt;BR /&gt;I ran&lt;BR /&gt;&lt;BR /&gt;# lifls -l file&lt;BR /&gt;&lt;BR /&gt;I have already posted the result of that&lt;BR /&gt;&lt;BR /&gt;I then ran&lt;BR /&gt;&lt;BR /&gt;# lifcp file:WS_FILE WS_FILE&lt;BR /&gt;&lt;BR /&gt;I got the name WS_FILE from the lifls command. I then posted the WS_FILE back.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2005 03:28:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528275#M841399</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-20T03:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528276#M841400</link>
      <description>Thanks Steven,&lt;BR /&gt;&lt;BR /&gt;  when i strings the WSFILE i got a string of data. Can I used these datas to recreate an identical LIF file?&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Henry</description>
      <pubDate>Wed, 20 Apr 2005 03:39:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528276#M841400</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-04-20T03:39:03Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528277#M841401</link>
      <description>You would need to create a new lif &lt;BR /&gt;&lt;BR /&gt;# lifinit -n "HFSLIF" -v270080 -d1 newlif&lt;BR /&gt;&lt;BR /&gt;where:&lt;BR /&gt;-n is the volume id of the lif i.e. HFSLIF&lt;BR /&gt;-v is the size of the lif &lt;BR /&gt;-d is the number of directory entries&lt;BR /&gt;&lt;BR /&gt;These are the same values as your current LIF.&lt;BR /&gt;&lt;BR /&gt;Then you would need to copy your new WS_FILE into your new LIF&lt;BR /&gt;&lt;BR /&gt;# lifcp -T-5791 -i 0x2020080 new_ws_file new_lif:WS_FILE&lt;BR /&gt;&lt;BR /&gt;where:&lt;BR /&gt;-T is the type&lt;BR /&gt;-i is the implementation&lt;BR /&gt;&lt;BR /&gt;Then check it's all OK&lt;BR /&gt;&lt;BR /&gt;# lifls -l new_lif&lt;BR /&gt;&lt;BR /&gt;The only difference between the old LIF and the new LIF (apart from the WS_FILE) is the directory start which is 3 on the new LIF and 2 on the old one. I don't know whether that it important for your application. If it is, let me know and I'm sure we can fix it.&lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2005 03:54:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528277#M841401</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-20T03:54:08Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528278#M841402</link>
      <description>Hi Stephen,&lt;BR /&gt;&lt;BR /&gt;  Thanks for your help. One question for "lifcp -T-5791 -i 0x2020080 new_ws_file new_lif:WS_FILW", what does new_ws_file represent, i got a "lifcp: Can't open new_ws_file for reading" error when executing it..&lt;BR /&gt;&lt;BR /&gt;  Do you think I can convert a string of data into a form that the system can understand?&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Henry &lt;BR /&gt;</description>
      <pubDate>Wed, 20 Apr 2005 21:22:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528278#M841402</guid>
      <dc:creator>Henry Chua</dc:creator>
      <dc:date>2005-04-20T21:22:18Z</dc:date>
    </item>
    <item>
      <title>Re: Converting LIF file</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528279#M841403</link>
      <description>new_ws_file would be the name of a normal Unix file in to which you have saved your string of data.</description>
      <pubDate>Thu, 21 Apr 2005 03:03:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/converting-lif-file/m-p/3528279#M841403</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-04-21T03:03:39Z</dc:date>
    </item>
  </channel>
</rss>

