Main > Programming > Libraries >

Solaris::MapDev 0.05a

Solaris::MapDev 0.05a

Sponsored Links

Solaris::MapDev 0.05a Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.024 MB
Platform: Any Platform
License: GPL (GNU General Public License)
Price:
Downloads: 865
Date added: 2007-06-13
Publisher: Alan Burlison

Solaris::MapDev 0.05a description

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()"

Solaris::MapDev 0.05a Screenshot

Advertisements

Solaris::MapDev 0.05a Keywords

Bookmark Solaris::MapDev 0.05a

Hyperlink code:
Link for forum:

Solaris::MapDev 0.05a Copyright

WareSeeker periodically updates pricing and software information of Solaris::MapDev 0.05a full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of Solaris::MapDev 0.05a Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
Solaris::Kstat is a Perl module to access Solaris Kstats from Perl. Free Download
Solaris::Disk::SVM::Graph is a Perl module for graph your Solaris Volume Manager configurations. Free Download
sdparm project utility outputs and in some cases modifies SCSI device parameters. Free Download
Class::NiceApi is a Perl module that translates your methodNames to my method_names. Free Download
OpenGeDB Perl module is a module to access the OpenGeoDB database and calculate all ZIP codes in a certain radius. Free Download
Sub::Regex is a Perl module to create synonymous subroutines. Free Download
Linux::net::dev is a Perl extension for parsing /proc/net/dev. Free Download
dump_kstat is a Perl module created to dump the kstat structure. Free Download