Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 29.544.739 Times

Solaris::MapDev 0.05a

  Date Added: January 18, 2010  |  Visits: 736


Report Broken Link
Printer Friendly Version

Product Homepage
Download (78 downloads)

Solaris::MapDev Perl module contains a map between instance numbers and device names. SYNOPSIS use Solaris::MapDev qw(inst_to_dev dev_to_inst); my $disk = inst_to_dev("sd0"); my $nfs = inst_to_dev("nfs123"); my $inst = dev_to_inst("c0t0d0s0"); mapdev_data_files(path_to_inst => "/copy/of/a/path_to_inst", mnttab => "/copy/of/a/mnttab", dev_ls => { "/dev/rdsk" => "ls-lR/of/dev_dsk", "/dev/rmt" => "ls-lR/of/dev_rmt" }); my $tape = inst_to_dev("st1"); This module maps both ways between device instance names (e.g. sd0) and /dev entries (e.g. c0t0d0). Vanilla SCSI disks, SSA disks, A1000, A3000, A3500 and A5000 disks are all catered for, as are tape devices and NFS mounts. FUNCTIONS inst_to_dev($inst) Return the device name name given the instance name dev_to_inst($dev) Return the instance name given the device name get_inst_names Return a sorted list of all the instance names get_dev_names Return a sorted list of all the device names mapdev_data_files This tells mapdev to use data held in copies of the real datafiles, rather than the current "live" files on the system. This is useful for example when examining explorer output. A list of key-value pairs is expected as the arguments. Valid keys-value pairs are: path_to_inst => "/copy/of/a/path_to_inst", A valid path_to_inst file. This is mandatory. mnttab => "/copy/of/a/mnttab", A valid /etc/mnttab file. This is optional - if not specified, no information on NFS devices will be displayed. dev_ls => { "/dir/path" => "/ls-lR/of/dir/path", ... }); A hash containing path/datafile pairs. The paths should be one of /dev/rdsk, /dev/osa/rdsk, /dev/osa/dev/rdsk or /dev/rmt. The datafiles should be the output of a "ls -l" of the specified directory. A single file containing a recursive "ls -Rl" of /dev is also acceptable. mapdev_system_files This tells mapdev to revert to using the current "live" datafiles on the system - see "mapdev_data_files()".

Requirements: No special requirements
Platforms: Linux
Keyword: Dev Device Inst Instance Libraries Mapdev Mapdev Perl Name Names Perl Module Programming Solarismapdev
Users rating: 0/10

License: Freeware Size: 24.58 KB
More Reviews or Write Review

Libraries  -  Syntax::Highlight::Perl 1.0
Syntax::Highlight::Perl is a Perl module that can highlight Perl Syntactical Structures. SYNOPSIS # simple procedural use Syntax::Highlight::Perl :BASIC; # or :FULL print format_string($my_string); # OO use Syntax::Highlight::Perl; my...
33.79 KB  
Libraries  -  Code::Perl 0.03
Code::Perl is a Perl module to produce Perl code from a tree. SYNOPSIS use Code::Perl::Expr qw( :easy ); my $c = derefh(scal(hash), calls(getkey)); print $c->perl; # ($hash)->{getkey()} Code::Perl allows you to build chunks of Perl code...
17.41 KB  
Libraries  -  Digest::MD5::Perl 1.8
Digest::MD5::Perl is a Perl implementation of Ron Rivests MD5 Algorithm. This is not an interface (like Digest::MD5) but a Perl implementation of MD5. It is written in perl only and because of this it is slow but it works without C-Code. You...
73.73 KB  
Libraries  -  Wx::Perl::Packager 0.07
Wx::Perl::Packager provides a module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl A module to assist packaging Wx based applications with PAR, ActiveState PerlApp / PDK and Perl2Exe. All that is needed...
12.29 KB  
Libraries  -  Class::NiceApi 0.01.02
Class::NiceApi is a Perl module that translates your methodNames to my method_names. SYNOPSIS use Class::NiceApi; my $acl = Class::NiceApi->new( victim => Decision::ACL->new(), style => custom, table => { run_acl => RunACL } ); Perl method...
3.07 KB  
Libraries  -  Devel::Modlist 0.71
Devel::Modlist is a Perl extension to collect module use information. SYNOPSIS perl -d:Modlist The Devel::Modlist utility is provided as a means by which to get a quick run-down on which libraries and modules are being utilized by...
8.19 KB  
Database Tools  -  MARC/Perl 1.13
MARC/Perl is a Perl 5 library for reading, manipulating, outputting and converting bibliographic records in the MARC format. The MAchine Readable Cataloging format was designed by the Library of Congress in the late 1960s in order to allow...
Libraries  -  MPEG::LibMPEG3 0.01
MPEG::LibMPEG3 is a Perl interface to libmpeg3 module. SYNOPSIS use strict; use MPEG::LibMPEG3; my $mpeg = MPEG::LibMPEG3->new( $filename ); $mpeg->set_cpus(1); ## I only have 1 cpu but you can put whatever $mpeg->set_mmx(1); ## but it...
409.6 KB  
Libraries  -  Perl6::Parameters 0.03
Perl6::Parameters is a module with Perl 6-style prototypes with named parameters. SYNOPSIS use Perl6::Parameters; sub mysub($foo, ARRAY $bar, *%rest) { ... } DETAILS Perl6::Parameters is a Perl module which simulates Perl 6s named...
4.1 KB  
Libraries  -  Inline::CPR 0.12
Inline::CPR is C Perl Run. Embed Perl in C, ala Inline SYNOPSIS #!/usr/local/bin/cpr int main(void) { printf("Hello World, Im running under Perl version %sn", CPR_eval("use Config; $Config{version}") ); return 0; } Is it C? Is it...
7.17 KB  
Programming  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by, it is used to describe information about an application such as the name and...
327.68 KB  
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB  
Libraries  -  App::SimpleScan::Substitution::Line 2.02
App::SimpleScan::Substitution::Line is a line with optional fixed variable values. SYNOPSIS my $line = App::SimpleScan::Substitution::Line->new(" this "); # Use only this value when substituting " ". $line->fix(substituite =>...
54.27 KB