[OpenAFS] Setting quotas with interesting numbers

Simon Wilkinson sxw@inf.ed.ac.uk
Fri, 23 Sep 2011 08:39:51 +0100


--Apple-Mail-1--846020029
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 23 Sep 2011, at 00:28, Derrick Brashear <shadow@gmail.com> wrote:

> On Thu, Sep 22, 2011 at 3:30 PM, Steve Simmons <scs@umich.edu> wrote:
>> I've been working on a patch to AFS so that one could add scales to numbe=
rs. The primary goal is to be able to do things like
>>=20
>>   $ fs setq . 1g
>=20
> commit 54c0a3f3e6575fa5af39ddd797d5381c36b48001
> Author: Evan Broder <broder@mit.edu>
> Date:   Wed Mar 25 18:18:09 2009 -0500
>=20
>    Allow passing in human-readable units for specifying amounts of space

I think there is an argument for moving this code out of util and into libcm=
d, and providing a cmd_OptionAsScaledInt=20

S.



--Apple-Mail-1--846020029
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><body bgcolor=3D"#FFFFFF"><div><span class=3D"Apple-style-span" style=3D=
"-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-compositio=
n-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color=
: rgba(77, 128, 180, 0.230469); ">On 23 Sep 2011, at 00:28, Derrick Brashear=
 &lt;<a href=3D"mailto:shadow@gmail.com">shadow@gmail.com</a>&gt; wrote:</sp=
an><br></div><div><br></div><div></div><blockquote type=3D"cite"><div><span>=
On Thu, Sep 22, 2011 at 3:30 PM, Steve Simmons &lt;<a href=3D"mailto:scs@umi=
ch.edu">scs@umich.edu</a>&gt; wrote:</span><br><blockquote type=3D"cite"><sp=
an>I've been working on a patch to AFS so that one could add scales to numbe=
rs. The primary goal is to be able to do things like</span><br></blockquote>=
<blockquote type=3D"cite"><span></span><br></blockquote><blockquote type=3D"=
cite"><span>&nbsp; $ fs setq . 1g</span><br></blockquote><span></span><br><s=
pan>commit 54c0a3f3e6575fa5af39ddd797d5381c36b48001</span><br><span>Author: E=
van Broder &lt;<a href=3D"mailto:broder@mit.edu">broder@mit.edu</a>&gt;</spa=
n><br><span>Date: &nbsp;&nbsp;Wed Mar 25 18:18:09 2009 -0500</span><br><span=
></span><br><span> &nbsp;&nbsp;&nbsp;Allow passing in human-readable units f=
or specifying amounts of space</span><font class=3D"Apple-style-span" color=3D=
"#000000"><font class=3D"Apple-style-span" color=3D"#0023A3"><br></font></fo=
nt></div></blockquote><div><br></div>I think there is an argument for moving=
 this code out of util and into libcmd, and providing a cmd_OptionAsScaledIn=
t&nbsp;<div><br></div><div>S.</div><div><br></div><div><br></div></body></ht=
ml>=

--Apple-Mail-1--846020029--