Short:        SmartFileSystem Config
Author:       Marcin "Morgoth" Kurek <morgoth6@box43.pl>
Uploader:     Marcin "Morgoth" Kurek <morgoth6@box43.pl>
Version:      1.0
Type:         disk/misc
Requires:     OS 2.04, 68020, SmartFileSystem

======== Introduction: ========

This is a small utility to set some parameters of
SmartFilesystem device.

You can set the cache, some data flush timeouts and the maximum filename
length.

======== Legal: ========

The author are NOT responsible for any damage
resulting from the use of this tool.

THERE ARE NO WARRANTIES !

SFSC may be freely distributed. It is freeware!

======== Requirements: ========

- AmigaOS 2.04

- 68020+

- SmartFilesystem WARNING: Program doesn't check for SFS Version
                           I do not know what will happen if you are using too old SFS
                           I recommend to use the 1.193 or later

======== Usage: ========

Program can be started only from CLI.

SFSC has the following template:

D=DEVICE/A,
L=LINES/K/N,RAHS=READAHEADSIZE/K/N,
MXNL=MAXNAMELENGTH/K/N,
AF=ACTIVITYFLUSH/K/N,INAF=INACTIVITYFLUSH/K/N,
CPB=COPYBACK/K,
V=VERBOSE/S: 

D=DEVICE/A (Required)

 The name of the SFS device which you want to configure.

L=LINES/K/N

 Cache lines to be used.

 Please note: you can't set this option to less than 4

RAHS=READAHEADSIZE/K/N

 Number of !! KBytes !! each read ahead cache line should contain.

 For example, 64 becomes 65536 bytes.

 Please note: parameter will be rounded to a power of 2 automatically
              minimum for this option is 1 (1024)
              maximum value for this option is 64 (65536 bytes)

MXNL=MAXNAMELENGTH/K/N

 Maximum filename length. Can be from 30 to 107.

AF=ACTIVITYFLUSH/K/N

 Activity flush timeout.
 The number of seconds after SFS must flush pending writes even when it is active.
 Can be from 5 seconds to 120 seconds.

INAF=INACTIVITYFLUSH/K/N

 Inactivity flush timeout.
 The number of seconds after SFS must flush pending writes even when it is inactive.
 Can be from 1 to 5.

 This value is calculated like this (x * 0.5) where x is the value you supply as INAF.
 e.g. if you enter 2 as INAF  you set it to (2 * 0.5) = 1s

CB=COPYBACK/K (Yes||No)

 Enable or disable copyback mode for the read ahead cache.

 !!! There shouldn't be any reasons why you wold like to do this !!!

V=VERBOSE/S

 If you do not have problems with SFSC there is no need to use it.

None of this settings is permanent. SFS forgets them after reboot.
To make them permanent, add the proper SFSC command line to your
Startup-Sequence or User-Startup.

For Example: C:SFSC DH0: L=16 RAHS=32

If you run program with only DEVICE it gives you short info about it.

And final note: if you do not specify any of the parameters,
the program will leave it with the actual state.

======== History: ========

1.0:   Created

======== Bugs: ========

As far as I know ... none.

======== ToDo: ========

 - WB Startup if requested
 - Modify the List output
 - Detach
 - ... any sugestions ??

======== ThX: ========

 Jörg Strohmayer - For wonderfull SFS of coz :)
 Sensei - for help to do this tool as good as possible 
 OPI - for general support, testing and for some nice ideas

======== Support: ========

Email suggestions, bug reports to:

morgoth6@box43.pl
