Re: tricky list comparison problem - Resolved

2005-09-02 Thread Jason Ross
On 9/2/05, John W. Krahn <[EMAIL PROTECTED]> wrote: > Jason Ross wrote: > > > > I'm trying it on a second drive however, and am getting results that > > don't look right ... > > > The problem is that you are including the data from partition 2. If you > exclude it then you will get the correct

Re: tricky list comparison problem

2005-09-02 Thread John W. Krahn
Jason Ross wrote: > > I'm trying it on a second drive however, and am getting results that > don't look right ... > > That drive has the following partitions defined: > > * First Sector Last > * Partition Tag FlagsSector Count Sect

Re: tricky list comparison problem

2005-09-01 Thread Randy W. Sims
Jason Ross wrote: Anyway, the issue I have is that I need to determine where there are gaps between the first sector and last sector (on the entire disk, not on a given partition). So, for example, using the sample data below, I want to return "2097415 - 69078878" as available sectors. Hi J

Re: tricky list comparison problem

2005-09-01 Thread Jason Ross
heh. i didn't realize i sucked this bad =) On 9/1/05, John W. Krahn <[EMAIL PROTECTED]> wrote: > > Anyway, the issue I have is that I need to determine where there are > > gaps between the first sector and last sector (on the entire disk, not > > on a given partition). > > How do you determine wh

Re: tricky list comparison problem

2005-09-01 Thread John W. Krahn
Jason Ross wrote: > Hello. Hello, > I'm having a bit of an issue with a script I'm working on. The goal is > to parse the output of the solaris `prtvtoc` command and do some things > based on it. I've got that part down, and am placing the bits I care > about into a hash which is best written (I