07-07-2008
For data look at ufsdump and ufsrestore for each filesystem. There are usage examples in the man pages. Other options are flash archives, tar, cpio etc.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
i have to make an excect physical copie of a sun unix station harddisk.
I have to make all partitions the same on about 60 harddisks, and also they should contain the same data/info.
I have hade a look at commands 'DD' and 'UFSDUMP' but both of them are not sufficient enough.
Can... (5 Replies)
Discussion started by: dirk2
5 Replies
2. UNIX for Dummies Questions & Answers
hi friends,
one of my clnts wants his Hard drive to be ugrded . He is currently using SCO unix 5.04 on a 4.3 Gig SCSI drive. He wants me to upgrd it to 18 Gigs . All he wants is that the data / programs / userfiles shall be intact. he has 3 user slices /user1, /user2 , /user3 presently... (3 Replies)
Discussion started by: /etc/passwd
3 Replies
3. UNIX for Dummies Questions & Answers
hey guys this is my problem I have SCO unix installed on a IDE h/drive. I want to add a SCSI hard drive, how do i do that within UNIX (1 Reply)
Discussion started by: kwame.neilsen
1 Replies
4. Solaris
Hi all,
I am not sure I am in the correct forum or not, but I would appreciate if somebody from here can help me out.
My processing equipment currently is using Unltra5 SunOs 5.6 with 8.6 GB hard disk, newer UltraSPARC SunOS 5.8 is with higher hard disk capacity. I am wondering how much hard... (2 Replies)
Discussion started by: uvex
2 Replies
5. UNIX for Advanced & Expert Users
Hi, (HP-UX 11.11)
I need to create a tape image of an igniteUX image created on our igniteUX server.
That is to say. I have a "Online" image of the igniteUX of the targeted system but I now need to copy it to a useable TAPE (igniteUX) image so i can build an other server from it that is not... (3 Replies)
Discussion started by: Andrek
3 Replies
6. UNIX for Advanced & Expert Users
Hello!
My harddisk is RZ1CB-CS SCSIWC.It runs radar application software on unix operating system.Now dev\rz0a partation not found.So it can't run application recorded at rz0a .How can i solve this problem.? (1 Reply)
Discussion started by: akzin
1 Replies
7. UNIX for Advanced & Expert Users
Hello!
My harddisk is RZ1CB-CS SCSIWC.It runs radar application software on unix operating system.Now dev\rz0a partation not found.So it can't run application recorded at rz0a .How can i solve this problem.? (1 Reply)
Discussion started by: akzin
1 Replies
8. Virtualization and Cloud Computing
Hello,
I'm trying to create a VirtualBox "harddisk" and put an dd-image into it. This image shoudn't work as a virtual maschine, I just want to be able to mount it to an folder. How can I do this with an shell script?
Sebi
---------- Post updated at 10:36 AM ---------- Previous update... (0 Replies)
Discussion started by: Sebi0815
0 Replies
9. Ubuntu
Hi all
I am having a great deal of trouble mounting a harddisk on my Ubuntu 9.10 desktop.
Output from "fdisk -l":
Disk /dev/sda: 640.1 GB, 640135028736 bytes
86 heads, 15 sectors/track, 969196 cylinders
Units = cylinders of 1290 * 512 = 660480 bytes
Disk identifier: 0x00000001
... (5 Replies)
Discussion started by: jnymarkp
5 Replies
10. Shell Programming and Scripting
Hi, I have two sets of image files. Both sets have names A to Z but set 1 ends with .cdt.png and set 2 ends with .matrix.png. I want set 1 to match with set 2 if the names match (i.e. A.cdt.png will match with A.matrix.png) and with the convert image tool (program for images), it will merge the... (6 Replies)
Discussion started by: kylle345
6 Replies
LEARN ABOUT CENTOS
archive_write_format
ARCHIVE_WRITE_FORMAT(3) BSD Library Functions Manual ARCHIVE_WRITE_FORMAT(3)
NAME
archive_write_set_format_cpio, archive_write_set_format_pax, archive_write_set_format_pax_restricted, archive_write_set_format_shar,
archive_write_set_format_shar_dump, archive_write_set_format_ustar -- functions for creating archives
LIBRARY
Streaming Archive Library (libarchive, -larchive)
SYNOPSIS
#include <archive.h>
int
archive_write_set_format_cpio(struct archive *);
int
archive_write_set_format_pax(struct archive *);
int
archive_write_set_format_pax_restricted(struct archive *);
int
archive_write_set_format_shar(struct archive *);
int
archive_write_set_format_shar_dump(struct archive *);
int
archive_write_set_format_ustar(struct archive *);
DESCRIPTION
These functions set the format that will be used for the archive.
The library can write POSIX octet-oriented cpio format archives, POSIX-standard ``pax interchange'' format archives, traditional ``shar'' ar-
chives, enhanced ``dump'' shar archives that store a variety of file attributes and handle binary files, and POSIX-standard ``ustar'' ar-
chives. The pax interchange format is a backwards-compatible tar format that adds key/value attributes to each entry and supports arbitrary
filenames, linknames, uids, sizes, etc. ``Restricted pax interchange format'' is the library default; this is the same as pax format, but
suppresses the pax extended header for most normal files. In most cases, this will result in ordinary ustar archives.
RETURN VALUES
These functions return ARCHIVE_OK on success, or ARCHIVE_FATAL.
ERRORS
Detailed error codes and textual descriptions are available from the archive_errno() and archive_error_string() functions.
SEE ALSO
tar(1), libarchive(3), archive_write(3), archive_write_set_options(3), cpio(5), mtree(5), tar(5)
BSD
February 2, 2012 BSD