10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Due to budget constraints I have to reinvent an Enterprise backup system in a SPARC (sun4v) Solaris estate (10 & 11). (yep - reinvent wheel, fun but time consuming. Is this wise?! :confused: )
For each filesystem of interest, to try to capture a 'catalog' at the front of each cpio archive (for... (1 Reply)
Discussion started by: am115998
1 Replies
2. Shell Programming and Scripting
i have a file as below:
? ? ? ? 20060101
DHR ? ? ? ? 20060101 1316 30.90
KOM ? ? ? ? 20060101 1317 7.20
DHR ? ? ? Pg ? 20060101 1316 27.32
DHR ? ? ? Sg ? 20060101 1316 30.52
? ? ? ? 20060101
MRD ? ? ? ? 20060101 1355 46.12
SHB ? ? ? ? 20060101 1355 40.90
HSH ? ? ? Pn ?... (2 Replies)
Discussion started by: oreka18
2 Replies
3. Shell Programming and Scripting
Hi all,
I have a file which looks like:
0 1.1985506
1 1.2237930
2 1.2159038
3 1.2668828
4 1.2650216
5 1.2474344
6 1.2817688
7 1.2721698
8 1.2665005
9 1.2826315
10 1.2797879
11 1.3201736
12 1.3116595
13 1.3361583
14 1.3309238 (2 Replies)
Discussion started by: ezitoc
2 Replies
4. UNIX for Advanced & Expert Users
hello Guys,
I have an NTP problem on my SUN N240 server. External NTP server is being used for this box and when i run 'ntpq -p' i get connection refused message;
Code:
ntpq -p ntpq: read: Connection refused
Here this is the ntp.conf file:
Code:
cat /etc/ntp.conf # BEGIN NTP... (1 Reply)
Discussion started by: dyavuzy1
1 Replies
5. UNIX for Dummies Questions & Answers
Please help! I am really new to Linux, and my colleague who usually deals with these things isnt here to help me out.
We are running Scalix mail services on CentOS 6.0. Email users with IMAP folders are getting an error message stating the server cannot be reached, however POP3 mail users are... (13 Replies)
Discussion started by: beckyboo
13 Replies
6. UNIX for Dummies Questions & Answers
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)
Discussion started by: bzh35
7 Replies
7. UNIX for Dummies Questions & Answers
Hi there,
I am working on AIX and i dont have permission for /etc/security/limits file.
In the man page of ulimit it is mentioned that it will get the limitations for me from /etc/security/limits file.
the file permission for ulimit command is
-r-xr-xr-x 15 bin bin ... (6 Replies)
Discussion started by: quintet
6 Replies
8. UNIX for Dummies Questions & Answers
Hello -
O/S is UnixWare 7.1.4
My prefered method of copying files between servers is 'rcp', which does not recognize symbolic links; therefore, files are duplicated many times over.
To avoid this duplication, I would like to use 'tar' and/or 'cpio' and pipe them through 'rcp', but... (1 Reply)
Discussion started by: rm -r *
1 Replies
9. Shell Programming and Scripting
Hello everyone!
I wrote a script for backing up a folder. It goes fine but today it started to spit out this error, when a folder is taring:
tar: 0511-194 Reached end-of-file before expected.
I didn't make any changes!
- OS: UNIX AIX ibm 3
- the folder I'm trying to tar is 11Gb large... (4 Replies)
Discussion started by: Funky_ass
4 Replies
10. UNIX for Dummies Questions & Answers
All right Ladies& Gents,
I am trying to figure out why the touchscreen.cpio patch that I loaded on my Panasonic cf-28 will not work. Besides the obvious of this is a patch for a Panasonic cf-29 that is. I know enough to load the .cpio patch and get it to work yet I cannot figure out how to... (0 Replies)
Discussion started by: cjparks
0 Replies
cpio(4) Kernel Interfaces Manual cpio(4)
NAME
cpio - Format of cpio archive
DESCRIPTION
The header structure, when the -c option of cpio(1) is not used, is: struct {
short h_magic,
h_dev;
ushort h_ino,
h_mode,
h_uid,
h_gid;
short h_nlink,
h_rdev
h_mtime[2],
h_namesize,
h_filesize[2]'
char h_name[h_namesize rounded to word]; } Hdr; When the -c option is used, the header information is described by:
sscanf(Chdr,"%6o%6o%6o%6o%6o%6o%6o%6o%11lo%6o%11lo%s",
&Hdr.h_magic, &Hdr.h_dev, &Hdr.h_ino, &Hdr.h_mode,
&Hdr.h_uid, &Hdr.h_gid, &Hdr.h_nlink, &Hdr.h_rdev,
&Longtime, &Hdr.h_namesize,&Longfile,Hdr.h_name); The Longtime and Longfile are equivalent to Hdr.h_mtime and Hdr.h_filesize, respec-
tively. The contents of each file are recorded in an element of the array of varying length structures, archive, together with other items
describing the file. Every instance of h_magic contains the constant 070707 (octal). The items h_dev through h_mtime have meanings
explained in stat(2). The length of the null-terminated path name h_name, including the null byte, is given by h_namesize.
The last record of the archive always contains the name TRAILER!!! Special files, directories, and the trailer are recorded with h_file-
size equal to zero.
RELATED INFORMATION
cpio(1), find(1), stat(2) delim off
cpio(4)