Solaris::MapDev 0.05a
Sponsored Links
Solaris::MapDev 0.05a Ranking & Summary
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()"
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
Solaris::MapDev 0.05a Keywords
MapDev
MapDev Perl
MapDev 0.05a
device names
Perl module
inst
Dev
names
device
instance
name
Solaris::MapDev
SolarisMapDev
Solaris::MapDev 0.05a
Libraries
Programming
Bookmark Solaris::MapDev 0.05a
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
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
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
Latest Software
Popular Software
Favourite Software