Cool Solutions

Utility to Set Directory Quotas on a NSS Directory



By:

October 22, 2009 11:45 am

Reads:5,412

Comments:0

Score:Unrated

License:
Free

Download setDirectoryQuota.pl

Prerequisites

  1. Perl must be installed and running on the Linux server where this utility will be used.
  2. NSS must be installed to get the VFS support.

    (The SDK for this API set can be downloaded from http://developer.novell.com/wiki/index.php/Virtual_File_Services_for_NetWare)

Details

This tool is used to set the directory quotas on a nss directory.

It uses Virtual File Services to set the directory quotas.

How to use the utility:

From a terminal prompt type:

perl setDirectoryQuota.pl <enter>

Following menu will be displayed:

1.To set directory quotas
2.Exit
Select Action:
 

A sample output on selecting 1 would be:

Select Action: 1
Enter directory Name to set directory quota: /media/nss/NEW/directory
Enter the size (in MB): 10
--------------------------------------------------------------------------
direcoty quotas set on directory /media/nss/NEW/directory
--------------------------------------------------------------------------

0 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 50 votes, average: 0.00 out of 5 (0 votes, average: 0.00 out of 5)
You need to be a registered member to rate this post.
Loading ... Loading ...


Categories: Uncategorized

Disclaimer: This content is not supported by Novell. It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test it thoroughly before using it in a production environment.

Comment

RSS