[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [coldsync-hackers] [PATCH] removing lastsync PC dependency onhost's IP
On Fri, 17 Aug 2001, Dan Pelleg wrote:
> Andrew Arensburger writes:
> > On Fri, 17 Aug 2001, Dan Pelleg wrote:
> > > It also has the advantage that the user
> > > needs not set up any config entries themselves, which I think your solution
> > > requires. Maybe I got you wrong there, but did you mean the host ID is
> > > something the user puts in?
> >
> > Yes, you need to specify the host ID yourself, and put it in the
> > config file. Is this a problem?
> >
>
> Not in itself, but it makes installation and configuration harder for the
> user. But it would probably be easy to supply a sane default that will
> apply to the majority of users, who don't have this need (say, just use the
> hostname, or the IP).
Ah, I guess I wasn't clear.
As of right now, there's no way to specify the host ID. ColdSync
just uses the host's IPv4 address. When it becomes possible to set the
host ID, it should still default to the IPv4 address. So if you don't set
up a config file, the host ID will be the IPv4 address.
However, if you want to set the host ID manually, then you'll have
to manually update your config file. Though it should be possible to
specify well-defined abbreviations, e.g. "hostid: hostid;" should set the
host ID to the value returned by gethostid(2).
> Yes, after seeing Ryan's post I realized that false negatives are OK here,
> so the MAC address should be fine; after all, it's not unacceptable to
> force a slow sync following a NIC replacement (or, if you want to pursue
> that direction, a processor replacement...).
True. (It's _not_ acceptable to require the user to re-register
the OS after installing a new NIC, but that's a different rant :-) ).
Of course, a slow sync is always safe, albeit slow. I'm more
concerned with "unsafe" operations, i.e. ones that might delete data that
shouldn't be deleted.
--
Andrew Arensburger Actually, these _do_ represent the
arensb@ooblick.com opinions of ooblick.com!
Generic Tagline V 6.01
This message was sent through the coldsync-hackers mailing list. To remove
yourself from this mailing list, send a message to majordomo@thedotin.net
with the words "unsubscribe coldsync-hackers" in the message body. For more
information on Coldsync, send mail to coldsync-hackers-owner@thedotin.net.