10 More Discussions You Might Find Interesting
1. Red Hat
I have a couple of questions regarding multipath.
If I do vgdisplay vg01, I see it is using 1 PV: /dev/dm-13
If I type multipath -ll I see dm-9, dm-10, dm-11, dm-12, but do not see dm-13. Is my vg01 multipathed? How can I actually know for sure?
Secondly, let's say this time vg01 says... (1 Reply)
Discussion started by: keelba
1 Replies
2. AIX
Guy's
I have script doing many steps as the below ...
#############
## step1# mount all Files system
mount all
## step2# Start the application
/app/appsh
#############
but some time mount points will not be mounted completely so that will give an error if the next step started... (1 Reply)
Discussion started by: Mr.AIX
1 Replies
3. Shell Programming and Scripting
I run the script with one parameter : myscript abc002
But I need my script to check the parameter in txt array first:
txt="abc001 abc002 abc004"
What's the best way to do it? I am using ksh.
#! /usr/bin/ksh
txt="abc001 abc002 abc004"
if ; then
echo " Your input is wrong,... (9 Replies)
Discussion started by: newoz
9 Replies
4. Solaris
Hi Gurus,
I am new to solaris patching.. while doing the patching do we need to have the root previligies and also need help while doing patching work if the server has veritas on it........
Thanks in advance.......... (10 Replies)
Discussion started by: samanth009
10 Replies
5. Solaris
Hi all
Ive got 12 odd sun servers, running solars 8, 9 and soon 10. Have to admit I havent patched for years. Infact the last time I did patch a load of servers, sun provided you will a small script which would review the current patch levels, create a xml file that you would use on sunsolve... (3 Replies)
Discussion started by: sbk1972
3 Replies
6. Solaris
Hi Folks,
I new to SunOs, mostly used to HP-UX and AIX way of patching. I'm trying to bring my two 420R test blades to the same patch level as my two prod ones. I've been reading a lot on how to patch SunOs but I'm still not sure how to achieve this. Both prod boxes says SunOs 5.8 Generic Patch... (2 Replies)
Discussion started by: supergumby
2 Replies
7. AIX
hi,
folks i have a challenging problem for you. i need to get the patching history, like what date the patch was applied and from which patch has it been upgarded to the current level.
i have tried everything and and all resources available but did not find a suitable answer. can some1 help,... (2 Replies)
Discussion started by: vinix
2 Replies
8. Solaris
Hi all,
I'm new to Solaris. How can i make sure that all my servers are patched to the same level. When i do a uname -a, i see different level. How can i make sure that they are having the same patches. Any expert to guide me through pls?
eg.
ServerA#uname -a
SunOS ServerA 5.10... (0 Replies)
Discussion started by: ahlude
0 Replies
9. Shell Programming and Scripting
thanks for your help, im gonna skip this one and try a different question. thanks for your help though. (2 Replies)
Discussion started by: bebop1111116
2 Replies
10. Shell Programming and Scripting
I have a unix script written in the korn shell. At the top of the script I call a script that exports the values of the variables I use in my script. I know that when you execute the script using ksh -x it shows you the script running. I was wondering if there was a way you could run the script... (2 Replies)
Discussion started by: lesstjm
2 Replies
XDIFF_FILE_BPATCH(3) 1 XDIFF_FILE_BPATCH(3)
xdiff_file_bpatch - Patch a file with a binary diff
SYNOPSIS
bool xdiff_file_bpatch (string $file, string $patch, string $dest)
DESCRIPTION
Patches a $file with a binary $patch and stores the result in a file $dest. This function accepts patches created both via
xdiff_file_bdiff(3) and xdiff_file_rabdiff(3) functions or their string counterparts.
PARAMETERS
o $file
- The original file.
o $patch
- The binary patch file.
o $dest
- Path of the resulting file.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
xdiff_file_bpatch(3) example
The following code applies binary diff to a file.
<?php
$old_version = 'archive-1.0.tgz';
$patch = 'archive.bpatch';
$result = xdiff_file_bpatch($old_version, $patch, 'archive-1.1.tgz');
if ($result) {
echo "File patched";
} else {
echo "File couldn't be patched";
}
?>
NOTES
Note
Both files ($file and $patch) will be loaded into memory so ensure that your memory_limit is set high enough.
SEE ALSO
xdiff_file_bdiff(3), xdiff_file_rabdiff(3).
PHP Documentation Group XDIFF_FILE_BPATCH(3)