SFS: Difference between revisions

633 bytes added ,  2 years ago
m
simple add 's' to 'http'
[unchecked revision][unchecked revision]
m (→‎External Links: dead link)
m (simple add 's' to 'http')
 
(11 intermediate revisions by 9 users not shown)
Line 1:
{{Filesystems}}
 
There are several filesystems existing that are abbreviated '''SFS''', but the one discussed here is athe '''Simple File System''' filesystem by Brendan Trotter, designed to be very easy to implement. It has a minimal set of features. Officially it is still in its draft stage, but hasn't changed over thefor pastsome yeartime.
 
SFS is designed to be used as a simple filesystem for use on floppy disks and other removable media to transfer data between computers.
Line 9:
There are five key areas in a SimpleFS partition: The Super-block, Reserved Area, Data Area, Free Area and Index Area.
=== Super-block ===
The Super-block is located in the first sector of a disk or partition. For floppy disks that means it is contained in the boot sector. The superblock contains structural information about the partition. The SFS data of the super-block is located at offset 0x1940x0194 and is 58 bytes long, leaving space for boot code and a partition table.
{| class="wikitable"
{|
|-
! Offset
Line 16:
! Contents
|-
| 0x1940x0194
| 8
| Last alteration time of super-block values (Data size or Index Size)
Line 69:
The "first" (at the end of the disk) entry must be a Volume Identifier entry, this is used to detect if a disk has been swapped when auto-detection is unavailable. The "last" (closest to the start of the disk) must be a Starting Marker entry, this is used for file-system recovery if the super-block is damaged.
Continuation entries are used to allow longer file names than can be placed in a single directory or file entry and immediately precede their respective file/directory entry.
 
=== Embedding ===
The GUID currently in use for GPT partitions is 4ebf0e06-11bf-450c-1a06-534653534653
 
== Information Formatting ==
Line 76 ⟶ 79:
Name Strings in SFS are in UTF-8 and must be null terminated. Characters can include any character in the ranges 0x20-0x7E and 0xA1-0xFF excluding a double quote ("), asterisk (*), colon (:), less than or greater then sign (< or >), question mark (?) or backward slash (\). The forwards slash (/) is admissible only as a path separator.
Note that UTF-8 means that the characters above 0x80 take up multiple bytes rather than one, which could confuse ASCII based systems.
== External Links ==
* [http://dimensionalrift.homelinux.net/combuster/vdisk/sfs.html Official Specification]
* [http://dimensionalrift.homelinux.net/combuster/vdisk/ A windows utility for SFS images]
 
== ThreadsSee Also ==
=== Threads ===
* [[Topic:11833|SFS Review thread]]
=== External Links ===
* [https://www.d-rift.nl/combuster/vdisk/sfs.html Official Specification] ([https://web.archive.org/web/20090923015653/http://dimensionalrift.homelinux.net/combuster/vdisk/sfs.html web.archive.org])
* [https://www.d-rift.nl/combuster/vdisk/ A windows utility for SFS images] ([https://web.archive.org/web/20111111113756/http://dimensionalrift.homelinux.net/combuster/vdisk/ web.archive.org])
* [https://www.fysnet.net/blog/files/sfs.pdf Ben Lunt's specification] (updated 13 Jan 2022) (not 100% compatible with the original, has more features) (version 1.10)
 
[[Category:Filesystems]]
[[de:SFS]]
Anonymous user