public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: tytso@snap.thunk.org
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Renaming lost+found
Date: Wed, 31 Jan 2001 10:32:39 -0500	[thread overview]
Message-ID: <20010131103239.A1796@think> (raw)
In-Reply-To: <Pine.LNX.3.95.1010126084632.208A-100000@chaos.analogic.com> <3A73565B.6EBC7F77@ngforever.de> <9523bg$7dc$1@cesium.transmeta.com>
In-Reply-To: <9523bg$7dc$1@cesium.transmeta.com>; from hpa@zytor.com on Sun, Jan 28, 2001 at 01:35:44PM -0800

On Sun, Jan 28, 2001 at 01:35:44PM -0800, H. Peter Anvin wrote:
> *renamed*, i.e. does the tools (e2fsck &c) use "/lost+found" by name,
> or by inode?  As far as I know it always uses the same inode number

e2fsck uses /lost+found by name, not by inode.  It will recreate a new
lost+found directory if one doesn't exist.  *However*, if the
filesystem is badly corrupted, it's possible that when it allocates
blocks for the lost+found directory, it might override a datablock
that might possibly be recoverable if one were truly desparate and
using a disk editor to search for keywords.  (This would only happen
if part of the inode table had gotten corrupted due to a hardware
error --- i.e., such as the anecdotal evidence of DMA units that write
garbage to the disk because during a power failure, where it is
conjectured that the +5V power rail drops below the critical working
of the memory faster than +12V power rail drops below the critical
working volutage of the disk drive --- so that the record in the inode
table that a certain disk block was in use is erased.)

So if you really dislike lost+found, go ahead and delete it.  It
removes a somewhat tiny safeguard, but being able to take advantage of
it requires wizard-level skills (there are no tools to do this
automatically, since it requires human intuition and a knowledge of
what file you might be trying to save.)  So it would probably only be
used in the case of someone who had 10 year's of Ph.D. research that
wasn't backed up, and this was the only way they could get the data
back.  And although not doing disk backups is grounds for general
redicule, losing ten years of graduate research would probably be
reguarded by most as cruel and unusual punishment.  But if you're not
in a Ph.D. program, it doesn't matter, yes?  (And in any case, we ALL
do backups, all the time, religiously and on a regular schedule,
RIGHT?  :-)

						- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  parent reply	other threads:[~2001-01-31 16:18 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-01-26 13:13 Renaming lost+found Rob Kaper
2001-01-26 13:49 ` Richard B. Johnson
2001-01-26 18:19   ` James Lewis Nance
2001-01-26 20:05     ` Rodrigo Barbosa (aka morcego)
2001-01-27 20:43       ` Stephen C. Tweedie
2001-01-28 19:26     ` Chris Mason
2001-01-27 23:14   ` Thunder from the hill
2001-01-28 21:35     ` H. Peter Anvin
2001-01-28 21:41       ` Mo McKinlay
2001-01-28 21:56         ` Support for 802.11 cards? Mike Pontillo
2001-01-28 22:07           ` John Jasen
2001-01-28 23:23             ` Michael H. Warfield
2001-01-29  0:13               ` Joe deBlaquiere
2001-01-29  2:00               ` Anton Blanchard
2001-01-29 18:18               ` Bryan O'Sullivan
2001-01-30  1:09                 ` Mike Pontillo
2001-01-29  6:41         ` Renaming lost+found Mike Galbraith
2001-01-29  7:17       ` Andreas Dilger
2001-01-31 15:32       ` tytso [this message]
2001-01-26 19:24 ` Andreas Dilger
2001-01-26 19:45   ` patrick.mourlhon
     [not found]     ` <200101262005.PAA05246@mah21awu.cas.org>
2001-01-26 20:21       ` patrick.mourlhon
  -- strict thread matches above, loose matches on Subject: below --
2001-01-26 22:09 NDias
2001-01-27 21:01 ` Albert D. Cahalan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010131103239.A1796@think \
    --to=tytso@snap.thunk.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox