tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* question about quotactl()
@ 2001-07-25 18:53 Richard Fairfield
  0 siblings, 0 replies; only message in thread
From: Richard Fairfield @ 2001-07-25 18:53 UTC (permalink / raw)
  To: tru64-unix-managers


Hello all:

I have several file systems mounted via NFS from a Network Appliances
Filer. User quotas are enabled on the Filer. I can see the quota limits
via the Tru64 UNIX quota(1) command. For example:

	Disk quotas for user rcf (uid 3921):
     Filesystem  blocks   quota   limit   grace   files   quota   limit   grace
         /user0  395080  512000  512000            2550      -1      -1

However, when I try to get the quota information via the quotactl(2)
system call it fails with error EOPNOTSUPP which, in this context,
means "The kernel has not been compiled with the QUOTA option".

I can understand that error message if the quotas were being on the
local UFS or ADVFS file system, but that is not the case here. I thought
that the quota(1) command (which works) would also use quotactl(2),
but a scan through truss output of the "quota rcf" command shows only
the following quotactl(2) call:

   quotactl("/", 0, 0, 0x00000000)                 Err#22 Invalid argument

So, I'm confused. How to I get NFS quota information from inside a
C program?

Thanks in advance for any and all help or suggestions,
Richard Fairfield
Math Sciences Computing Center
University of Washington
MSCC Departmental Telephone Number: 206-616-3636
My Office Telephone Number: 206-685-2303
Fax: 206-685-7419
rcf@ms.washington.edu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-07-25 18:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-25 18:53 question about quotactl() Richard Fairfield

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