From owner-freebsd-questions@FreeBSD.ORG Fri Apr 18 15:28:11 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E55994EE for ; Fri, 18 Apr 2014 15:28:11 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A05AC1BD1 for ; Fri, 18 Apr 2014 15:28:11 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WbAhx-00028B-Pn for freebsd-questions@freebsd.org; Fri, 18 Apr 2014 17:28:05 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginm.net ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Apr 2014 17:28:05 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginm.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 18 Apr 2014 17:28:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Bad file descriptor Date: Fri, 18 Apr 2014 15:27:53 +0000 (UTC) Lines: 14 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginm.net User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2014 15:28:12 -0000 FreeBSD 9.2-RELEASE I have a handful of files in a subdirectory of /usr/ports/multimedia/ gstreamer/work, which show up as 'Bad file descriptor'. It appears that I am unable to delete them. /usr/ports is on my root partition/slice, which is ufs with journalling. On rebooting, it says the partition/slice is clean, so checking is skipped. I gather that the way to fix this is to run fsck with the -f option. Is this correct? If so, how do I get / unmounted? Or is there a way to force a check on reboot before mounting?