From owner-freebsd-questions@FreeBSD.ORG Wed Aug 2 16:57:29 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 3864016A4E2 for ; Wed, 2 Aug 2006 16:57:29 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id D558A43D6E for ; Wed, 2 Aug 2006 16:57:28 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.4) id k72GvSYX067467; Wed, 2 Aug 2006 11:57:28 -0500 (CDT) (envelope-from dan) Date: Wed, 2 Aug 2006 11:57:28 -0500 From: Dan Nelson To: Scott Oertel Message-ID: <20060802165728.GC58585@dan.emsphone.com> References: <44D0C36C.2050902@scottevil.com> <20060802162524.GB58585@dan.emsphone.com> <44D0D498.1030405@scottevil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44D0D498.1030405@scottevil.com> X-OS: FreeBSD 5.5-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.12-2006-07-14 Cc: freebsd-questions@freebsd.org Subject: Re: removing large files (lost+found) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Aug 2006 16:57:29 -0000 In the last episode (Aug 02), Scott Oertel said: > Dan Nelson wrote: > >In the last episode (Aug 02), Scott Oertel said: > >>Yesterday after an fsck a file was placed in the lost+found folder > >>which size was exactly the size of the drive (450gb). What is the > >>safest way to remove this file? > > > >If its timestamp updates when you touch a file on the main > >filesystem, it's most likely a snapshot file, either leftover from a > >failed background fsck, or manually created by you with mksnap_ffs. > >You can just delete it. > > The time stamp doesn't update, it gives an error: touch: #00000005: > Operation not permitted I mean touch some other file :) But I just remembered the correct way to determine if a file is a snapshot: "ls -lo". If the flags field contains the word "snapshot" for that file, it's a snapshot. -- Dan Nelson dnelson@allantgroup.com