English Amiga Board Amiga Lore


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 24 July 2004, 21:16   #1
Bloodwych
Moderator

Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
SFS tools

In a bid to add full SFS compatibility to the ClassicWB, I've been looking into ways to check, optimise, format and change options. I'm going to add these functions to the popup menu.

However, I'm a little confused about the defrag abilities. The current SFS package comes with CLI tools. One of these tools is called "sfsdefrag", but in the readme it also mentions "SFSdefragmentGUI". The documentation states that the former is a program for an immediate and full defrag, while the latter is for a "onthefly" kind of optimizing built into SFS. Problem is, there is no "SFSdefragmentGUI" program included.

Furthermore, I can easily add these CLI commands to the popup menu but are there any SFS GUI's available rather than having to resort to CLI scripts. SFSsalvage is one already present in the standard package, but I'd like something that can change SFS options etc. I've found a few on Aminet and they seem rather basic. Any suggestions?

Thanks.
Bloodwych is offline  
AdSense AdSense  
Old 24 July 2004, 21:22   #2
leroq
Registered User
 
Join Date: Jun 2004
Location: BBBerlin
Posts: 22
Well the best GUI App for SFS seems to be "Smart Info". But for most things there are only CLI tools. In practice you only need to run sfs-check and eventually set buffers at bootup.
leroq is offline  
Old 24 July 2004, 21:36   #3
Bloodwych
Moderator

Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
Yes I have that, but it uses the "SFSdefragmentGUI" command which is a sort of "defrag onthefly" built into SFS and not the same as the full "SFSdefrag". At least that's how I understand it - the readme file is confusing. Strange also, as I said above, that "SFSdefragmentGUI" isn't included in the SFS package.

SmartInfo does list SFS details however, so I will use it.

Another GUI I have is "SFSMUI" which is useful for formatting and performing CLI tool tasks. Having issues with saving settings on this program (it keeps on claiming the config file is invalid) but I'll test further.

Last edited by Bloodwych; 24 July 2004 at 22:02.
Bloodwych is offline  
Old 24 July 2004, 22:12   #4
Bloodwych
Moderator

Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
Here is the readme:

Defragmenter (part of SFS) and SFSdefrag (cli command)
------------------------------------------------------

The Defragmenter
----------------

- Defragments files and free space.

- 100% transparent; defragment a disk while you're still
reading and writing data from/to it (SFS won't guarantee
a 100% defragmented disk when the disk has been modified
during defragmentation though).

- Defragmentation uses the same safe-writing techniques which
SFS always uses. This means a crash, reset or power failure
will not cause you to lose any data, even while the
defragmenter is running.

The price you pay for this feature is speed and a not 100%
optimal defragmentation (there is a big difference between
a simple defragmenter and a disk optimizer like ReOrg).

- A very simple interface is provided to activate the
defragmenter built-in SFS. See packets.h and the source of
SFSdefragmentGUI for more information.

!!!
---
When you use the defragmenter, it is wise to allocate for this
time EXTRA buffers (with SFSdefrag!) to speed up the process.
SFSdefrag subt. these buffers after the job automatically!
Adding about 1000-4000 extra buffers would be a very good idea.
1 Buffer = 512 Bytes (512 Blocks)

SFSdefrag
---------
SFSdefragBIG -> fullscreen, SFSdefrag -> 1/4 screen, center

Once you start SFSdefrag it will start defragmenting immediately.
Note that the defragmenter will NOT wait for the drive to be
unused -- it will start defragmenting immediately hogging the
drive and slowing down any normal reads or writes you are doing
to that drive.

Once the program is started it will display a simple map of
your drive so you can see what's going on. This map is
constantly updated and you can see the reads/writes SFS
does. Note that only changes made by the defragmenter are
tracked here; other program writing to the disk will not
show up in this map, and thus the map isn't always 100%
correct.
This is a VERY basic "progress window" for the SFS defragmenter
which I created in a couple of hours. I do not intend to
extend it much further, but it is provided as an example
and because (currently) it is the only means to start the
defragmenter.

You can stop the defragmenter at any time by closing the
defragmenter window. Restarting it will cause SFS to
continue defragmentation where it left of (it will skip the
defragmentated parts at the beginning of the disk quickly).

You can resize the window if you like -- a last minute
feature I added :-)

I'm not sure what the memory requirements are, but the
defragmenter will need atleast enough memory to hold the
bitmap of the drive in memory. This is usually about 0.25%
of the total size of the drive you are trying to defragment
plus the memory needed to show the window (depends on the
window size). For a 2 GB drive the total memory
requirements are about 1 MB (+ Buffers)
Bloodwych is offline  
Old 24 July 2004, 22:26   #5
Bloodwych
Moderator

Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
Reading through that again it could be that "SFSdefragmentGUI" is merely code that can be used by any utility to activate the built in defragmenter in SFS.

"SFSdefrag" is one such utility provided to activate the built in defragmenter.
Bloodwych is offline  
Old 24 July 2004, 22:49   #6
Bloodwych
Moderator

Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
Ok, I'm reasoning with myself in my own thread.

Yes, it appears what I said in my last post is the case. What made it confusing is, according to older third party readmes, there used to be a "SFSdefragmentGUI" executable program, but this seems to have been renamed to SFSdefrag.

From the readme file posted above, the "100% transparent" comment, along with what's mentioned in the old guide, also conflicts with the "hogging the drive and slowing down any normal reads or writes" which occurs under "SFSdefrag".

Oh well, that's that. A case where too much reading can be bad for you, especially when different readme files conflict!

Please don't be shy if you have any info and utilities to share.

Last edited by Bloodwych; 24 July 2004 at 23:05.
Bloodwych is offline  
Old 25 July 2004, 01:45   #7
leroq
Registered User
 
Join Date: Jun 2004
Location: BBBerlin
Posts: 22
Well the defrag on the fly is just like in Ext2/3 under Linux, I think. Files are written in one piece into free space that fits, if possible. The defrag command then could condense these further. Control blocks like directories are never defragged because the whole thing is beta. I think I got that from the guide :-) And I can't remember using anything else than Smartinfo. It's just the deluxe version of sfsdefrag, I think.
leroq is offline  
Old 25 July 2004, 09:59   #8
Bloodwych
Moderator

Bloodwych's Avatar
 
Join Date: Jun 2001
Location: I'm behind you!
Posts: 3,763
Thanks for the comments leroq, I've now added a menu system that works in the ClassicWB.
Bloodwych is offline  
AdSense AdSense  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for some basic IP tools en SDK tools Roland007 support.WinUAE 0 28 November 2012 22:34
Tools alexh support.Hardware 15 05 August 2010 23:27
What tools to use? Zetr0 GCA.Usefull Programs 10 03 February 2009 23:52
Need a few tools Phantomz request.Apps 6 22 November 2008 03:15
Tools? Kada project.Amiga Game Factory 1 05 February 2008 09:58

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 00:08.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Page generated in 0.14599 seconds with 11 queries