From owner-freebsd-questions@FreeBSD.ORG Sat Mar 6 16:01:09 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C9A216A4CE for ; Sat, 6 Mar 2004 16:01:09 -0800 (PST) Received: from oahu.WURLDLINK.NET (oahu.wurldlink.net [66.193.144.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id CA0F243D1D for ; Sat, 6 Mar 2004 16:01:08 -0800 (PST) (envelope-from vince@oahu.WURLDLINK.NET) Received: from oahu.WURLDLINK.NET (vince@localhost.WURLDLINK.NET [127.0.0.1]) by oahu.WURLDLINK.NET (8.12.9/8.12.9) with ESMTP id i2700DqQ070140; Sat, 6 Mar 2004 14:00:30 -1000 (HST) Received: from localhost (vince@localhost)i2700CXD070137; Sat, 6 Mar 2004 14:00:12 -1000 (HST) Date: Sat, 6 Mar 2004 14:00:12 -1000 (HST) From: Vincent Poy To: Kris Kennaway In-Reply-To: <20040306223131.GD74091@xor.obsecurity.org> Message-ID: <20040306135922.I8264-100000@oahu.WURLDLINK.NET> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: questions@freebsd.org Subject: Re: deleting lost+found directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Mar 2004 00:01:09 -0000 On Sat, 6 Mar 2004, Kris Kennaway wrote: > On Sat, Mar 06, 2004 at 08:27:11AM -1000, Vincent Poy wrote: > > Hi everyone: > > > > On one of my disks that has no files in it mounted as /mnt/usr, > > fsck is creating the lost+found directory and underneath each one are > > directories named starting with # that is empty, is there anyway to remove > > these? Thanks. > > They're just directories, remove them in the usual way. Tried that, didn't work... root@bigbang [4:00pm][/mnt/usr] >> cd lost+found root@bigbang [4:00pm][/mnt/usr/lost+found] >> dir total 56 drwxr-xr-x 20 root wheel - 512 Mar 6 10:16 #5558272 drwxr-xr-x 5 root wheel - 512 Mar 4 04:00 #7018496 drwxr-xr-x 108 root wheel - 8704 Mar 1 04:00 #7206914 drwxr-xr-x 43 root wheel - 1024 Mar 4 04:00 #7254025 drwxr-xr-x 118 root wheel - 2048 Mar 4 04:00 #7254167 drwx------ 7 root wheel - 35840 Mar 6 10:33 . drwxr-xr-x 49 root wheel - 512 Mar 5 20:43 .. root@bigbang [4:00pm][/mnt/usr/lost+found] >> dir * #5558272: total 38 drwxr-xr-x 20 root wheel - 512 Mar 6 10:16 . drwx------ 7 root wheel - 35840 Mar 6 10:33 .. #7018496: total 38 drwxr-xr-x 5 root wheel - 512 Mar 4 04:00 . drwx------ 7 root wheel - 35840 Mar 6 10:33 .. #7206914: total 46 drwxr-xr-x 108 root wheel - 8704 Mar 1 04:00 . drwx------ 7 root wheel - 35840 Mar 6 10:33 .. #7254025: total 38 drwxr-xr-x 43 root wheel - 1024 Mar 4 04:00 . drwx------ 7 root wheel - 35840 Mar 6 10:33 .. #7254167: total 38 drwxr-xr-x 118 root wheel - 2048 Mar 4 04:00 . drwx------ 7 root wheel - 35840 Mar 6 10:33 .. root@bigbang [4:00pm][/mnt/usr/lost+found] >> rm -rf * rm: #5558272: Directory not empty rm: #7018496: Directory not empty rm: #7206914: Directory not empty rm: #7254025: Directory not empty rm: #7254167: Directory not empty Cheers, Vince - vince@WURLDLINK.NET - Vice President ________ __ ____ Unix Networking Operations - FreeBSD-Real Unix for Free / / / / | / |[__ ] WurldLink Corporation / / / / | / | __] ] San Francisco - Honolulu - Hong Kong / / / / / |/ / | __] ] HongKong Stars/Gravis UltraSound Mailing Lists Admin /_/_/_/_/|___/|_|[____] Almighty1@IRC - oahu.DAL.NET Hawaii's DALnet IRC Network Server Admin