Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 1996 13:16:31 +0100 (MET)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        freebsd-hackers@freebsd.org (FreeBSD hackers)
Cc:        imp@village.org (Warner Losh)
Subject:   Re: But it didn't work.
Message-ID:  <199612071216.NAA18402@uriah.heep.sax.de>
In-Reply-To: <199612032211.PAA00422@rover.village.org> from Warner Losh at "Dec 3, 96 03:11:10 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
As Warner Losh wrote:

> : You are running UFS on the drive, right?
> 
> Yes.  Why wouldn't lsof show anything, yet umount think the drive is
> still busy?

I've once noticed problems of this kind if the UFS in questions has
device nodes that are currently open, regardless of whether the
pathname on the mounted device or any other UFS has been used to open
this descriptor.  E.g., if your JAZ disk has a /dev/console on it, and
/dev/console is currently open (which it usually is), you can't umount
it without also setting MNT_FORCE (aka. ``umount -f'').

Needless to say, with DEVFS, you no longer need to have device nodes
on your UFS at all. :-)

-- 
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. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612071216.NAA18402>