09-26-2016
I don't think you can really synchronize them at the disk-image level, just the file level. You'd have to convince someone to mount that ISO so you can run rsync against it.
This User Gave Thanks to Corona688 For This Post:
9 More Discussions You Might Find Interesting
1. Programming
Hi,
I am trying to implement the synchronize feature of java using C. I am using a semaphore for the same. I have a wrapper called "synch" to which I pass the function pointer(any_fn). This pointer points to the function (my_fn) which needs to be synchronized.
However to create the semaphore I... (8 Replies)
Discussion started by: linuxpenguin
8 Replies
2. Shell Programming and Scripting
Hi,
I have three Linux machine have three different times.
Can I synchronize them using one process?
I have root access.
Thanks! (1 Reply)
Discussion started by: whatisthis
1 Replies
3. Shell Programming and Scripting
I have 4 directory
Dir1
file1 file2 file3 file4
Dir2
file3 file5 file6 file8
Dir3
file1 file2 file6 file9 file10
Dir4
file3 file6 file12 file15
and all the 4 dirs are having couple of files.
Few of the files are common to other directory/ies and few... (1 Reply)
Discussion started by: reldb
1 Replies
4. Programming
I am writing a program in C for my networking class, so I am relatively new to this.
To begin, I have 7 processes that need do send messages to every other one, and every one of them needs to receive the messages sent by others.
I am using fork() to create 6 more processes.
The message... (1 Reply)
Discussion started by: inabramova
1 Replies
5. UNIX for Advanced & Expert Users
hi.
i am writing a c program under bash shell.
i would like to use semaphore functions like sem_wait(), sem_post()
and i included <semaphore.h> and it compailes fine
but when i try to run it gives me an error "undefined reference to sem_wait() , sem_post() , sem_init()"
what have i missed... (2 Replies)
Discussion started by: emil2006
2 Replies
6. Programming
i am trying to synchronize between father process and son process
created by fork() command, to print simultaneously.
my program is written in c under bash shell.
the compile goes ok but when i try to run nothing happens and the program doesnot end.
my code is:
#include <stdio.h>... (1 Reply)
Discussion started by: emil2006
1 Replies
7. Shell Programming and Scripting
Hi,
I have two servers1&2, one is not in the network. Cant communicate from it to other servers. The second one can communicate to above mentioned server. I am trying a script which synchronizes files between server 1 an 2?
server1: cant communicate to any other servers
server2: can... (4 Replies)
Discussion started by: Tuxidow
4 Replies
8. Shell Programming and Scripting
Hi everyone!
I need to write a script that will synchronize two servers using FTP. So basically the script will get only the files that exist on the remote server that do not exist on the local server. Is there an option to do this when using mget? If not, is there a way to copy over only the... (2 Replies)
Discussion started by: Fatbob
2 Replies
9. AIX
Hi
Earlier we used to move the resource groups between nodes manually. Recently I have added the HACMP startup and stop scripts.
Then I moved the resource group to see if everything works fine as per the startup and stop scripts, but it didn't work out as expected.
Do i need to do bring... (4 Replies)
Discussion started by: samsungsamsung
4 Replies
LEARN ABOUT FREEBSD
mkuzip
MKUZIP(8) BSD System Manager's Manual MKUZIP(8)
NAME
mkuzip -- compress disk image for use with geom_uzip(4) class
SYNOPSIS
mkuzip [-v] [-o outfile] [-s cluster_size] infile
DESCRIPTION
The mkuzip utility compresses a disk image file so that the geom_uzip(4) class will be able to decompress the resulting image at run-time.
This allows for a significant reduction of size of disk image at the expense of some CPU time required to decompress the data each time it is
read. The mkuzip utility works in two phases:
1. An infile image is split into clusters; each cluster is compressed using zlib(3).
2. The resulting set of compressed clusters along with headers that allow locating each individual cluster is written to the output file.
The options are:
-o outfile
Name of the output file outfile. The default is to use the input name with the suffix .uzip.
-s cluster_size
Split the image into clusters of cluster_size bytes, 16384 bytes by default. The cluster_size should be a multiple of 512 bytes.
-v Display verbose messages.
NOTES
The compression ratio largely depends on the cluster size used. For large cluster sizes (16K and higher), typical compression ratios are
only 1-2% less than those achieved with gzip(1). However, it should be kept in mind that larger cluster sizes lead to higher overhead in the
geom_uzip(4) class, as the class has to decompress the whole cluster even if only a few bytes from that cluster have to be read.
The mkuzip utility inserts a short shell script at the beginning of the generated image, which makes it possible to ``run'' the image just
like any other shell script. The script tries to load the geom_uzip(4) class if it is not loaded, configure the image as an md(4) disk
device using mdconfig(8), and automatically mount it using mount_cd9660(8) on the mount point provided as the first argument to the script.
EXIT STATUS
The mkuzip utility exits 0 on success, and >0 if an error occurs.
SEE ALSO
gzip(1), zlib(3), geom(4), geom_uzip(4), md(4), mdconfig(8), mount_cd9660(8)
AUTHORS
Maxim Sobolev <sobomax@FreeBSD.org>
BSD
March 17, 2006 BSD