From: evilninja <evilninja@gmx.net>
To: Mikael Cluseau <nwrk@nwrk.dyndns.org>
Cc: aotto1968@t-online.de, reiserfs-list@namesys.com
Subject: Re: I've done a very bad mistake
Date: Thu, 01 Jul 2004 19:10:43 +0200 [thread overview]
Message-ID: <40E44593.7090207@gmx.net> (raw)
In-Reply-To: <1088696200.11333.58.camel@localhost>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mikael Cluseau schrieb:
> Le jeu 01/07/2004 à 15:23, Andreas Otto a écrit :
>
>>Hi,
>>
>> I've done as root:
>> >> cp some_file /dev/hdb7
>
>
> I remember that cp ask to *replace* a file, not to "put the source file
> at the beginning of the target file". Did you really verified that your
> partition was really modified ? I would be very surprised of this
> attitude from cp...
hm, i was curious about this and i set up a testimage via losetup, so i
can use /dev/loop0 as it it were real devices.
when cp'ing to /dev/loop0, i was able to mount /dev/loop0 again with
reiserfs, and no files are corrupted (diff). with ext3, i had to fsck
loop0, then one entry was taken to lost+found, but no corruptions
present as far as diff can tell. all this was done with devfs. so, "cp"
really writes *to* the file, it does not replace it, right?
maybe the OP only has to try latest reiserfsck...
just my 2¢,
Christian.
- --
BOFH excuse #112:
The monitor is plugged into the serial port
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFA5EWTC/PVm5+NVoYRAg2zAKDlrJxWjxv/8+rFoR1bVpaedEzR1ACaA6yJ
aMJfJOfsq3TXpKbONOaiFEs=
=Iqji
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2004-07-01 17:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-01 13:23 I've done a very bad mistake Andreas Otto
2004-07-01 15:25 ` mjt
2004-07-01 15:36 ` Mikael Cluseau
2004-07-01 17:10 ` evilninja [this message]
2004-07-01 17:33 ` Redeeman
2004-07-02 4:02 ` David Masover
2004-07-02 12:45 ` Redeeman
-- strict thread matches above, loose matches on Subject: below --
2004-07-06 6:28 Andreas Otto
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=40E44593.7090207@gmx.net \
--to=evilninja@gmx.net \
--cc=aotto1968@t-online.de \
--cc=nwrk@nwrk.dyndns.org \
--cc=reiserfs-list@namesys.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.