Nikolai_Vladychevski wrote:
> As I understood, quotas are stored in the filesystem internaly, there is
> no text file for quota limits. But I need to copy it to another disk. To
> copy the users I just need to copy /etc/passwd and /etc/shadow. Easy. But
> what about quota limits??? I can't beleive I need to write a program on C
> to do this. Does somebody has any ideas?
Quotas are stored in the files quota.user and quota.group in the root
directory of each filesystem. These are binary files, so I'm not sure
whether you can just copy them; I'd suggest trying it and seeing
whether it works.
--
Glynn Clements <[EMAIL PROTECTED]>