tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: fs-independent quotas
On Fri, Oct 21, 2011 at 04:59:37PM +0200, Michal Suchanek wrote:
> On 21 October 2011 15:48, Manuel Bouyer <bouyer%antioche.eu.org@localhost>
> wrote:
> > On Fri, Oct 21, 2011 at 03:37:43PM +0200, Michal Suchanek wrote:
>
> >> > Nor in the tree-based dictionnary, or in the multidimentionnal array.
> >>
> >> No, in an array the unused locations do exist.
> >
> > I don't understand this. If you have a 2-dimention array
> > quota[id][type], and quota[class=group] doesn't exist for this filesytem,
> > you have quota[class=group]=NULL and no memory associated with it.
>
> Yes, you don't.
>
> What you describe is a dictionary, not an array.
OK. So multi-dimentionnal arrays in C are not arrays, they're dictionary ...
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index