w**a 发帖数: 1024 | 1 ls dir
dir1/
cd ./dir/dir1
find . -print | cpio -dpl ../dir2
The error is displayed as below. I already used -d option, which will create
directory as necessary.
cpio: Error during access() of "../dir2", errno 2, No such file or directory
USAGE:
cpio -i[bcdfkmrstuv@BSV6] [-C size] [-E file] [-H hdr] [-I file [-M msg]] [-R
id] [patterns]
cpio -o[acv@ABLV] [-C size] [-H hdr] [-O file [-M msg]]
cpio -p[adlmuv@LV] [-R id] directory |
|
r****y 发帖数: 1437 | 2 I have cpio files created on a 64-bit big-endian machine. Now I
tried to unpack them on another 64-bit little-endian machine, I used
"cpio -ibv" but cannot get right results, it kept telling me
cpio: cannot swap halfwords of AIRS.2005.01.hdf: odd number of halfwords
cpio: cannot swap bytes of AIRS.2005.01.hdf: odd number of bytes
Anyone know how to fix this? Thanks a lot.
|
|
h**h 发帖数: 132 | 3 let me clarify my question,
I was looking for some tool which can burn .cpio to CD in Windows platform
I can use cpio -idmv to extract files, but I don't have CD writer in unix
machine, so I wanted to burn CD in win, but win is not case sensitive
I was afraid of corrupting filenames |
|
h**h 发帖数: 132 | 4 I downloaded oracle database from its website
but after gunzip, the file is in .cpio format
how can burn this to CD?
thanks |
|
h**h 发帖数: 132 | 5 【 以下文字转载自 Database 讨论区 】
【 原文由 hugh 所发表 】
I downloaded oracle database from its website
but after gunzip, the file is in .cpio format
how can burn this to CD?
thanks |
|
|
w****y 发帖数: 1 | 7 Hope this works for you:
Directions to extract the files
1. Run "gunzip " on all the files. Eg. lnx_920_disk1.cpio.gz
2. Extract the cpio archives with the command "cpio -idmv < "
Eg. cpio -idmv
Important Note: Some browsers will uncompress the files but leave the
extension the same (gz) when downloading. If the above steps do not work for
you, try skipping step 1 and go directly to step 2 without changing the
filename. Eg. "cpio -idmv |
|
l********k 发帖数: 14844 | 8 自己顶一个:afio
docstore.mik.ua/orelly/unix3/upt/ch38_05.htm
There are good arguments both for and against compression of tar archives
when making backups. The overall problem is that neither tar nor gzip is
particularly fault-tolerant, no matter how convenient they are. Although
compression using gzip can greatly reduce the amount of backup media
required to store an archive, compressing entire tar files as they are
written to floppy or tape makes the backup prone to complete loss if one
block of th... 阅读全帖 |
|
|
f**y 发帖数: 138 | 10 'dd' may not work if the two hard disks have different specifications.
'tar' may not work on those '/dev/*' files.
May be 'cpio' is what you want.
Format and mount the new hard disk. And cpio everything there. Remove the
old hard disk. Boot with a linux installation disk and choose rescue. Then
install the grub to the new disk. |
|
Z**0 发帖数: 1119 | 11 用dd,硬盘clone工具都可以,我偏好find。
用liveCD boot,然后根据需要划分新硬盘/dev/sdc,老的硬盘是/dev/sda。
这里假定你的硬盘分为3个区,
/dev/sda1-->/boot
/dev/sda2--swap
/dev/sda3-->/
把sda1和sda3,sdc1和sdc3mount到/mnt的sda1和sda3,sdc1和sdc3目录下,然后
# cd /mnt/sda1
# find . -print | cpio -pamd /mnt/sdc1
对sda3也做同样的步骤。
# cd /mnt/sda3
# find . -print | cpio -pamd /mnt/sdc3
然后交换硬盘,chroot到新硬盘,安装grub,完工。 |
|
E*V 发帖数: 17544 | 12 ☆─────────────────────────────────────☆
nickmit (上海老姜) 于 (Wed Oct 27 01:52:51 2010, 美东) 提到:
先建个临时目录
# mkdir -p /tmp/ubuntu/maverick
没有 debootstrap 的先安装一下
# apt-get install debootstrap
然后构建基本系统,这里就用 10.10 吧,你也可以换 lucid
# debootstrap maverick /tmp/ubuntu/rootfs
基本设置一下
# chroot /tmp/ubuntu/rootfs
# mount -t proc none /proc
# mount -t devtmpfs none /dev
# mount -t devpts none /dev/pts
# mount -t sysfs none /sys
俺喜欢给 root 加个密码,sudo... 阅读全帖 |
|
|
s********u 发帖数: 31 | 14 yeah, I get the 3 cpio.gz files from oracle 9i link
the problem was that I didn't setup environment variables correctly.
Now I can install that, though I still think oracle produces suck softwares.
That may explain why oracle DBA's are popular. |
|
s******y 发帖数: 1 | 15 when I used "gunzip lnx_920_disk1.cpio.gz", it said "invalid compressed
data--format violated". What does that mean? Appreciate! |
|
a*****a 发帖数: 1429 | 16
不是你中彩了就是你用得太高级了。
两代raspberry pi,各种用法,CPIO, USB wifi dongle, 以太网,带硬盘。。。你提
到的和你没提到的,都用过,从来没有因为电源出问题。很简单的电源,老手机退下来
的USB Charger |
|
o******b 发帖数: 37 | 17 try
find * -type f -name "*.jpg" | cpio -pvd backup_dir |
|
|
d****d 发帖数: 2919 | 19 T410, NV的独立显卡。
装了下面这一堆东西,觉得够用了。
pacman -Q -e
acpid 2.0.10-2
acroread 9.4.2-1
alsa-oss 1.0.17-1
alsa-utils 1.0.24.2-1
archlinux-themes-slim 1.2-2
artwiz-fonts 1.3-6
aspell-en 7.1-1
attr 2.4.46-1
autoconf 2.68-1
automake 1.11.1-2
bash 4.2.010-1
binutils 2.21.1-1
bison 2.5-1
bzip2 1.0.6-1
cheese 3.0.1-2
chromium 12.0.742.112-1
coreutils 8.12-3
cryptsetup 1.3.1-2
dash 0.5.6.1-2
dcron 4.5-2
device-mapper 2.02.85-3
dhcpcd 5.2.12-1
diffutils 3.0-2
e2fsprogs 1.41.14-1
emacs 23.3-1
emesene 2.11.5-2
exo 0... 阅读全帖 |
|
d******e 发帖数: 2265 | 20 i expand it by cpio, and I get
some files like
TWWlftp23m
and
lftp-2.3.5.ins
etc......
then how can i do now? |
|
h**h 发帖数: 132 | 21 ft, cpip not found
what is that? |
|
|
w*******g 发帖数: 51 | 23 there is a tedious way that may make it.
first, find SUNWxcmf(?) package from solaris install disks (software disk 2 if solaris 8).
then extract it on your unix account, cpio, bz2.....
extract all the song**.pcf.Z to song**.pcf
transfer the files back to your PC, put hte fonts into the fonts diretory of your Xmanger or X-win32 |
|
w**n 发帖数: 88 | 24 sure, libstdc++2.10-2.96-0.83mdk.i586.rpm probably fits your need.
rpm2cpio libstdc++2.10-2.96-0.83mdk.i586.rpm | cpio -idv ./usr/lib/libg++.so.2.7.2.8
libg++.so.2.7.2 is a sym link to this file.
you should be able to do this without root privilege |
|