DragonFly users List (threaded) for 2009-03
DragonFly BSD
DragonFly users List (threaded) for 2009-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: hammer: undelete and questions


From: Petr Janda <elekktretterr@xxxxxxxxxxxxxx>
Date: Sun, 1 Mar 2009 16:10:00 +1100

Hi Matt,
The directory wasnt deleted. I ran the command and this is what it said:

petr@elevator:/home/petr> undo -i T_X_F_07x05.part1.rar
Cannot locate src/historical idx=-1 T_X_F_07x05.part1.rar@@0x0000000000000000,
the file may have been renamed in the past.

Which is weird because it definately wasnt renamed, was just deleted. Im 
running DF 2.3 thats from the 7th feb.

I cant find the files in the snapshot from yesterday either (snapshot run at 
3PM), and I added the file later on.

I think it may be caused by the fact that when Kget starts downloading it 
firstly saves the file as filename.part and once it finishes it removes 
the .part.

Petr

On Sun, 1 Mar 2009 14:11:25 Matthew Dillon wrote:
> ::Hey all,
> ::Im still trying to figure out how to undelete a file (without going to
> ::snapshots). Undo complains that file doesnt exist or has been renamed,
> ::
> ::1) what else can I do?
> ::
> ::2) How do I access transaction history of a file that I deleted?
> ::
> ::Thanks,
> ::PEtr
>
>     Oh, another possibility... if the directory containing the file
>     was deleted and recreated, then undo will not be able to locate the
>     file under the current directory's inode.  At the moment undo does
>     not recurse upwards looking for multiple versions of the directory
>     path leading up to the file.
>
>     If that is the case the best way to find the file is to run through
>     the snapshots.
>
> 						-Matt





[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]