Amanda-Users

Re: amrecover won't set correct disk based on CWD

2003-04-08 12:20:17
Subject: Re: amrecover won't set correct disk based on CWD
From: Joshua Baker-LePain <jlb17 AT duke DOT edu>
To: Toralf Lund <toralf AT procaptura DOT com>
Date: Tue, 8 Apr 2003 11:06:42 -0400 (EDT)
On Tue, 8 Apr 2003 at 2:18pm, Toralf Lund wrote

> What is going on here? Is this possibly caused by a bug? It may seem like 
> amindexd will return the shortest or first DLE match when it should in 
> fact look for the longest one. Or maybe amrecover will only look for 
> directories that are mount points? The amrecover log may actually suggest 
> this. Note that /u is a separate partition, while /usr/local is part of /.

Not answering your question, but pointing you in a direction, the logic 
controlling this seems to be (from my quick code grepping) in 
recover-src/amrecover.c -- the guess_disk function.

-- 
Joshua Baker-LePain
Department of Biomedical Engineering
Duke University


<Prev in Thread] Current Thread [Next in Thread>