Article View: aus.computers.linux
Article #1160Re: "lost+found" files?
From: Robert Swan swan.r.l
Date: Mon, 23 Jun 2008 21:42
Date: Mon, 23 Jun 2008 21:42
53 lines
3034 bytes
3034 bytes
In article <slrng5r5kl.5uv.felixk@carrot.cabbage.patch>, Felix Karpfen <felix@spodzone.org.uk> wrote: >I had a major crash. And my file system was corrupted very badly. >It is still unclear why it happened; but all is fixed now (apart >from the files in "lost+found") and I refrain from spelling out the >details. However, I would have been history, if I had not had a backup >fully-operational (Linux) system on my box from which to repair the >corrupted disk partition. Perhaps, but a lot can be achieved with a boot CD. >Thank you for the advice and the pointer to the "file" command. The >output of the "file" command reads: > >[felixk@ ~]$ file 75584621 >75584621: ERROR: cannot open `75584621' (No such file or directory) > >- which is probably just another indication that I was in big trouble! Were you in the appropriate lost+found directory when you issued that command. The argument to "file" is a filename and 75584621 was one of the lost+found files you listed in your OP. Unless the file system has been further corrupted "file" should be able to deal with it. So, on my system: # file /var/run/cups/cups.sock /var/run/cups/cups.sock: socket # file /etc/passwd /etc/passwd: ASCII text # file / /: directory and, in your case, you would want: # file /lost+found/xxx (where xxx is the name of some file in the lost+found directory) >I assume thaat I can safely delete the entries in "lost+found" since >everything works again and none of the entries appear to be missed. Yes. All that stuff above is just a suggestion for when you don't know what a file is. As all the files in lost+found were "s" files, all it'll tell you is that they were sockets. Nevertheless, it should have worked. Have fun, Robert. -- Robert Swan | No, not the antarctic adventurer. swan.r.l@gmail.com | No, not the Canberra porn monger. | Yes, that's right, the boring one.
Technical Details
Message-ID:
<ivh5j5-fod.ln1@rswan.netspace.net.au>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed01.sul.t-online.de!t-online.de!snewsf0.syd.ops.aspac.uu.net!news.netspace.net.au!not-for-mailReferences:
<slrng5k08e.4ah.felixk@carrot.cabbage.patch> <hmbui5-8qh.ln1@rswan.netspace.net.au> <slrng5r5kl.5uv.felixk@carrot.cabbage.patch>Show Full Headers
Complete Article Headers
X-Google-Thread: 102983,abf261a6654f7811 X-Google-Attributes: gid102983,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder.news-service.com!news.netcologne.de!newsfeed-fusi2.netcologne.de!newsfeed01.sul.t-online.de!t-online.de!snewsf0.syd.ops.aspac.uu.net!news.netspace.net.au!not-for-mail From: "Robert Swan" swan.r.l@gmail.com Newsgroups: aus.computers.linux Subject: Re: "lost+found" files? Date: Tue, 24 Jun 2008 07:42:42 +1000 Organization: Internet Customer Lines: 53 Message-ID: <ivh5j5-fod.ln1@rswan.netspace.net.au> References: <slrng5k08e.4ah.felixk@carrot.cabbage.patch> <hmbui5-8qh.ln1@rswan.netspace.net.au> <slrng5r5kl.5uv.felixk@carrot.cabbage.patch> NNTP-Posting-Host: 220-253-182-62.nsw.netspace.net.au X-Trace: otis.netspace.net.au 1214334425 11364 220.253.182.62 (24 Jun 2008 19:07:05 GMT) X-Complaints-To: abuse-team@netspace.net.au NNTP-Posting-Date: Tue, 24 Jun 2008 19:07:05 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: roberts@athlonx2.gville (Robert Swan)