From: Justin M. P. <jm...@MI...> - 2006-01-28 01:09:28
|
Hello, We're using Netatalk 2.0.3 on a Mandriva Linux 2.6.14 system and are trying to figure out how get quotas to show up in the free space/used space information on OS X Macs. We've done four experiments. I performed these tests with logging compiled in and kicked up to maxdebug. I also patched the source to turn on debugging for logging. - ext3 partition, user quota --> Mac shows the user quota as the amount of space left on the share. Logs show that quota.c gets called. - ext3 partition, group quota --> Mac shows the disk capacity as the amount of space left. Logs do not show quota.c getting called. - xfs partition, user quota --> Mac shows the disk capacity as the amount of space left. Logs do not show quota.c getting called. - xfs partition, group quota --> Mac shows the disk capacity as the amount of space left. Logs do not show quota.c getting called. This leads to three questions: 1. Why does the user quota show up differently on the ext3 partition than on the XFS partition? Samba has no problems with either partition. 2. Do group quotas work? All of our directories are SGID. I see from http://sourceforge.net/tracker/index.php?func=detail&aid=921021&group_id=8642&atid=308642 that SGID directories have caused problems in the past (at least on FreeBSD). 3. If group quotas don't work, how hard would it be to implement them? Is it just a matter of adding another if/else to uquota_getvolspace in etc/afpd/quota.c? Thanks, --Justin |