From owner-freebsd-hackers Sat Jan 11 15:21:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA12974 for hackers-outgoing; Sat, 11 Jan 1997 15:21:54 -0800 (PST) Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id PAA12939 for ; Sat, 11 Jan 1997 15:20:49 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.6.12/8.6.12-s1) with UUCP id AAA05880 for freebsd-hackers@freebsd.org; Sun, 12 Jan 1997 00:20:32 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.8.4/8.6.9) id XAA02241; Sat, 11 Jan 1997 23:52:41 +0100 (MET) Message-ID: Date: Sat, 11 Jan 1997 23:52:41 +0100 From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@freebsd.org Subject: Re: mount -o async on a news servre References: <199701111952.MAA24055@phaeton.artisoft.com> X-Mailer: Mutt 0.55-PL10 Mime-Version: 1.0 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199701111952.MAA24055@phaeton.artisoft.com>; from Terry Lambert on Jan 11, 1997 12:52:34 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk As Terry Lambert wrote: > > Huh? You mean, after a successful umount, i could not eject a > > removable medium? I've never seen this, and i'm occasionally using a > > MO drive. Not only that i could remove it after umounting, my `od' > > driver even runs with the option to spin down the cartridge after > > closing, so i would `hear' if the drive were still open. > The buffers for the device are not decommitted until the next vclean > run, ... Perhaps they are not _guaranteed_ to be decommitted until the next vclean run? No, i don't think so. umount(8) waits until all buffers are clear, which often can take a tremendous amount of time on a MO medium. Once umount(8) returns, the medium spins down immediately, which basically means odclose() has been called. This proves your theory wrong. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)