Path: utzoo!attcan!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!dit.ie!alawlor From: alawlor@dit.ie (Aengus Lawlor) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: can you tell if a logical drive is a ramdisk Message-ID: <7442.261cbd19@dit.ie> Date: 6 Apr 90 16:00:24 GMT References: <1990Mar31.034515.7622@rducky.uucp> Organization: Dublin Institute of Technology Lines: 12 In article <1990Mar31.034515.7622@rducky.uucp>, jrp@rducky.uucp (JIM PICKERING) writes: > I am writing an application that needs to determine is a logical drive > (E for example) is a ramdisk. Is there any way? Perhaps there is some > information in the BPD obtained through an ioctl() call? Can you get the date associated with the label on the drive? If it's todays date, it's probably a ram drive. (Not perfect, but reasonably do-able) -- Aengus Lawlor Dept of Computer Science. Time flies like an arrow, ALAWLOR@DIT.IE Dublin Institute of Technology. Fruit-flies like a banana Kevin Street. Dublin 8. Ireland.