05-18-2009
From VCS doc, to check a resource whether it is configured and ready to be brought online.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
can anyone point me towards a program to list what's installed on my sunOS box and their version numbers. (2 Replies)
Discussion started by: sphiengollie
2 Replies
2. Programming
:confused:
Hi, everybody.
Pleeeeese HLP!!!
I write PCI device driver for bridge controller PCI-VME bus in freeBSD 2.2.
And firs run function probe():
static char* probe(tag, type).
Whuy probe() don't work for my vendorID and deviceID (bridge controller and videoadapter). But... (1 Reply)
Discussion started by: Alex_T
1 Replies
3. Solaris
I have run init 0 to bring it to OK prompt.
I know that probe-scsi-all can hang the system.
I want to know what is the difference between probe-scsi-all and probe-scsi.
I was told that probe-scsi-all external and internal devices and probe-scsi shows only internal devices. what dose this ... (3 Replies)
Discussion started by: nitinkgoud
3 Replies
4. Solaris
i have a new netra 240 server when i make probe-scsi in obp i have this output :
ERROR: /pci@1c,600000: Last Trap: Fast Data Access MMU Miss
am upgarading obp firmware but the problem is always here
the os solaris 10) is installed correctely and i can use it , when i type #format i can see... (2 Replies)
Discussion started by: lid-j-one
2 Replies
5. BSD
Hi All,
Probe is not returning the Device ID, while device (PCI Express-to-PCI Bridge) is already detected by "lspci". I checked this with printing all the device ID which has been detected.
Can anyone give me any suggestion or solution.
Thanks (in advance)
Appu (2 Replies)
Discussion started by: appu
2 Replies
6. Shell Programming and Scripting
Hi. I just wrote my first shell script, it's very ugly but it works. I was wondering if someone could help me clean it up a bit.
Original Problem: Current command-line tool (FIND-NEIGHBORS.exe) outputs MAC addresses of neighboring wireless devices and I need the IP address instead;... (0 Replies)
Discussion started by: skeller
0 Replies
7. Shell Programming and Scripting
Hi. I just wrote my first shell script, it’s very ugly but it works. I was wondering if someone could help me clean it up a bit.
Original Problem: Current command-line tool (FIND-NEIGHBORS.exe) outputs MAC addresses of neighboring wireless devices. I need the IP address instead;... (0 Replies)
Discussion started by: skeller
0 Replies
8. Solaris
HI
I have a V240 server and the probe-scsi-all on the Ok prompt is taking forever.
I have tried powercycling the server multiple times.
also tried set-defaults and reset-all..
COuld anyone tell the solution to this.. I have run out of options now.
Following is the only thing... (8 Replies)
Discussion started by: ningy
8 Replies
9. Solaris
hi, dear all
I get a problem "VCS ERROR V-16-2-13077 " on VCS 4.1 for Solaris 10.
I can not offline the host2 when the raid is bad.
I don't know the reason and how to offline host2 and switch to host1.
please help me, thank you!
the message of engine_A.log is :
... (2 Replies)
Discussion started by: ForgetChen
2 Replies
10. Solaris
Can anyone explain the output of probe-scsi command below?
ok probe-scsi
Target 0
Unit 0 Disk SEAGATE ST373207LSUN72G 045A
Target 1
Unit 0 Disk SEAGATE ST373207LSUN72G 045A
I have no idea what it means. I tried to read online but I still did not understand. I appreciate... (6 Replies)
Discussion started by: cjashu
6 Replies
LEARN ABOUT DEBIAN
vcs::lite::delta
VCS::Lite::Delta(3pm) User Contributed Perl Documentation VCS::Lite::Delta(3pm)
NAME
VCS::Lite::Delta - VCS::Lite differences
SYNOPSIS
use VCS::Lite;
# diff
my $lit = VCS::Lite->new('/home/me/foo1.txt');
my $lit2 = VCS::Lite->new('/home/me/foo2.txt');
my $difftxt = $lit->delta($lit2)->diff;
print OUTFILE $difftxt;
# patch
my $delt = VCS::Lite::Delta->new('/home/me/patch.diff');
my $lit3 = $lit->patch($delt);
print OUTFILE $lit3->text;
DESCRIPTION
This module provides a Delta class for the differencing functionality of VCS::Lite
API
new
The underlying object of VCS::Lite::Delta is an array of difference chunks (hunks) such as that returned by Algorithm::Diff.
The constructor takes the following forms:
my $delt = VCS::Lite::Delta->new( '/my/file.diff',$sep); # File name
my $delt = VCS::Lite::Delta->new( *FILE,$sep); # File handle
my $delt = VCS::Lite::Delta->new( $string,$sep); # String as scalar ref
my $delt = VCS::Lite::Delta->new( @foo, $id1, $id2) # Array ref
$sep here is a regexp by which to split strings into tokens. The default is to use the natural perl mechanism of $/ (which is emulated
when not reading from a file). The arrayref form is assuming an array of hunks such as the output from Algorithm::Diff::diff.
The other forms assume the input is the text form of a diff listing, either in diff format, or in unified format. The input is parsed, and
errors are reported.
diff
print OUTFILE $delt->diff
This generates a standard diff format, for example:
4c4 < Now wherefore stopp'st thou me? --- > Now wherefore stoppest thou me?
udiff
print OUTFILE $delt->udiff
This generates a unified diff (like diff -u) similar to the form in which patches are submitted.
id
my ($id1,$id2) = $delt->id;
$delt2->id('foo.pl@@1','foo.pl@@3')
The id method allows get and set of the names associated with the two elements being diffed. The id is set for delta objects returned by
VCS::Lite->diff, to the element IDs of the VCS::Lite objects being diffed.
Diff format omits the file names, hence the IDs will not be populated by new. This is not the case with diff -u format, which includes the
file names which are passed in and available as IDs.
hunks
my @hunklist = $delt->hunks
A hunk is a technical term for a section of input containing a difference. Each hunk is an arrayref, containing the block of lines. Each
line is itself an arrayref, for example:
[
[ '+', 9, 'use Acme::Foo;'],
[ '-', 9, 'use Acme::Bar;'],
]
See the documentation on Algorithm::Diff for more details of this structure.
BUGS, PATCHES & FIXES
There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties that are not explained
within the POD documentation, please send an email to barbie@cpan.org or submit a bug to the RT system (see link below). However, it would
help greatly if you are able to pinpoint problems or even supply a patch.
http://rt.cpan.org/Public/Dist/Display.html?Name=VCS-Lite
Fixes are dependant upon their severity and my availablity. Should a fix not be forthcoming, please feel free to (politely) remind me.
AUTHOR
Original Author: Ivor Williams (RIP) 2008-2009
Current Maintainer: Barbie <barbie@cpan.org> 2009
COPYRIGHT
Copyright (c) Ivor Williams, 2002-2006
Copyright (c) Barbie, 2009
LICENCE
You may use, modify and distribute this module under the same terms as Perl itself.
SEE ALSO
Algorithm::Diff.
perl v5.10.1 2009-10-25 VCS::Lite::Delta(3pm)