Groups | Search | Server Info | Login | Register
| From | "DoN. Nichols" <BPdnicholsBP@d-and-d.com> |
|---|---|
| Newsgroups | comp.sys.3b1 |
| Subject | Re: cpio UNIX PC to MightyFrame CTIX "translation" |
| Date | 2015-03-03 04:05 +0000 |
| Organization | D and D Data |
| Message-ID | <slrnmfaco2.bta.BPdnicholsBP@Katana.d-and-d.com> (permalink) |
| References | <424dc98b-88d4-43d3-9ec3-b049ee1b5c51@googlegroups.com> |
On 2015-03-01, Convergent MightyFrame <mightyframect@gmail.com> wrote:
> So, I am hoping to -i (copy in, extract) a cpio file that contains
> absolute path names to be redirected to the current working directory.
> When I read cpio in the UNIX PC User's Manual (this link opens the
> whole manual right to the cpio page http://bit.ly/1BsINTS ), it clearly
> says that the option I want to use is -R: "Allow files and directories
> with absolute path names to be redirected on input to the current
> working directory (see pwd (1)) by removing the leading / from the path
> name. This option is used only with the -i option."
> But, as luck would have it, the MightyFrame options do not contain a
> -R, only a -r, and in the UNIX PC manual, those clearly are different
> functions.
> Instead, the MightyFrame has:
> Usage: cpio -o[acvBQ] <name-list >collection
> cpio -i[cdmrstuvfBQ6] [pattern ...] <collection
> cpio -p[adlmruv] directory <name-list
> Now, I don't yet have a CTIX User's Manual for the MightyFrame, so the
> UNIX PC manual is my best resource for this vintage of UNIX.
> Does anyone have any idea on which one of the available parameters
> from the MightyFrame might have this same function?
Might I suggest that you use cpio on a neewe system to extract
it to a fixed directory, and then use cpio again to make a new cpio
archive of that directory, so you can use it to extract on the
MightyFrame.
Beware of default options -- unless everything is using the "-c"
(character mode) for all the parameters, so you don't have to worry
about swapping bytes or words in the extraction.
Note that the cpio on Solaris 10 uses -R to change ownership of
the files and directories.
======================================================================
-R id Reassigns ownership and group information for
each file to user ID. (ID must be a valid
login ID from /etc/passwd.) This option is
valid only for the super-user.
======================================================================
An alternative might be to set up a chroot partition, so the OS
*thinks* (as far as cpio is concerned) that everything belongs below the
current directory, and it can't even *see* the normal root tree. A bit
tricky to set up, but it should do what you want.
> The MightyFrame runs CTIX, which all documents point to being a
> Convergent Technologies port of UNIX System V release 2.2.
> http://mightyframe.blogspot.com/p/ctix.html
> Please see my CPIO page for more reference:
> http://mightyframe.blogspot.com/2015/01/mightyframe-cpio-demystified.html
Good Luck,
DoN.
--
Remove oil spill source from e-mail
Email: <BPdnicholsBP@d-and-d.com> | (KV4PH) Voice (all times): (703) 938-4564
(too) near Washington D.C. | http://www.d-and-d.com/dnichols/DoN.html
--- Black Holes are where God is dividing by zero ---
Back to comp.sys.3b1 | Previous | Next — Previous in thread | Find similar
cpio UNIX PC to MightyFrame CTIX "translation" Convergent MightyFrame <mightyframect@gmail.com> - 2015-03-01 02:45 -0800 Re: cpio UNIX PC to MightyFrame CTIX "translation" "DoN. Nichols" <BPdnicholsBP@d-and-d.com> - 2015-03-03 04:05 +0000
csiph-web