The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
3answers
56 views

what the best approach in order to compress directory with Hundreds of sub directories [closed]

Under /usr/cti/APP_sys, I have hundreds of directories and subdirectories and files, etc. I wonder what the best approach in order to compress the /usr/cti/APP_sys directory (get the best low ...
2
votes
1answer
39 views

cpio VS tar - what the best archive solution in order to compress hundred of directories to one file

I have hundreds of directories under /var/Recording, and each directory there will have subdirectories, including files, hard links and soft links. I want to compress all directories under ...
2
votes
1answer
59 views

Why is it that my initrd only has one directory, namely, 'kernel'?

I'm using debian live-build to work on a bootable system. By the end of the process i get the typical files used to boot a live system: a squashfs file, some GRUB modules and config files, and an ...
0
votes
1answer
29 views

Need to understand cpio -d and --make-directories, please help with example

I am studying for the LPIC exam and the command cpio with options -d and --make-directories came up. Would someone be able to provide an example on how these work. I don't understand it even from the ...
8
votes
2answers
232 views

How to convince tar (etc.) to archive block device contents?

I have six Linux logical volumes that together back a virtual machine. The VM is currently shutdown, so its easy to take consistent images of them. I'd like to pack all six images together in an ...
1
vote
3answers
458 views

Unpack, modify and pack initrd as a user

I've got a problem with rebuilding the initrd image as a user. Firstly, when I try to "unpack" the original initrd image: cpio -idm < initrd-base cpio: dev/tty8: Cannot mknod: Operation not ...
3
votes
2answers
155 views

what are the techniques to extract files safely?

Yesterday I was making some experiments on Slitaz. It uses multiple initrd.img's to store files/changes. I wanted to extract one of its initrd.gz images (which is a cpio archive) to a folder, ...
2
votes
1answer
31 views

What is the meaning of '.' in the cpio file

This is my the content of my rootfs.cpio file: [root@xilinx output]# cpio -idv < rootfs.cpio . init dev dev/console 1149 blocks What is . here ?
1
vote
1answer
71 views

When I execute a cpio command, it hangs forever

I've been trying to unarchive a cpio archive (in this case, my initial ramdisk). However, when I try to extract the files, cpio hangs forever. It happens if I pass the -V argument to print extra info, ...
0
votes
2answers
191 views

Help with using rsync or cpio to do an incremental backup [duplicate]

I'm trying to do an incremental backup of all files on my NAS box that where modified in the last 24 hours (or so, can be more flexible). I'm using PuTTY to connect through SSH to a ReadyNAS 102 ...
1
vote
1answer
234 views

Is the busybox cpio THAT different from GNU cpio?

I'm trying to do an incremental backup using cpio but it seems that the busybox version doesn't work the same as the normal one? This is what I've got so far: find data/Backup -mtime -2 | cpio -cm ...
5
votes
4answers
181 views

How would you use the cpio command?

While studying for the lpic exam, I've run into the command cpio. The description of cpio states: Cpio was originally designed to store backup file archives on a tape device in a sequential, ...
1
vote
2answers
222 views

How to include directory tree for back-up using cpio?

I am backing up files including directories from 1 partition to other using cpio. cpio works perfect for backing but I am unable to backup directory tree. I am in a partition mounted on the directory ...
0
votes
1answer
39 views

back-up command `cpio` isnt working?

I'm unable to back up files using cpio. root@ravbholua-Aspire-5315:/home/ravbholua/CCPP/HelloWorld/das/das1/book/backup# ls arg_check.h compute.h quit.h ...
2
votes
1answer
547 views

Tar ignore or fix checksum

I have a archive backup.tar that was created with a nonstandard program a long time ago. I no longer have access to the original program. The archive is Not compressed (gzip). When trying to extract ...
2
votes
1answer
505 views

What is the meaning of the errors from my cpio command?

I have been using the following command on my system to create the .cpio archive to create an initramfs for my embedded target device sudo find . | cpio -H newc -oc > ~/initramfs.cpio This has ...
-1
votes
1answer
50 views

What are the relative merits of the various standard Unix archival utilities? [closed]

There are many archival tools for Unix, with varying degrees of availability. To make matters more confusing, many of them can write each other's formats. I am seeking more information on their ...
2
votes
3answers
303 views

How to copy a list of files and adjust destination filenames on the fly?

When I don't need to adjust destination filenames I can do something like this: $ find -type f -name '*.pat' -print0 | xargs -O cp -t /path/to/dest It is safe because the filenames may even ...
2
votes
1answer
5k views

Getting “cpio: Bad magic” when trying to rpm install into a mounted Logical Volume

I need some help with this. I am trying to follow the Xen guide to provision a domU using package installation of the Fedora 15 release (the dom0 is CentOS 5.6). Ive run the rpm install command with ...
6
votes
2answers
1k views

Why use cpio for initramfs?

I am making my own initramfs following the Gentoo wiki. Instead of the familiar tar and gzip, the page is telling me to use cpio and gzip. Wikipedia says that cpio is used by the 2.6 kernel's ...
6
votes
3answers
4k views

How to generate initramfs image with busybox links?

Having been directed to initramfs by an answer to my earlier question (thanks!), I've been working on getting initramfs working. I can now boot the kernel and drop to a shell prompt, where I can ...