Gentoo Archives: gentoo-user

From: Matthias Bethke <matthias@×××××××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Corrupt xD card with photos
Date: Thu, 28 Sep 2006 19:01:17
Message-Id: 20060928185532.GA8846@huxley
In Reply to: Re: [gentoo-user] Corrupt xD card with photos by Mick
1 Hi Mick,
2 on Monday, 2006-09-25 at 22:54:49, you wrote:
3 > I must be doing something wrong:
4 > ============================================
5 > $ ./recoverpics
6 > ./recoverpics: line 1: /bin: is a directory
7 > ./recoverpics: line 2: /bin: is a directory
8 > ./recoverpics: line 3: syntax error near unexpected token `('
9 > ./recoverpics: line 3: ` * Copyright (C) 2004 Matthias Bethke
10 > <Matthias.Bethke@×××.net>'
11 > ============================================
12 >
13 > Is that the expected output?
14
15 No, not really. Looks like you're starting the source or something?
16 Here's how it's supposed to look:
17 | mb@huxley ~ $ tar -jxvvf recoverpics-1.6.tar.bz2
18 | -rw-r----- mb/users 13294 2004-02-28 07:08:36 recoverpics/recoverpics.c
19 | drwxr-x--- Creating directory: recoverpics
20 | -rwxr-xr-x mb/users 542 2004-02-27 16:13:03 recoverpics/checkpics.sh
21 | -rw-r----- mb/users 140 2004-02-27 16:10:04 recoverpics/Makefile
22 | mb@huxley ~ $ cd recoverpics/
23 | mb@huxley ~/recoverpics $ make
24 | cc -O2 -finline-functions -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64
25 | recoverpics.c -orecoverpics
26 | strip recoverpics
27 | mb@huxley ~/recoverpics $ ./recoverpics
28 | Usage: recoverpics <file> [offset] [max-output-size]
29
30 Then you should be able to run it as "./recoverpics /dev/sda" or
31 something.
32
33 good luck :)
34 Matthias
35
36 --
37 I prefer encrypted and signed messages. KeyID: FAC37665
38 Fingerprint: 8C16 3F0A A6FC DF0D 19B0 8DEF 48D9 1700 FAC3 7665