On Sun, 2006-04-02 at 19:36 +0200, Stian Jordet wrote:
søn, 02,.04.2006 kl. 20.33 +0300, skrev Timo Sirainen:
So, what do these say:
stat /dev/hda1 stat /home stat /home/ingvild/Maildir
Will this patch help? diff -u -r1.10 quota-fs.c --- src/plugins/quota/quota-fs.c 6 Mar 2006 15:48:33 -0000 1.10 +++ src/plugins/quota/quota-fs.c 2 Apr 2006 17:41:12 -0000 @@ -139,7 +139,7 @@ strcmp(ent.mnt_fstype, MNTTYPE_IGNORE) == 0) continue; - if (stat(ent.mnt_special, &st2) == 0 && + if (stat(ent.mnt_mountp, &st2) == 0 && CMP_DEV_T(st.st_dev, st2.st_dev)) { device_path = ent.mnt_special; mount_path = ent.mnt_mountp; @@ -158,7 +158,7 @@ strcmp(ent->mnt_type, MNTTYPE_IGNORE) == 0) continue; - if (stat(ent->mnt_fsname, &st2) == 0 && + if (stat(ent->mnt_dir, &st2) == 0 && CMP_DEV_T(st.st_dev, st2.st_dev)) { device_path = ent->mnt_fsname; mount_path = ent->mnt_dir;