Article View: comp.sys.ibm.pc.programmer
Article #243Re: can you tell if a logical drive is a ramdisk
From: Aengus Lawlor
Date: Fri, 06 Apr 1990 16:00
Date: Fri, 06 Apr 1990 16:00
12 lines
1052 bytes
1052 bytes
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.
Technical Details
Message-ID:
<7442.261cbd19@dit.ie>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!tcdcs!swift.cs.tcd.ie!dit.ie!alawlorReferences:
<1990Mar31.034515.7622@rducky.uucp>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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