This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libquota-devel - broken incomplete package ?


On Sep  2 12:29, Corinna Vinschen wrote:
> On Sep  2 13:39, Pavel Fedin wrote:
> >  [...]
> >  BTW, just for interest, does Cygwin actually support quotas ? NT OS should
> > actually support them i guess...
> 
> Sorry, Cygwin doesn't support quota management yet.
> 
> It can be added relatively easily, AFAICS.

I spoke too soon.  This is Windows after all...

> There are two ntdll system
> calls Nt{Query,Set}QuotaInformationFile and a Nt{Query|Set}InformationFile
> info class FILE_FS_CONTROL_INFORMATION to switch quoat mgmg on and off,
> which roughly provide the functionality of quotactl, at least as far as
> the block quota is concerned.  Windows doesn't support inode-based or
> time limit-based quota management. 
> 
> We can look into implementing this at one point, and patches are
> welcome, of course.

I made a first attempt to implement a quotactl function, and failed:

http://social.msdn.microsoft.com/Forums/en-US/c64ce903-86cc-4f41-89ce-e709a0a9f2fb


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgpuQPJKamtFY.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]