lost+found dir placement
Adam Vande More
amvandemore at gmail.com
Tue Mar 13 08:08:57 UTC 2012
On Tue, Mar 13, 2012 at 2:58 AM, jb <jb.1234abcd at 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
More information about the freebsd-questions
mailing list