public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* reiserFS undeletion
@ 2002-01-19 12:16 Gniazdowski
  2002-01-19 16:41 ` Hans Reiser
  0 siblings, 1 reply; 6+ messages in thread
From: Gniazdowski @ 2002-01-19 12:16 UTC (permalink / raw)
  To: linux-kernel

Hi.

If reiserfs logs all operations on files, then it should be not difficould to 
do undeletion of some file ?

Today i did:
mv UnderSusp.txt UnderSusp.avi

so i ask...


Regards Mariusz Gniazdowski

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

* Re: reiserFS undeletion
  2002-01-19 12:16 reiserFS undeletion Gniazdowski
@ 2002-01-19 16:41 ` Hans Reiser
  2002-01-19 17:29   ` Gniazdowski
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Reiser @ 2002-01-19 16:41 UTC (permalink / raw)
  To: refuse7; +Cc: linux-kernel

Gniazdowski wrote:

>Hi.
>
>If reiserfs logs all operations on files, then it should be not difficould to 
>do undeletion of some file ?
>
>Today i did:
>mv UnderSusp.txt UnderSusp.avi
>
>so i ask...
>
>
>Regards Mariusz Gniazdowski
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>
we only log metadata.  Running reiserfsck might get your data back 
though (or it might not, depending on whether your old data got 
overwritten.)



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

* Re: reiserFS undeletion
  2002-01-19 16:41 ` Hans Reiser
@ 2002-01-19 17:29   ` Gniazdowski
  2002-01-19 18:52     ` Martin Eriksson
  0 siblings, 1 reply; 6+ messages in thread
From: Gniazdowski @ 2002-01-19 17:29 UTC (permalink / raw)
  To: Hans Reiser; +Cc: linux-kernel

Dnia sob 19. styczeń 2002 17:41, Hans Reiser wrote:

> we only log metadata.

I know. Butt if i delete some file, it dosnt mean i set zero on sectors on 
disk. So imvho all is needet is meta data.

Regards Mariusz Gniazdowski.


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

* Re: reiserFS undeletion
  2002-01-19 17:29   ` Gniazdowski
@ 2002-01-19 18:52     ` Martin Eriksson
  2002-01-19 22:45       ` Gniazdowski
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Eriksson @ 2002-01-19 18:52 UTC (permalink / raw)
  To: refuse7, Hans Reiser; +Cc: linux-kernel

----- Original Message -----
From: "Gniazdowski" <refuse7@poczta.fm>
To: "Hans Reiser" <reiser@namesys.com>
Cc: <linux-kernel@vger.kernel.org>
Sent: Saturday, January 19, 2002 6:29 PM
Subject: Re: reiserFS undeletion


> Dnia sob 19. styczeń 2002 17:41, Hans Reiser wrote:
>
> > we only log metadata.
>
> I know. Butt if i delete some file, it dosnt mean i set zero on sectors on
> disk. So imvho all is needet is meta data.

Yes, but (not butt =) if you have done some other file operations after the
delete, your deleted file might have been overwritten by another file.
Especially if you have little free space on your hard disk.

 _____________________________________________________
|  Martin Eriksson <nitrax@giron.wox.org>
|  MSc CSE student, department of Computing Science
|  Umea University, Sweden

- ABIT BP6(RU) - 2xCeleron 400 - 128MB/PC100/C2 Acer
- Maxtor 10/5400/U33 HPT P/M - Seagate 6/5400/U33 HPT S/M
- 2xDE-530TX - 1xTulip - Linux 2.4.17+ide+preempt


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

* Re: reiserFS undeletion
  2002-01-19 18:52     ` Martin Eriksson
@ 2002-01-19 22:45       ` Gniazdowski
  2002-01-20 11:18         ` Hans Reiser
  0 siblings, 1 reply; 6+ messages in thread
From: Gniazdowski @ 2002-01-19 22:45 UTC (permalink / raw)
  To: Martin Eriksson; +Cc: linux-kernel

19 Jan 2002 19:52, Martin Eriksson wrote:
> > 19 Jan 2002 17:41, Hans Reiser wrote:
> > > we only log metadata.
> >
> > I know. Butt if i delete some file, it dosnt mean i set zero on sectors
> > on disk. So imvho all is needet is meta data.
>
> Yes, but (not butt =) if you have done some other file operations after the
> delete, your deleted file might have been overwritten by another file.
> Especially if you have little free space on your hard disk.

Yep but ( ;)  80% situations is like "ups i deleted it" and undeletion 
operation is taken straight after that. So it would be nice to have it... 
Just a sugestion...

Regards Gniazdowski.

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

* Re: reiserFS undeletion
  2002-01-19 22:45       ` Gniazdowski
@ 2002-01-20 11:18         ` Hans Reiser
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Reiser @ 2002-01-20 11:18 UTC (permalink / raw)
  To: refuse7, linux-kernel

Gniazdowski wrote:

>19 Jan 2002 19:52, Martin Eriksson wrote:
>
>>>19 Jan 2002 17:41, Hans Reiser wrote:
>>>
>>>>we only log metadata.
>>>>
>>>I know. Butt if i delete some file, it dosnt mean i set zero on sectors
>>>on disk. So imvho all is needet is meta data.
>>>
>>Yes, but (not butt =) if you have done some other file operations after the
>>delete, your deleted file might have been overwritten by another file.
>>Especially if you have little free space on your hard disk.
>>
>
>Yep but ( ;)  80% situations is like "ups i deleted it" and undeletion 
>operation is taken straight after that. So it would be nice to have it... 
>Just a sugestion...
>
>Regards Gniazdowski.
>-
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@vger.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
>
>
yes, it would be nice, and patches to create a /..graves (notice the 
copyright avoidance naming scheme, and the opportunity for the gui guys 
to have some fun) will be accepted by me (though whether they will get 
past Linus I don't know, I think he prefers that libc do it, so I 
suggest making it a patch to libc.)

Hans



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

end of thread, other threads:[~2002-01-20 11:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-19 12:16 reiserFS undeletion Gniazdowski
2002-01-19 16:41 ` Hans Reiser
2002-01-19 17:29   ` Gniazdowski
2002-01-19 18:52     ` Martin Eriksson
2002-01-19 22:45       ` Gniazdowski
2002-01-20 11:18         ` Hans Reiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox