Hi Alexander and *,

I would like linux to handle default quota limits like NTFS 5 do it.

So if a new user is added to the system and start to own disk space on a filesystem he
should get the default quotas for the specified FS as his own quotas.

Now a new user has unlimited disk space until root explicit sets quota limits for this user.

I have searched in google to find another unix witch allready implements this feature,
but I didn't find any. So I decided to add two (four) new cmd's to quotactl(),

Q_SETDEFQUOTA
Q_GETDEFQUOTA

and for the XFS Quotas

Q_XSETDEFQLIM
Q_XGETDEFQUOTA

this call should take the same paramter's as the Q_GETQUOTA /Q_XGETQUOTA ..
cmd's but the uid/gid should be ignored here and the filesystem defaults should be get or set.

I think this should be an easy task to be implemented in the filesystems witch allready support quotas.


I attach a patch witch modify the quotactl system call for this.

the implemetation inside the filesystems, should be done by the maintainers:-)

PS: I'm currently using XFS and it would be very cool if the default quota limits could implemented very fast...:-)

I hope I will get feedback :)

thanks anyway...

please cc me: in all replies:-)


metze
-----------------------------------------------------------------------------
Stefan "metze" Metzmacher <[EMAIL PROTECTED]>

Attachment: 2.5.59-defquota.diff
Description: Binary data

Reply via email to