Re: some curiosities on the filesystems layout in kernel config

From: Jan Kara (jack@suse.cz)
Date: Fri Feb 07 2003 - 10:23:33 EST


> On Sun, 12 Jan 2003 01:00:40 EST, "Robert P. J. Day" <rpjday@mindspring.com> said:
>
> > 3) currently, since quotas are only supported for ext2, ext3 and
> > reiserfs, shouldn't quotas depend on at least one of those
> > being selected?
  Quotas work also for other filesystems...

> Because if we did that, we'd be setting ourselves up for a mess when
> fs/xfs/xfs_qm.c eventually shows up - like it already has ;)
>
> Also, from my (possibly incorrect) reading of kernel/sys.c and
> fs/quota.c, there won't be a sys_quotactl() in the kernel. As a
> result, if you have users who have 'quota -v' in their .login, things
> might get interesting. So you might want a config where the quota
> system call is there, even if it doesn't do anything incredibly
> useful...
  You're right that it won't be in the kernel but in that case 'quota
-v' will just say 'Disk quotas for user test (uid 1000): none' (in case
you haven't any filesystem mounted with usrquota option which is
reasonable if you haven't quotas in kernel).

                                                                Honza

-- 
Jan Kara <jack@suse.cz>
SuSE CR Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:23 EST