Looking for a faster way of getting a directory listing from a disk



I was wondering if there is a quicker way of getting a directory listing
from a disk. I am currently doing the following but it takes a bit of
time if I happen to have to search multiple 250Gb drives.



#

# Trying to locate tests on the systems disks and establish paths to
them";

#



$i = c d e;

@array = "";

foreach $i (split/ /,$disk) {



print "\nChecking $i: for the tests.....";



@array1= `dir $i:\\ /B /S`;



# Establish a count of how big the array is for stepping through the
array later to find the .exe file

$lineC = @array1;



# append the array if more than one disk is selected

push(@array, @array1);

}





Regards,



Ed



Relevant Pages

  • Re: Need feedback on the A5200 storage array....
    ... they don't have the money for a big Hitachi array or a fast FC array with ... Use RAID5 on that kind of hardware. ... ten years or so) that had internal RAID5 controllers. ... I can't simply yank a disk and read its ...
    (comp.unix.solaris)
  • Re: HP EVA4000 / IBM DS4300 / EMC CX3-20/40
    ... Both EMC and EVA are great arrays and they will serve you well. ... disk array with the virtual raidsets on top. ... So, the system admin, and the DBAs had to create and manage lots of ...
    (comp.arch.storage)
  • Re: RAID 5 corruption, RAID 1 more stable?
    ... corruption to either the RAID array itself or the file system. ... The disk array to suffer so many errors (for example disk errors ... There is nothing the disk array can do if the host is broken and ...
    (comp.arch.storage)
  • Bug+fix: PDC20271 RAID detection fails
    ... My array was not detected by my kernel. ... the PDC RAID superblock, that is located at the start ... of the last track on the disk. ... is a multiple of track size and if not, ...
    (comp.os.linux.hardware)
  • FreeBSD 4.8, ASR2120, SMP, degraded RAID1/mirror => storage failure
    ... upon a RAID array degradation event (a disk is ... The same happens upon boot with a rebuilding/degraded array ... Attached is a tarball with debugging logs. ...
    (freebsd-questions)