From owner-freebsd-questions@FreeBSD.ORG Tue Mar 13 08:08:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0F6E3106564A for ; Tue, 13 Mar 2012 08:08:57 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id 9256D8FC0C for ; Tue, 13 Mar 2012 08:08:56 +0000 (UTC) Received: by wibhq7 with SMTP id hq7so271326wib.13 for ; Tue, 13 Mar 2012 01:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4kAb5guVWQ1B2OC5aNq5pPy0MfEfZZxPcz6lMujcC4k=; b=M3IjLB4FNWpZ5qCp9Q3rjLikhgvbl0r7FXDr31gKIIcHbPUaE3yS7njXbmgi9Nw8dx z8DxDHde6elATM9pAFi+PJUcUNVE6UmmMHOaTRRUDIYNPxypXrKEOAkCW4oZ7b5OJS2n lCXSRV+2FvQoIJfXzf8dKhZasHdJV20H1UWG2CAvId28gINq7fWST/ZBQhOtaE0uloGZ IPT4iAhdJN3O+oBAQdshUusrGWEUVHOIynwIbOjdlApsnwxAGeqlKFu3bkpSeMadLvdX juEuvrrXwbfx8RnoG6gNPNnwBcXm06UijiWQBbR5DczN20j3Ql/ggfyteLwr/Mmu0yL5 iePw== MIME-Version: 1.0 Received: by 10.180.80.40 with SMTP id o8mr4994865wix.10.1331626135515; Tue, 13 Mar 2012 01:08:55 -0700 (PDT) Received: by 10.223.102.78 with HTTP; Tue, 13 Mar 2012 01:08:55 -0700 (PDT) In-Reply-To: References: Date: Tue, 13 Mar 2012 03:08:55 -0500 Message-ID: From: Adam Vande More To: jb Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: lost+found dir placement 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: Tue, 13 Mar 2012 08:08:57 -0000 On Tue, Mar 13, 2012 at 2:58 AM, jb wrote: > Hi, > > Each fs should have its own lost+found directory. > It is used by fsck for placing recovered corrupted fs files in there. > This implies the dir must have already existed (it may not be mounted ad > hoc > e.g. at boot time, during fs recovery). > > In FreeBSD 9, I found lost+found dir under /mnt. > This is incorrect - /mnt is defined under all standards (Filesystem > Hierarchy > Standard, Unix directory structure) as "contains filesystem mount points". > > So, lost+found dir should exist under root dir as /lost+found. > > Any comments before I file a PR request ? > jb > The directory is created in the top of the filesystem, so you should check what is mounted on /mnt. Filesystem Hierarchy Standard -- This is a Linux standard. For info on FreeBSD hierarchy see man hier(7) -- Adam Vande More