I have an entry such as data:/temp. I...
Articles and Tips: qna
01 Sep 2002
Q.
I have an entry such as data:/temp. I have been able to set the space limit by using
addElement(String user, int limit)
But I cannot figure out the limit, since if I put the maximum of the int parameter, I only get a 200MB space limit. Do you know how the limit works to pass the right size for space limit?
A.
The formula for setting space limit works out as follows:
totalSpaceSet = bytesPerSector * sectorsPerCluster * totalBlocks;
where totalBlocks = (int) valuepassed / (bytesPerSector * sectorsPerCluster).
* Originally published in Novell AppNotes
Disclaimer
The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.