Amanda-Users

Re: How do I run multiple parallel samba DLEs?

2004-10-29 06:17:45
Subject: Re: How do I run multiple parallel samba DLEs?
From: "Stefan G. Weichinger" <monitor AT oops.co DOT at>
To: amanda-users AT amanda DOT org
Date: Fri, 29 Oct 2004 12:14:20 +0200
Hi, Kevin,

on Freitag, 29. Oktober 2004 at 11:47 you wrote to amanda-users:

KD> There is a bug in the parsing.

KD> If eth0 is interpreted as the spindle, then why does the interface get
KD> interpreted as ETH0?

KD>     host localhost:
KD>         interface ETH0
KD>     disk //bunting/c$:
KD>          ...
KD>         spindle 0

KD> Also, the parser could notice that eth0 is not an integer.  Using
KD> strtol rather than atoi in diskfile.c will allow checking for errors
KD> in parsing.  

KD> Essentially, atoi interprets "eth0" as 0, but skip_integer doesn't
KD> skip over anything, so eth0 then gets interpreted as "eth0" for an
KD> interface.

You are right, thank you. Just had a look at the code ...

KD> Did interface get introduced after the spindle number?  The CVS
KD> interface isn't working now.

Yes, the spindle-parameter was introduced first. (CVS fine here)

-- 
best regards,
Stefan

Stefan G. Weichinger
mailto:monitor AT oops.co DOT at