Date: Tue, 13 Mar 2012 03:08:55 -0500 From: Adam Vande More <amvandemore@gmail.com> To: jb <jb.1234abcd@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: lost+found dir placement Message-ID: <CA%2BtpaK3psGaM5GRQO8Kyy4ySwQK0ZU6Hnf3DmCa61-H0N5yxHQ@mail.gmail.com> In-Reply-To: <loom.20120313T085550-787@post.gmane.org> References: <loom.20120313T085550-787@post.gmane.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 13, 2012 at 2:58 AM, jb <jb.1234abcd@gmail.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BtpaK3psGaM5GRQO8Kyy4ySwQK0ZU6Hnf3DmCa61-H0N5yxHQ>