Article View: linux.redhat.install
Article #47Re: Removing files from /lost+found
From: John Saunders
Date: Tue, 26 May 1998 00:00
Date: Tue, 26 May 1998 00:00
29 lines
2500 bytes
2500 bytes
Howard Arons wrote in message <3569c8f9.1787147@news.comcation.net>...
>Phil Reardon <pcr@pcrt.com> wrote:
>
>>I wonder, would it be dangerous to do rm -r lost+found from / as root,
then
>>mkdir lost+found?
>
>An even more basic question--what are these lost+found directories?
>What created them; why? My SuSE 5.2 put them into my dir structure
>when I installed it, but they're empty.
They get create when a new filesystem is created. Their purpose
is to hold lost files (the MSDOS equivalent of lost clusters)
that get detected by fsck when it checks the filesystem at boot
time. They are not like a normal directory in that they already
have a chunk of disk space allocated to them to hold entries,
even though they are initially empty. This is because fsck
doesn't want to go allocating blocks to hold directory entries
while the disk is in a scrambled state, otherwise it could do
more damage.
Cheers.
-- . +-------------------------------------------------------+
,--_|\ | John Saunders mailto:John.Saunders@scitec.com.au |
/ Oz \ | SCITEC LIMITED Phone +61294289563 Fax +61294289933 |
\_,--\_/ | "By the time you make ends meet, they move the ends." |
v +-------------------------------------------------------+
Technical Details
Message-ID:
<6kd6oh$5h@mailhub.scitec.com.au>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3563CE81.56C6EFF1@turing.une.edu.au> <356979C6.1CF5FD7@pcrt.com> <3569c8f9.1787147@news.comcation.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd6c,1ad5fe5d5ea6b45c X-Google-Attributes: gidfcd6c,public X-Google-Thread: 111240,1ad5fe5d5ea6b45c X-Google-Attributes: gid111240,public X-Google-Thread: 15ee82,1ad5fe5d5ea6b45c X-Google-Attributes: gid15ee82,public X-Google-Thread: 1103af,1ad5fe5d5ea6b45c X-Google-Attributes: gid1103af,public X-Google-Thread: faa64,1ad5fe5d5ea6b45c X-Google-Attributes: gidfaa64,public X-Google-Thread: 102983,1ad5fe5d5ea6b45c X-Google-Attributes: gid102983,public X-Google-Thread: fe2cf,1ad5fe5d5ea6b45c X-Google-Attributes: gidfe2cf,public From: "John Saunders" <john.saunders@scitec.com.au.NOSPAM> Subject: Re: Removing files from /lost+found Date: 1998/05/26 Message-ID: <6kd6oh$5h@mailhub.scitec.com.au> X-Deja-AN: 356503452 Content-Transfer-Encoding: 7bit References: <3563CE81.56C6EFF1@turing.une.edu.au> <356979C6.1CF5FD7@pcrt.com> <3569c8f9.1787147@news.comcation.net> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Mimeole: Produced By Microsoft MimeOLE V4.72.2106.4 Organization: SCITEC LIMITED Newsgroups: linux.redhat.install,alt.lnux,alt.os.linux,aus.computers.linux,comp.os.linux.misc,linux.redhat,linux.redhat.misc