All of lore.kernel.org
 help / color / mirror / Atom feed
* undelete open file
@ 2004-03-10 12:22 Joachim Reichelt
  2004-03-10 12:39 ` Vladimir Saveliev
  0 siblings, 1 reply; 4+ messages in thread
From: Joachim Reichelt @ 2004-03-10 12:22 UTC (permalink / raw)
  To: reiserfs-list

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)

-- 
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)


^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: undelete open file
@ 2004-03-10 14:30 root
  0 siblings, 0 replies; 4+ messages in thread
From: root @ 2004-03-10 14:30 UTC (permalink / raw)
  To: Reichelt, reiserfs-list

I believe you can copy the file by performing a cp /proc/<pid>/fd/<fd> <newfile>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-03-10 14:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 12:22 undelete open file Joachim Reichelt
2004-03-10 12:39 ` Vladimir Saveliev
2004-03-10 13:57   ` Joachim Reichelt
  -- strict thread matches above, loose matches on Subject: below --
2004-03-10 14:30 root

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.