[Box Backup] AccountNumber length?
boxbackup at boxbackup.org
Wed Oct 22 11:01:32 BST 2008
On Tue, Oct 21, 2008 at 4:40 PM, Chris Wilson <chris at qwirx.com> wrote:
> Hi Richard,
... SNIP ...
> I'm developing a patch which will allow you to associate a "name" string
> of arbitrary length with each account, and list them all with a new
> bbstoreaccounts command, so you'd be able to store the MAC address as the
> name of the account if you desire. However, this will be added after 0.11
> is released.
> You could use the last four bytes of the MAC address as the unique
> identifier, which is quite likely to be unique between machines
> (especially if all the NICs have the same manufacturer :)
Yea, the last 4 bytes is what I'll probably do.
... SNIP ...
>> Would it be possible to increase the size of the account number to an
>> unsigned long long (or something really big)? This is not really
>> *that* important, just more of a wish list item for me. :)
> I'd prefer not to do that, as I think that accounts should be numbered
> starting from 1, but if others want this then I'll be happy to reconsider.
Nope, the string feature would take care of this. If people want a
simple identifier then they use the number; if they want to get fancy
with names and MAC addresses then they can use the string. :)
More information about the Boxbackup