tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Lubos Kejzlar <kejzlar () zcu ! cz>
To: tru64-unix-managers
Subject: quotactl() call
Date: Fri, 21 Jul 1995 10:45:39 +0000	[thread overview]
Message-ID: <96075321606608.tru64-unix-managers.marc@archive.invalid> (raw)

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@zcu.cz
--------------------------------------------------------------------------

                 reply	other threads:[~1995-07-21 10:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox