Up: SGI admin Frequently Asked Questions (FAQ)
Next: -25- Why doesn't 'inst' work?
Previous: -23- Which IRIX CD is the program 'foo' on?
Subject: -24- How can I extract a single file from an 'inst'
subsystem?
Date: 05 Feb 1995 00:00:01 EST
Under IRIX 5.2 and earlier, you need to be clever. 'inst' guru Paul
Jackson <pj@sgi.com> reveals all:
- Find the subsystem in which the file lives, as described in the
previous question. For this example we'll extract /sbin/ed, which
lives in eoe1.sw.unix.
- Follow the bouncing prompt:
> su
> cd /usr/tmp
> mkdir -p tmproot/var/inst
> inst -f /CDROM/dist/eoe1 -r /usr/tmp/tmproot
> Inst> keep *
> Inst> install eoe1.sw.unix
> Inst> go
> Inst> q
> ls -l /usr/tmp/tmproot/sbin/ed
-rwxr-xr-x 1 root sys 75480 May 24 13:57 /usr/tmp/tmproot/sbin/ed
- Move your file somwhere else and 'rm -r /usr/tmp/tmproot'.
- That was under IRIX 5.x. Under IRIX 4.0.x or earlier, use
'/usr/tmp/tmproot/usr/lib/inst' for a temporary inst directory
instead of '/usr/tmp/tmproot/var/inst'.
In IRIX 5.3, inst's '-Y' flag allows you to install a single file. See
inst(1M) for more.
Up: SGI admin Frequently Asked Questions (FAQ)
Next: -25- Why doesn't 'inst' work?
Previous: -23- Which IRIX CD is the program 'foo' on?