Short: SFSC4AD Uploader: Marcin "Morgoth" Kurek Author: morgoth6@box43.pl Version: 2.2 Type: disk/misc SmartFileSystem Config For All Devices ======== Introduction: ======== This is a small utility to set some parameters of all SmartFilesystem partitions. 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 ! SFSC4AD 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: ======== SFSC4AD has the following template: L=LINES/K/N,RAHS=READAHEADSIZE/K/N, MXNL=MAXNAMELENGTH/K/N, AF=ACTIVITYFLUSH/K/N,INAF=INACTIVITYFLUSH/K/N, CPB=COPYBACK/K, P=PATTERN/K,V=VERBOSE/S" L=LINES/K/N Cache lines to be used. RAHS=READAHEADSIZE/K/N Number of bytes each read ahead cache line should contain. 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 !!! P=PATTERN/K Standard AmigaDOS pattern. V=VERBOSE/S With this option SFSC4AD sends some more information to the serial port. If you do not have problems with SFSC4AD 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 SFSC4Ad command line to your Startup-Sequence or User-Startup. For Example: C:SFSC4AD L=16 RAHS=16384 If you run program without arguments or with only PATTERN it gives you a list of all SFS devices and displays short info about all of 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 1.1: Removed some enforcer hits Improved SFSCheck() Added some more info in VERBOSE mode 1.2: Crash when device has no name, fixed Crash when any device was mounted or unmounted when program running, fixed Now prints all SFS devices information when run without parameters (PATTERN supported) Fixed some weird lockups when seeking SFS partitions ... I hope so :(( 1.3: Fixed some problems with SFS device list 1.4: Some optimalization and cleanups Modify Template Add some more info in device list 1.5: Removed IsFS() call when DOSList is locked 2.0: Completely rewritten, for now it works in safer way No longer sends some packets when DL is locked Now checks the FS when DL is not locked 2.1: Some cleanups 2.2: Now you can start it from WB (for example WBStartup drawer) Configure it using ToolTypes First Aminet Relase ======== Bugs: ======== As far as I know ... none. ======== ToDo: ======== - Modify the List output - ... 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