04-02-2010
flush fileset headers? (ynq)
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Can anybody provide me Pointers to Practice tests or any Material to prepare for Brainbench certification in Unix Shell Scripting? Also how good is this Certification for UNIX programmers. Is it worth it? I'm planning to take this certification in 2 weeks. Kindly let me know all the pros... (0 Replies)
Discussion started by: pavan_emani
0 Replies
2. Programming
Dear Gurus,
I have encountered a C question, which I thought of sharing with you.
This question was asked by one of my technical training staff...Though my training was over I'm still thinking of a solution for this..
Write a C program to do a small task(lets say just simply printing a "Hello... (34 Replies)
Discussion started by: vrk1219
34 Replies
3. Programming
Hi Gurus,
To the Brain Teaser, if I add another condition, say the executable should not be altered, how the program should be altered? (no perl please, purely C). I forgot to mention this condition my staff had mentioned. ( forgot then and got now :D )
The program executed the first time... (4 Replies)
Discussion started by: vrk1219
4 Replies
4. Ubuntu
Hello!
I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies
5. What is on Your Mind?
A global group of scientists are spending the next ten years and a billion dollars to try and develop a computer simulation of the brain:
https://www.humanbrainproject.eu/
I always found it fascinating that the brain can understand itself. This almost sounds like in a few years the computer... (0 Replies)
Discussion started by: figaro
0 Replies
LEARN ABOUT OSF1
advfs_set_fset_quotas
advfs_set_fset_quotas(3) Library Functions Manual advfs_set_fset_quotas(3)
NAME
advfs_set_fset_quotas - Sets fileset quotas for an AdvFS fileset
SYNOPSIS
#include <sys/advfs_syscalls.h>
int advfs_set_fset_quotas(
char *domainName,
char *filesetName,
filesetQuotasT *filesetQuotas );
LIBRARY
AdvFS Library (libadvfs)
PARAMETERS
A pointer to the name of the domain. A pointer to the name of the fileset. A pointer to a structure that contains the fileset quotas.
DESCRIPTION
This function associates the fileset quotas that are specified in the filesetQuotas structure with the fileset specified by the domainName
and filesetName parameters.
Note that the advfs_get_set_quotas function does not set: user or group quota information grace time information
Use the quotactl system call instead. See the quotactl(2) reference page for information.
RESTRICTIONS
At least one fileset in the domain nust be mounted.
Clone filesets cannot have fileset quotas. If you attempt to set fileset quotas for a clone fileset, an error occurs.
RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of
errno to the specific error.
ERRORS
The function sets errno to the specified errors for the following failure conditions: The calling program is not running with root privi-
leges. No fileset in the file domain has been mounted. The *filesetQuotas parameter contains invalid data. An I/O error occurred on one
of the disks in the file domain. The filesetId parameter does not refer to an existing fileset. There is not enough memory available for
the operation. The fileset is mounted read-only: it may be a clone fileset. Clone filesets cannot have fileset quotas.
SEE ALSO
Commands: chfsets(8), showfsets(8)
Functions: quotactl(2), advfs_get_fset_quotas(3)
advfs_set_fset_quotas(3)