Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #260818

Re: Why or why not back up "/lost+found"

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Why or why not back up "/lost+found"
Date 2023-08-11 00:30 +0200
Message-ID <H1mkh-UA5-3@gated-at.bofh.it> (permalink)
References <H1jPr-T0c-17@gated-at.bofh.it> <H1jPr-T0c-15@gated-at.bofh.it> <H1lHz-U7N-3@gated-at.bofh.it> <H1m0V-UtI-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Aug 11, 2023 at 12:03:26AM +0200, Nicolas George wrote:
> Default User (12023-08-10):
> > > > And, if /lost+found should be excluded, then shouldn't "lost+found"
> > > > in any other directories be excluded from backups as well? Why/why
> > > > not? 
> 
> > Unfortunately, I regret to say that I did not find that the answer to
> > the question(s) about lost+found in the original post were contained in
> > the explanation(s) of its function - at least in what I have read so
> > far. 
> 
> The lost+found directory at the root of the filesystem is special, it is
> created when the filesystem is created and set up to receive orphaned
> files. A lost+found directory elsewhere… is just a directory with a
> wacky name.

Expanding on this: the only time there are ever going to be files in
the lost+found directory is if your file system has suffered some
damage/corruption, and fsck has found some files that are not
referenced by any directory.  Fsck puts those files in lost+found with
a procedurally generated name, since fsck doesn't have any idea what
the file's original names were.

If you ever see files in lost+found, then you know that this has
occurred.  Furthermore, it is on *you* to try to figure out what each
file is, where it came from, and what it should be called.  This will
be a 100% manual process.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Why or why not back up "/lost+found" Nicolas George <george@nsup.org> - 2023-08-10 21:50 +0200
  Re: Why or why not back up "/lost+found" Default User <hunguponcontent@gmail.com> - 2023-08-10 23:50 +0200
    Re: Why or why not back up "/lost+found" Nicolas George <george@nsup.org> - 2023-08-11 00:10 +0200
      Re: Why or why not back up "/lost+found" Greg Wooledge <greg@wooledge.org> - 2023-08-11 00:30 +0200
      Re: Why or why not back up "/lost+found" Bob McGowan <tumcsv@gmail.com> - 2023-08-11 01:10 +0200
        Re: Why or why not back up "/lost+found" David Wright <deblis@lionunicorn.co.uk> - 2023-08-11 01:40 +0200
    Re: Why or why not back up "/lost+found" Default User <hunguponcontent@gmail.com> - 2023-08-11 03:20 +0200
      Re: Why or why not back up "/lost+found" Greg Wooledge <greg@wooledge.org> - 2023-08-11 04:20 +0200

csiph-web