                Directory based quota management for NetDrive.
                ----------------------------------------------

CONTENTS
--------

1. Introduction
2. Installation
3. Usage
4. Limitations
5. License
6. Author


1. Introduction
---------------

NDPLQ and NDPLQT is a directory based quota management plugins for NetDrive for
OS/2.

NDPLQ and NDPLQT directory based quota management (directory size limits)
system allows to target single directories for quota management. It may be
useful to share the resources via FTP/Samba with write access.

It is supposed that you have netdrive installed and you've read already it's
documentation at least once.


2. Installation
---------------

To install plugins unpack the archive somewhere and run instpl.cmd. This will
copy all nessessary files into NetDrive's ndplugs directory and load plugins. 


3. Usage
--------

The plugins usage is common to any other NetDrive plugin usage.
The local resources could be mounted either using command line nd.exe utility
or WPS ndpm.exe utility of NetDrive.

Usage examples (command line):

nd attach T:
nd createmp T:\mp1
nd mount lq T:\mp1 ;path=d:\tmp;limit=100 W
nd createmp T:\mp2
nd mount lqtree T:\mp2 ;config=D:\home\mountpoints.lqt W

Parameters:

path	- Path to directory on local drive.
limit	- Quota in Kb
config	- Full path to the mount point's list file.
          The list of resources the specified list will be mounted to the
          mounting path.
	  See the example in bin\lqtree-mp_list_sample.lqt.
          LQTREE will check this file for updates with interval in 1 minute.
          If plugin detects changes, it will reread list of mount points.

The lqinfo.exe utility will show informaion about mounted resources.

You can use "ND REFRESH <path> S" command to initiate a recalculation of the
allocated space.

A debug version of the plugin in bin\debug generates a
%NDFSDIR%\ndplq.log log file (for LQ and %NDFSDIR%\ndplqt.log for LQTREE).


4. Limitations
--------------

This has only had very limited testing so all feedback to digi@os2.snc.ru is
appreciated.

Known limitations:
- no extended attribute support,
- do not use same directories/subdirectories with different mount points.


5. License
----------

Copyright 2009 Vasilkin Andrey <digi@os2.snc.ru>

Use this software for free. This software is provided "AS IS", without any
express or implied warranty. In no event will the authors be held liable for
any damages arising from the use of this software.


6. Author
---------

Vasilkin Andrey, 2009
digi@os2.snc.ru
