From: Joachim Reichelt <Reichelt@gbf.de>
To: Vladimir Saveliev <vs@namesys.com>
Cc: reiserfs-list@namesys.com
Subject: Re: undelete open file
Date: Wed, 10 Mar 2004 14:57:09 +0100 [thread overview]
Message-ID: <404F1EB5.2010008@gbf.de> (raw)
In-Reply-To: <1078922361.9476.120.camel@tribesman.namesys.com>
Vladimir Saveliev schrieb am 03/10/2004 01:39 PM:
>On Wed, 2004-03-10 at 15:22, Joachim Reichelt wrote:
>
>
>>Dear all,
>>
>>is there a way to undelete a file, that is still open?
>>lsof -C ... gives
>>Bragi 29736 jre 15r REG 3,8 6828032 480646
>>/home/jre/susanne_h/Model.md_ntr.mdcrd (deleted)
>>
>>
>
>cat /proc/NUM/fd/FD > copy-of-file
>
>
>
a
less /proc/NUM/fd/FD
will lock the file, till all jobs are done.
Then I'll do the 'cat'
>where NUM is pid of process having that file open
>FD - file descriptor of removed file
>
>
Many thanks!!!
--
Mit freundlichen Gruessen Best Regards
Joachim Reichelt
WWW: http://www.gbf.de _/_/_/ _/_/_/ _/_/_/_/
WWW: http://www.gbf.de/sb _/ _/ _/ _/ _/
_/ _/ _/ _/
Mascheroder Weg 1 _/ _/ _/_/_/ _/_/_/
D-38124 Braunschweig _/ _/ _/ _/ _/
Tel: +(49) 531 6181 352 _/ _/ _/ _/ _/
FAX: +(49) 531 2612 388 _/_/_/ _/_/_/ _/
SB - Strukturbiologie
GBF - Gesellschaft fuer Biotechnologische Forschung
German Research Centre for Biotechnology
See me at:
EMAIL: REICHELT@gbf.de WWW: http://www.gbf.de/sb/Reichelt.htm
-- Disclaimer --
Standard > Keyword : Opinions, my own, nobody else's, whatsoever ...
Man muss sich notfalls jemand mieten,
hat man an Geist selbst nichts zu bieten! (Heinz Erhardt)
next prev parent reply other threads:[~2004-03-10 13:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-10 12:22 undelete open file Joachim Reichelt
2004-03-10 12:39 ` Vladimir Saveliev
2004-03-10 13:57 ` Joachim Reichelt [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-03-10 14:30 root
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=404F1EB5.2010008@gbf.de \
--to=reichelt@gbf.de \
--cc=reiserfs-list@namesys.com \
--cc=vs@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.