[OpenAFS] Setting quotas with interesting numbers

Steve Simmons scs@umich.edu
Mon, 26 Sep 2011 16:10:02 -0400


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


On Sep 23, 2011, at 3:39 AM, Simon Wilkinson wrote:

> On 23 Sep 2011, at 00:28, Derrick Brashear <shadow@gmail.com> wrote:
>=20
>> 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 =
numbers. 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
>=20
> I think there is an argument for moving this code out of util and into =
libcmd, and providing a cmd_OptionAsScaledInt=20

Agree.


--Apple-Mail-10--541813975
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space; =
"><br><div><div>On Sep 23, 2011, at 3:39 AM, Simon Wilkinson =
wrote:</div><br class=3D"Apple-interchange-newline"><blockquote =
type=3D"cite"><div bgcolor=3D"#FFFFFF"><div><span =
class=3D"Apple-style-span" style=3D"-webkit-tap-highlight-color: =
rgba(26, 26, 26, 0.296875); -webkit-composition-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:</span><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@umich.edu">scs@umich.edu</a>&gt; =
wrote:</span><br><blockquote type=3D"cite"><span>I've been working on a =
patch to AFS so that one could add scales to numbers. 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><span>commit =
54c0a3f3e6575fa5af39ddd797d5381c36b48001</span><br><span>Author: Evan =
Broder &lt;<a =
href=3D"mailto:broder@mit.edu">broder@mit.edu</a>&gt;</span><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 for specifying amounts of space</span><font =
class=3D"Apple-style-span"><font class=3D"Apple-style-span" =
color=3D"#0023A3"><br></font></font></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_OptionAsScaledInt&nbsp;</div></blockquote><br></div><div>Agree.</div><=
br></body></html>=

--Apple-Mail-10--541813975--