[PATCH] smbcquotas (client site quota support)

Stefan (metze) Metzmacher metze at metzemix.de
Wed Mar 12 23:55:16 GMT 2003


At 23:51 12.03.2003 +0000, jra at dp.samba.org wrote:
>On Thu, Mar 13, 2003 at 12:48:55AM +0100, Stefan (metze) Metzmacher wrote:
> > At 23:32 12.03.2003 +0000, jra at dp.samba.org wrote:
> > >On Thu, Mar 13, 2003 at 12:22:55AM +0100, Stefan (metze) Metzmacher wrote:
> > > > Hi tridge,
> > > >
> > > > here's the patch that adds client site quota support to samba,
> > > > with a util smbcquotas just like smbcalcs...
> > > >
> > > > this is able get and set user quotas
> > > > and get and set the filesystem quota settings.
> > > >
> > >
> > >This looks great ! Once this is in the tree I'll start adding
> > >support for getting/setting quotas on the smbd server side of
> > >things.
> >
> > I have allready started with the server site.
> > And the NT part is ready (only a few cleanups are needed)
> >
> > and the unix site works on linux now and I'm working on the other 
> platforms
> > too the next week.
> > (tridge gives me access to IRIX, AIX, SUN machines
> >   and I have a testdrive.hp.com account ...)
> >
> > But maybe I'll make it work for platforms with the same quotactl prototype
> > like linux
> > and then we can put it to CVS and you can maybe add an other quota system.
> >
> > I also add vfs_get_quota() and vfs_set_quota() to the vfs layer.
> >
> > so that module writers can add quota support for special quota systems...
>
>The way to do the server side is to have a command escape for systems
>that don't have an easy way to programatically get/set quotas. Like
>the dfree command parameter. That way we can support all systems that
>have quotas.

yep we can also do that, but we also have a disk_free() function in the vfs 
layer.
so both ways should be there, to make much people happy:-)


>Jeremy.


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <metze at metzemix.de> 



More information about the samba-technical mailing list