Skip to content

Commit

Permalink
unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
guillomovitch committed Aug 1, 2012
1 parent 750b24a commit 8117f81
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions lib/FusionInventory/Agent/Task/Inventory/Input/Solaris/Drives.pm
Expand Up @@ -22,24 +22,6 @@ sub _getDfCmd {
"df -k";
}

sub _getFsTypeFromMount {

my %mountInfo;

my $handle = getFileHandle(
command => 'mount -v',
@_
);

while (my $line = <$handle>) {
next unless $line =~ /^(\S+)\son\s\S+\stype\s(\S+)/;

$mountInfo{$1} = $2;
}

return %mountInfo;
}

sub doInventory {
my (%params) = @_;

Expand All @@ -56,8 +38,6 @@ sub doInventory {
getFilesystemsFromDf(logger => $logger, command => _getDfCmd());


my %fsTypeFromMount = _getFsTypeFromMount();

# get indexed list of ZFS filesystems
my %zfs_filesystems =
map { $_ => 1 }
Expand Down

0 comments on commit 8117f81

Please sign in to comment.