guru input needed! (re-inventing disk quotas)
Net Llama!
netllama
Mon May 17 11:29:37 PDT 2004
On Mon, 8 Apr 2002, Douglas J Hunley wrote:
> On Monday 08 April 2002 12:56, Net Llama! wrote:
> > THis sounds like it would work, except, what happens if someone wants to
> > pay for 20MB of space? Sure, you could create a loop back file of 20MB,
> > but this doesn't seem all that elegant.
> >
> > Also, copying the contents of one 'allocation' to a larger one is also not
> > all that elegant.
>
> well, I know it's not elegant, but...
>
> as for expanding.... Take this example:
> 1. setup joe with default 10M
> 2. months go by, joe needs more space (20M)
> 3. accounting aproves
> 4. create a /loops/tmp of 10M
> 5. umount /loops/joe
> 6. cat /loops/tmp >> /loops/joe && rm /loops/tmp
>
> that would increase /loops/joe to 20M, right?
Sure, but would it maintain data integrity, or just give you a gob of data
20MB in size?
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lonni J Friedman netllama at linux-sxs.org
Linux Step-by-step http://netllama.ipfox.com
More information about the Linux-users
mailing list