When migrating an original system to a newly installed system it is necessary to selectively copy system, application or data files from the original system to the emulated system.
This describes a method for copying setld "subset" files. setld is the Tru64 UNIX software packaging system.
Assuming that you wish to copy all the files that belong to a particular "subset" (a Tru64 package):
setld -i | grep -i <keyword>
to find the name of the subset# cd /usr/.smdb.
# grep <filename> *.inv
# more OSFSER3D440.inv
# cd /
# awk '{print $10}' /usr/.smdb./OSFSER3D440.inv | cpio -ov -O/var/tmp/subset-files.cpio
# sh # (if you aren't already running /bin/sh or /bin/ksh)
# cpio -it -I/path/to/subset-files.cpio 2>/dev/null | while read file; do if [ -f /$file ]; then echo "collision: /$file"; fi; done
# cd /
# cpio -idv -I/path/to/subset-files.cpio
Now the files should be on the target system. Depending on the software, you may need to perform additional steps to make the subset active. It may help to look at the "Subset Control Program", which is in /usr/.smdb./<kit-name>.scp. You may find the "stl_scp" man-page useful.
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.