quotactl() call

From: Lubos Kejzlar <kejzlar_at_zcu.cz>
Date: Fri, 21 Jul 1995 12:45:39 +0200 (MET DST)

Hi all,
        I'm trying to modify small C program for setting UFS quotas to
specific UID & quota value. We are running OSF 3.0 with "/" "/usr" "/var"
'advfs' partitions and "/lockers" (/dev/rz0f) 'ufs' partition. The quotas
are enabled for this last one partition.

The man page to 'quotactl' say:

        quotactl(
                char *path,
                int cmd,
                int id,
                char *addr);

Does someone know how should be set the 'path' variable? I'm not able to
setup this variable correctly. I get either error message or quotas are
updated in /quota.user file instead of /lockers/quota.user :-(.

There is also manpage to setquota() call, but I'm not able to find this
call in any system library :-(

Thank you very much for any help or suggestion!

Best regards,
        Lubos

--------------------------------------------------------------------------
Lubos Kejzlar
System and Network Specialist

Laboratory for Computer Science Tel.: +42-19 2171210
University of West Bohemia +42-19 7221530
Americka 42, 30614 Pilsen Fax: +42-19 7222435
Czech Republic E-mail: kejzlar_at_zcu.cz
--------------------------------------------------------------------------
Received on Fri Jul 21 1995 - 13:10:13 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT