On Wed, 2009-07-29 at 21:59 +0200, Kern Sibbald wrote:
> Hello Dirk,
> 
> I have taken a look at what we might do in the core code to support some sort 
> of on-line listing of the client files.  
> 
> Currently the "estimate" command given either a Job name, or a Client+FileSet 
> will produce a listing of all the files in the FileSet.  This is useful for 
> the user to know what is in his/her FileSet.
> 
> Now in your case, I assume that you want to be able to get to the raw file 
> structure on the Client machine, and it seems to me that if that is the case, 
> you probably just need a simple directory listing routine.

Correct, sort of like ls -l
like we were discussing before something like
.list client=someclient-fd dir='/etc/init.d'

> However, if you are eventually going to create FileSets and want to check 
> them, then we probably should do the whole thing by having you pass some form 
> of FileSet that would be compiled and sent to the client for listing.

Not following the concept of "compiling" a fileset.  New language for
me.  I'm probably just not as familiar with the core internals.

> I can see several ways of doing this, and to decide, I think you need to tell 
> me *exactly* what you are planning to do, then we can discuss it and see if 
> the current FileSet interface will work or if we need to write a new 
> filesystem listing routine.

If you think about the version browser with being able to check a
directory or file for inclusion/exclusion.  I think this will end up
being an iterative process and my feelings will not be hurt if it is.
If you are interested in having me create detailed specs, thats another
thing that would take some time.

I've previously requested a feature that was described as being
unnecessary, a limit.
.list client=someclient-fd dir='/etc/init.d' limit=1000
so that over wan or broadband the client is only waiting for a directory
of 100000 files if the user really wants the whole directory.   I used
to get irritated with my old software because I clicked on the wrong
directory, and wait ...  ... and wait.

I'd "like" to get the returned values in some sort of delimited,
preferable tab delimited format.


Basically, I'm flexible.

Dirk
> Best regards,
> 
> Kern


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to