AEFSDMN.EXE

The AEFS daemon

The syntax is: RUN=\path\AEFSDMN * It is typically started in CONFIG.SYS by a RUN statement (NOT a CALL statement) or from a script using the detach command.

You can change the options of a running daemon with aefsparm. The syntax is the same. The parameters given to aefsparm are sent verbatim to the daemon. Error messages appear in the log file (if there is one).

The options are:
 * --logfile Write log messages to the file specified by default, messages are written to standard error (which is the nul device if the daemon is started from CONFIG.SYS or using detach).
 * --loglevel Set the severity threshold of log messages. Only messages with a severity lower than or equal to the log level are actually written to the log file. The levels are:
 * 1 Fatal
 * 2 Evil (i.e. not fatal but worse than a 'normal' error)
 * 3 Error
 * 4 Warning
 * 9 Debug
 * --cache Set the maximum size of the cache per volume in 512-byte units. The default is 4096, or 2 megabytes per volume.
 * --storagefiles Set the maximum number of open storage files per volume. To speed up access to the encrypted files AEFS keeps the most recently used ones open. The default is 16. This number should not be made too high; otherwise the daemon might run into the open file limit of the C runtime library (use emxbind -a aefsdmn.exe -h to change this).
 * --files Set the maximum number of files for which AEFS may cache sectors. Every file in the cache has a slight overhead; hence the limit. The default is 4096 files.
 * --lastaccess=[active|lazy] Specify whether the last-accessed fields of files should be updated always ('active') or only if other fields have changed as well ('lazy'). The default is 'active'.
 * --lazy=[on|off] Specify whether lazy-writing (or 'write-behind') should be enabled. The default is `on'. If lazy-writing is enabled, AEFS will flush every volume every 5 seconds. This interval cannot currently be changed.
 * --quit Kill the daemon. Useful for debugging. Detach all attached volumes first.
 * --info Print statistics about the memory allocation of the daemon and about every attached volume. These appear in the log file.

NOTE: most options do not take effect for volumes that are already attached, only for volumes attached after aefsparm is run.