Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!cbatt!ihnp4!ptsfa!lll-lcc!styx!ames!rutgers!cbmvax!phillip From: phillip@cbmvax.UUCP Newsgroups: comp.sys.amiga Subject: Re: Re: AmigaDOS: How to know if a file is on RAM: Message-ID: <1406@cbmvax.cbmvax.cbm.UUCP> Date: Fri, 13-Feb-87 08:31:46 EST Article-I.D.: cbmvax.1406 Posted: Fri Feb 13 08:31:46 1987 Date-Received: Sat, 14-Feb-87 18:48:07 EST References: <13148@sun.uucp> Organization: Commodore Technology, West Chester, PA Lines: 18 > Keywords: AmigaDOS, RAM:, Lock(), ParentDir(). > Summary: You don't really > > In a previous article, hsgj@batcomputer.tn.cornell.edu (Dan Green) writes: >> [... Nice description of one way to get the Volume name left out ...] >> Why am I writing? Well right now I am assuming that if I >> find a null filename in the fib_Filename field, then I must be >> dealing with the RAM: disk. This may or may not be a safe assumption. The sure fire way of finding which device your dealing with is to: pid = DeviceProc("RAM:"); if(pid == (lock<<2)->fl_Task) /* I am dealing with a lock on a ram: file or directory */ ============================================================================== Phillip Lindsay - Commodore Business Machines - Amiga Technical Support UUCP: {ihnp4|seismo|caip}!cbmvax!phillip - Phone: (215) 431-9180 No warranty is implied or otherwise given in the form of suggestion or example. Any opinions found here are of my making. /* eof */