[2032] in Moira

home help back first fref pref prev next nref lref last post

Re: Feature Request

daemon@ATHENA.MIT.EDU (Garry Zacheiss)
Mon Sep 29 23:35:59 2003

Date: Mon, 29 Sep 2003 23:35:56 -0400 (EDT)
Message-Id: <200309300335.h8U3ZuAO006479@brad-majors.mit.edu>
From: Garry Zacheiss <zacheiss@MIT.EDU>
To: Jonathan Reed <jdreed@MIT.EDU>, Laura Baldwin <boojum@MIT.EDU>
cc: moiradev@MIT.EDU
In-reply-to: "[2022] in Moira"

> >> 2) moira was updated to accept modifiers after a number and expand
> >> them appropriately.  For example, one could enter "1G" and have that
> >> expand to 1,000,000 KB.  Or one could enter "650M" and have that
> >> expand to 650,000 KB.
> 
> This might actually be more doable than the above, and has the nice
> property that it wouldn't change the meaning of the quota column.

This is now implemented in the moira client in the moira locker for
sun4x_58, sun4x_59, i386_linux24, and i386_rh9.  You can specify quotas
with a modifier of either "M" or "G" (or "m", "mb", "g", "gb", "GB",
"MB", etc.) and have it do the right thing.

Note that this is done via client side parsing and the values are still
stored in the database as "1000000" for backwards compatability and
because that's how the AFS commands moira runs expect them.

Garry


home help back first fref pref prev next nref lref last post