cpio.h(3HEAD) Headers cpio.h(3HEAD)NAME
cpio.h, cpio - cpio archive values
SYNOPSIS
#include <cpio.h>
DESCRIPTION
Values needed by the c_mode field of the cpio archive format are described as follows:
Name Description
-----------------------------------------------------------
C_IRUSR Read by owner
C_IWUSR Write by owner
C_IXUSR Execute by owner
C_IRGRP Read by group
C_IWGRP Write by group
C_IXGRP Execute by group
C_IROTH Read by others
C_IWOTH Write by others
C_IXOTH Execute by others
C_ISUID Set user ID
C_ISGID Set group ID
C_ISVTX On directories, restricted deletion flag
C_ISDIR Directory
C_ISFIFO FIFO
C_ISREG Regular file
C_ISBLK Block special
C_ISCHR Character special
C_ISCTG Reserved
C_ISLNK Symbolic link
C_ISSOCK Socket
The header defines the symbolic constant:
MAGIC "070707"
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO pax(1), attributes(5), standards(5)SunOS 5.11 10 Sep 2004 cpio.h(3HEAD)
Check Out this Related Man Page
cpio.h(3HEAD) Headers cpio.h(3HEAD)NAME
cpio.h, cpio - cpio archive values
SYNOPSIS
#include <cpio.h>
DESCRIPTION
Values needed by the c_mode field of the cpio archive format are described as follows:
Name Description
-----------------------------------------------------------
C_IRUSR Read by owner
C_IWUSR Write by owner
C_IXUSR Execute by owner
C_IRGRP Read by group
C_IWGRP Write by group
C_IXGRP Execute by group
C_IROTH Read by others
C_IWOTH Write by others
C_IXOTH Execute by others
C_ISUID Set user ID
C_ISGID Set group ID
C_ISVTX On directories, restricted deletion flag
C_ISDIR Directory
C_ISFIFO FIFO
C_ISREG Regular file
C_ISBLK Block special
C_ISCHR Character special
C_ISCTG Reserved
C_ISLNK Symbolic link
C_ISSOCK Socket
The header defines the symbolic constant:
MAGIC "070707"
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO pax(1), attributes(5), standards(5)SunOS 5.11 10 Sep 2004 cpio.h(3HEAD)
Hi All,
Need to get the information if there is any tool on Unix for Archiving and retrival of documents automatically. Having the capbalilty to integrate with other systems. And provide the APIs which can be called from other Systems to facilitate automatic Archival and Retrieval.
Thanks &... (7 Replies)
For you Unix sysadmins: what are you 10 most common duties/responsibilities as sysadmins and what would you suggest a newbie sysadmin do to learn them?
For instance, say adding/deleting users is one of your most common duties. So a newbie would be wise to get familiar with useradd/userdel,... (15 Replies)
Hello,
I have been trying all sorts of combinations and been royally screwing up my filesystem in the process :rolleyes: I have a bunch of .wav files in a hierarchical album/artist etc folder structure and each has a duplicate .w4a file next to it.
All I want to do is move all the .w4a... (7 Replies)
I'm attempting to write a quick script in C++ (and a bit a novice in C++) to find files and then manipulate them, I'm using string to define variables and getline to populate. when I then use system(variable) compilation fails as follows;
findfiles.c:19: error: cannot convert `std::string' to... (7 Replies)
Hi,
I use following command to restore data from my cpio tape archive:
$cpio -icvd < /dev/rct0
But this'll restore all tape contents to the current path, what if I want only selected files from the tape, suppose I want
/home/compdir/home2/Rev83/data/PL/01/*.*
files to be restored... (8 Replies)
I have sco unix 5.0
Kindly i want to restore data from cd ; I am putting this command and recieving :
find . -print | cpio -icduvB</dev/cd0
cpio: this is not a cpio file, bad header
kindly help (8 Replies)
I have a directory x and in that I have x.cpp and a directory named Y
and in y I have y.cpp and so on. and some other files too in those directories.
How can I copy only *.cpp files in whole x directory hirarchy to a different location with the same hirarchy?
I mean the whole x directory... (7 Replies)
Any idea how to get around this limit? I have a 42GB database backup file (.dmp) taking up disk space because neither tar nor cpio are able to put it onto a tape. I am on a SUN Solaris using SunOS 5.8. I would appreciate whatever help can be provided. Thanks! (9 Replies)
The same cpio script has been working for years without modifications, until the last couple of nights when we get the error
Segmentation Fault - core dumped and the cpio aborts. It appears to abort in relatively the same place every time and on multiple tapes.
Do I have a bad tape drive,... (8 Replies)
I've been working with SCO Unix for several years now but have never had to restore a system from a bare drive.
I have a bootable CD that contains what appears to be the correct files necessary to recover the boot and root filesystems.
I've got the BIOS setup such that the CD is the first... (12 Replies)
Hi,
under unix aix , i had to put a catostrophic patch from an editor ...
i had first made a cpio backup
connected root
cd /application
find . –print | cpio –ocvBm > /sauvegarde/sauvegarde.cpio
Does someone know the command to restore my cpio backup ?
thanks in advandce to everyone
... (7 Replies)
So I ran into a strange problem the other day when using cpio. I'm not really sure this needed to be in an HPUX specific forum, but wasn't sure where else to put it. I'm running HPUX 11.11 PARISC.
I was using cpio to copy a directory and its entire contents from one server, we'll call it... (7 Replies)