HP3000-L Archives

March 2005, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Vance, Jeff H (Cupertino)" <[log in to unmask]>
Reply To:
Vance, Jeff H (Cupertino)
Date:
Fri, 25 Mar 2005 16:49:51 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (33 lines)
...
> 1. How about a common function that converts sizes, such that you
>     only need to provide sector output from volinfo.
> 
> setvar MB  HPSECTORS ( !SECTORS, "MB" )
> setvar KB  HPSECTORS ( !sectors, "KB" )
> setvar bytes HPSECTORS ( !sectors, "BYTES" ) 
> setvar GB  HPSECTORS ( !sectors, "GB" )
> 
> Of course we can do the math ourselves, but it may vary 
> between us on our own definitions of what megabyte or kilobyte means.
> (1000 or 1024).

True, there are several definitions of MB.  Sectors are a nasty unit of
measure as files and disks get larger. If MB is too course a unit of
measure, I'd prefer to see pages over sectors (1 page=4k bytes, k=2^10).
But can we get away with just returning MB?
 
> 2. Remove boolean Loner.
>     I would think VolType is sufficient.
>     Or do we also need booleans for scratch, locked, disabled, etc.

I agree. We picked "loaner" since we thought this might be a common
value but then why not the other states too.  Unless there are
objections we will drop the "loaner" volinfo item.

Thanks!

 Jeff

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2