Sponsored Content
Full Discussion: Problem in Sun OS 5.9
Operating Systems Solaris Problem in Sun OS 5.9 Post 99613 by SankarV on Monday 20th of February 2006 06:35:34 AM
Old 02-20-2006
Problem in Sun OS 5.9

Consider a file subject to some change.
After it changes the new will be present. To store the change as difference between the two files, diff command is used.

After taking the diff of a file we need to patch it to recover original file. The command used for this recovery is patch. This command works well with small file sizes in kilobytes. But for large files it is hanging on and output does not come even after an hour. Where as the ouptput will usually come on linux in 2 minutes. So what may be the problem.

In Solaris (SunOS 5.9) a problem is encountered as :

The patch command doesnt patch a file greater than or equal to 1MB after it is deleted or changed.

Could anyone know the reason. Is this problem related to patch or Sun OS. If so what may be the solution.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Sun Booting problem

I was trying to test run a /bin/bash script i had just written when my monitor suddenly went blank.I had to shut down the machine from the systems main power. I was unable to boot afterwards and soo i went for the interactive boot process by typing boot -a. I succeded in the first stage of the... (1 Reply)
Discussion started by: lealyz
1 Replies

2. Solaris

SUN station memory problem

The problem is that I use this station as a remote computer for an AOI Orbotech machine and in the root of the station there is no memory available and on the refmgr folder on the same station there are 5GB free memory. So if anyone knows how can I free some space and not damaging the root files,... (0 Replies)
Discussion started by: Dac
0 Replies

3. UNIX for Dummies Questions & Answers

SORT problem on SUN

Hello, I tried to sort on column2 followed by column1 and notice how the "updated" value in column1 is not sorted correctly! Can you tell me if i have the sort statement setup correctly please, thanks much! sort -t "|" -k2 -k1 sortin > sortout ... (2 Replies)
Discussion started by: bobk544
2 Replies

4. Filesystems, Disks and Memory

a problem of Sun T3

hi, everyone, i have a problem of sun T3, does everyone meet this before ? T3:/:<82>fru stat CTLR STATUS STATE ROLE PARTNER TEMP ------ ------- ---------- ---------- ------- ---- u1ctr ready enabled master - 31.5 DISK STATUS ... (0 Replies)
Discussion started by: yarx
0 Replies

5. Solaris

Sun Studio problem

I am using Sun Studio. But there is problem with it. When my PC is connected to INTERNET then there is no problem in starting Sun Studio. But When my PC is not connected to INTERNET then there is problem in starting Sun Studio. With out INTERNET i run sunstudio but after waiting long time nothing... (0 Replies)
Discussion started by: mansoorulhaq
0 Replies

6. Solaris

Sun storage L7 Problem

Dear Expert , We have L7 , when we power on we see on lcd messages "drive Post E" , According sun Doc SunSolve , there problem picker or Driver , I try move slot to slot successfully, On Lcd panel i can not see load drive (look like any inside tape in drive , but when i am select eject menu,... (0 Replies)
Discussion started by: hadibn
0 Replies

7. Emergency UNIX and Linux Support

Sun Cluster-Metaset problem

Hi Guys i have two servers which are n cluster prd1 and prd2.. I already have a metaset configured in it..My job was to create a 1.8 tb LUN in my storage which is having Hardware raid5 pre-configured..i Created 1.8 tb with raid 5 in my storage and it got detected in both t servers... (5 Replies)
Discussion started by: madanmeer
5 Replies

8. Solaris

problem with sun 890

hoe to configure alom in 890 server (3 Replies)
Discussion started by: sijocg
3 Replies

9. Solaris

sun E4900 problem

hello everyone, Our company is using a sun E4900 cluster. Last day, all instances of Oracle database has been suddenly stopped whitout treggring any alarm for a 15 minutes and has started alone without any action from the DBA. Can anyone explain me what's the origin of this problem ? Thanks (11 Replies)
Discussion started by: adilyos
11 Replies

10. Solaris

sun cluster problem

Hello everyone, Can you please help me understand what happened; here is the problem: We have a sun cluster composed by two nodes (E4900; sSolaris 9), suddenly one of them were inaccessible by PUTTY, however we were able to ping on it. The cluster haven't basculated and after 20 minutes the... (0 Replies)
Discussion started by: adilyos
0 Replies
Patch(3pm)						User Contributed Perl Documentation						Patch(3pm)

NAME
Text::Patch - Patches text with given patch SYNOPSIS
use Text::Patch; $output = patch( $source, $diff, STYLE => "Unified" ); use Text::Diff; $src = ... $dst = ... $diff = diff( $src, $dst, { STYLE => 'Unified' } ); $out = patch( $src, $diff, { STYLE => 'Unified' } ); print "Patch successful" if $out eq $dst; DESCRIPTION
Text::Patch combines source text with given diff (difference) data. Diff data is produced by Text::Diff module or by the standard diff utility (man diff, see -u option). patch( $source, $diff, options... ) First argument is source (original) text. Second is the diff data. Third argument can be either hash reference with options or all the rest arguments will be considered patch options: $output = patch( $source, $diff, STYLE => "Unified", ... ); $output = patch( $source, $diff, { STYLE => "Unified", ... } ); Options are: STYLE => 'Unified' STYLE can be "Unified", "Context" or "OldStyle". The 'Unified' diff format looks like this: @@ -1,7 +1,6 @@ -The Way that can be told of is not the eternal Way; -The name that can be named is not the eternal name. The Nameless is the origin of Heaven and Earth; -The Named is the mother of all things. +The named is the mother of all things. + Therefore let there always be non-being, so we may see their subtlety, And let there always be being, @@ -9,3 +8,6 @@ The two are the same, But after they are produced, they have different names. +They both may be called deep and profound. +Deeper and more profound, +The door of all subtleties! TODO
Interfaces with files, arrays, etc. AUTHOR
Vladi Belperchinov-Shabanski "Cade" <cade@biscom.net> <cade@datamax.bg> <cade@cpan.org> http://cade.datamax.bg VERSION
$Id: Patch.pm,v 1.6 2007/04/07 19:57:41 cade Exp $ perl v5.10.1 2010-10-04 Patch(3pm)
All times are GMT -4. The time now is 05:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy