From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,2bb06a05319ff1d8 X-Google-Attributes: gidfee84,public From: jmi@sophia.inria.fr (Janet Bertot) Subject: Re: [Q] Preserving license information when upgrading OS Date: 1998/11/09 Message-ID: <7272b5$gau$2@news-sop.inria.fr>#1/1 X-Deja-AN: 409972190 Content-Transfer-Encoding: 8bit References: <726vt2$8s8$1@nnrp1.dejanews.com> Content-Type: text/plain; charset=iso-8859-1 Organization: INRIA, Sophia-Antipolis (Fr) Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 With lmf you can do an "issue" command but this deletes it from the current database, but the main point is that you can save the license, in an ascii file and then you can do register using this file as input. Basically, what i do when i want to save stuff is copy the current ldb to another directory then use the lmf command with the "-d" option. So you can imagine something like the following: -- cp /var/adm/lmf/ldb /mytmp -- lmf -d /mytmp issue osf-base.temp osf-base -- [you install the new data base for your upgrade on your system -- lmf register - < /mytmp/osf-base.temp -- lmf reset Of course, if you've got a bunch to do, then its onto a little ksh loop or a perl script ... whatever is the flavor this month. You just save each in an individual file named after the products found from a list all.... Personally, since the osf-base license is the only machine specific one, my technique is to get one good copy and propagate that on all the decs after carefully saving the osf-base template. But your mileage may vary. -- Janet Bertot Inria -- Sophia Antipolis