One other trick or tactic is to put a file (very frequently called
"DUMMY FILE", or if you're more clever, "Dummy File") that is 1 block
with a single line of anything in it.  Using the mixed case file name
makes it a little harder to erase and it allows a successful read only
access.

On 9/18/07, Rich Greenberg <[EMAIL PROTECTED]> wrote:


> } And any way to *prevent* it from failing?  (I'm not after the files I'm 
> after
> } the disk stats I can only get when the disk is accessed.)
>
> Not that I know of.  You just have to catch the rc=28 and handle that as
> an error.


-- 
Bruce Hayden
Linux on System z Advanced Technical Support
Endicott, NY

Reply via email to