Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable
Date: Thu, 11 Feb 2010 23:24:47
Message-Id: 1265930313.3163.31.camel@localhost
In Reply to: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable by ubiquitous1980
1 On Fri, 2010-02-12 at 01:58 +0800, ubiquitous1980 wrote:
2 > With this command or similar, I made my directory and one file in /
3 > unreadable:
4 >
5 > for entry in $(find $HOME); do $entry >> found; done
6
7 er... you just executed everything in your home directory and piped the
8 output to a file... I think you wanted "do echo $entry"? or the simpler
9 "find $HOME >> found"?
10
11 anyway, it shouldn't have corrupted your filesystem, but it looks like
12 it did.
13
14 > Any ideas on how to fix this?
15
16 you probably want to shutdown and fsck your filesystem. Then, start
17 looking for your backups :(
18
19 --
20 Iain Buchanan <iaindb at netspace dot net dot au>
21
22 Even with nougat you can have a perfect moment.
23 -- (Terry Pratchett, Thief of Time)

Replies

Subject Author
Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable Alan McKinnon <alan.mckinnon@×××××.com>
Re: [gentoo-user] Uh Oh!! Made the contents of my directory unreadable ubiquitous1980 <nixuser1980@×××××.com>