home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!portal!danb
- From: danb@shell.portal.com (Dan E Babcock)
- Subject: Re: Flushing Devices; C= doco (mutter!)
- Message-ID: <C0HCMJ.J9L@unix.portal.com>
- Sender: news@unix.portal.com
- Nntp-Posting-Host: jobe
- Organization: Portal Communications Company -- 408/973-9111 (voice) 408/973-8091 (data)
- References: <1993Jan7.092127.13752@philips.oz.au>
- Date: Thu, 7 Jan 1993 10:47:07 GMT
- Lines: 17
-
- In article <1993Jan7.092127.13752@philips.oz.au> gduncan@philips.oz.au (Gary Duncan) writes:
- >
- >Passing thought ; why the heck aren't unused libraries/devices
- >flushed automatically anyway? Sounds like a legacy of the days
- >when hard disks were rare and dragging a device off floppy was
- >time-consuming. Those days are gone...
- >
-
- eh? Devices and libraries ARE flushed automatically. When a memory allocation
- fails, the expunge vectors get called, and if there are no current openers,
- the device/library is removed from memory. This is perfect; there's nothing
- to fix. (Hmm, well maybe change the OS so that filesystems can be safely
- flushed as well...as it is such things as CrossDOS hang around forever).
-
- Dan
-
-
-