From owner-freebsd-current@FreeBSD.ORG Tue Nov 14 18:51:49 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C66816A416; Tue, 14 Nov 2006 18:51:49 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AB2A43D49; Tue, 14 Nov 2006 18:51:49 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 0D0191A4D89; Tue, 14 Nov 2006 10:51:49 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id E125B51341; Tue, 14 Nov 2006 13:51:37 -0500 (EST) Date: Tue, 14 Nov 2006 13:51:37 -0500 From: Kris Kennaway To: current@FreeBSD.org Message-ID: <20061114185137.GA88771@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KsGdsel6WgEHnImy" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: kib@FreeBSD.org Subject: leaked mountpoints after umount X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 18:51:49 -0000 --KsGdsel6WgEHnImy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sometimes after umounting a filesystem (maybe resulting in an error condition) it will remain listed in the mount table: dalki# mount -v /dev/da0s1a on / (ufs, local, fsid ba3af642adf91c2a) devfs on /dev (devfs, local, fsid 00ff000505000000) /dev/da0s1e on /d (ufs, local, soft-updates, fsid bb3af6420012cc6a) /dev/da0s1d on /usr (ufs, local, soft-updates, fsid bb3af64216b6e4d0) pfi.true.lv:/sdc1/dosirak on /data (nfs, fsid 01ff000202000000) haessal:/c/test on /haessal (nfs, read-only, fsid c7ff560202000000) dalki# umount -f c7ff560202000000 umount: unmount of /haessal failed: No such file or directory umount: retrying using path instead of file system ID umount: unmount of /haessal failed: No such file or directory dalki# mount -v /dev/da0s1a on / (ufs, local, fsid ba3af642adf91c2a) devfs on /dev (devfs, local, fsid 00ff000505000000) /dev/da0s1e on /d (ufs, local, soft-updates, fsid bb3af6420012cc6a) /dev/da0s1d on /usr (ufs, local, soft-updates, fsid bb3af64216b6e4d0) pfi.true.lv:/sdc1/dosirak on /data (nfs, fsid 01ff000202000000) haessal:/c/test on /haessal (nfs, read-only, fsid c7ff560202000000) It is not actually mounted (/haessal is the underlying UFS directory), but it cannot be purged from the mount table. Kris --KsGdsel6WgEHnImy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFWhA5Wry0BWjoQKURAgukAJ0URcvtNMPddGNljINaVe4wqMOcmwCfTZoI U8yO78d6tdY1qGmOK2/R9zY= =024I -----END PGP SIGNATURE----- --KsGdsel6WgEHnImy--