From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 6 20:47:45 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB0A916A41F for ; Tue, 6 Dec 2005 20:47:45 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5F72D43D5A for ; Tue, 6 Dec 2005 20:47:45 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.3/8.13.3) with ESMTP id jB6KlhFQ095675; Tue, 6 Dec 2005 12:47:43 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.3/8.13.3/Submit) id jB6KlfaA095674; Tue, 6 Dec 2005 12:47:41 -0800 (PST) (envelope-from jmg) Date: Tue, 6 Dec 2005 12:47:41 -0800 From: John-Mark Gurney To: "K.C.Huang-MLC" Message-ID: <20051206204741.GJ55657@funkthat.com> Mail-Followup-To: "K.C.Huang-MLC" , freebsd-hackers@freebsd.org References: <000601c5fa56$3bcd2a00$61a313a3@jhlh> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000601c5fa56$3bcd2a00$61a313a3@jhlh> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org Subject: Re: rm: Directory not empty ..(had tried chflag ...) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Dec 2005 20:47:46 -0000 K.C.Huang-MLC wrote this message on Tue, Dec 06, 2005 at 19:14 +0800: > I running fsck -y to a device, and I delete some files in the same time . > I found there were some files could'nt be delete.. Don't run fsck -y while you have the file system mounted.. if you do, you will end up with troubles like you have... you should make sure to pass -B to fsck if you want to run fsck while the file system is mounted... Though I've never done that manually (I let the rc scripts handle that for me)... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."