English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 16 March 2009, 17:06   #1
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
Filesystem overhead of FFS

hello
I was wondering if anyone knows how to calculate what the fliesystem overhead is of fastfilesystem for any given volume or partition size.

What I mean is when I format a hard disk of say 100mb, even when it is empty it says there has been 20K or whatever used. So how can I calculate in advance how many bytes will be consumed by the filesystem before I've written any files to the disk?

If anyone knows the formula please share!

Thanks
rare_j is offline  
Old 16 March 2009, 18:16   #2
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
There are two blocks reserved in the beginning, the root block in the midle of the parititon and one bit in a bitmap block for each block on the partition. A bitmap block can hold something like 488 bytes with 8 bits each, making 3904 bits per bitmap block. For 100 MB with a block size of 512 bytes, you'd need bits for 204800 blocks. With 3904 bits per bitmap block, you'd need 53 bitmap blocks.

So there is a total of 56 occupied blocks on an empty 100 MB partition which take about 28 KB.

A more detailed description on the internal structures of FastFileSystem can be found on the Amiga Developer CD.
thomas is offline  
Old 16 March 2009, 19:00   #3
rare_j
Zone Friend
 
rare_j's Avatar
 
Join Date: Apr 2005
Location: London
Posts: 1,176
That's exactly the information I need thomas, thanks.
rare_j is offline  
 


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Overhead racing games Gordon Nostalgia & memories 46 16 July 2016 17:45
FFS and SFS amigappc project.ClassicWB 8 07 January 2011 12:21
FFS std64 AliasXZ New to Emulation or Amiga scene 4 29 January 2008 12:10
[Found: Special Forces] Need a name of a overhead commando game jimmyjock Looking for a game name ? 11 07 October 2007 15:01
PD overhead deathmatch-type game it290 Looking for a game name ? 10 02 February 2005 13:33

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 07:33.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.45331 seconds with 13 queries