OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 4:05 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Oppinion: Flesh-Out of SFS Article
PostPosted: Wed Sep 24, 2008 7:18 am 
Offline
Member
Member
User avatar

Joined: Tue Dec 25, 2007 6:03 am
Posts: 734
Location: Perth, Western Australia
I've just finished embellishing the SFS article and I want an opinion on how it looks and how it could be improved.

Link: SFS

_________________
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc


Top
 Profile  
 
 Post subject: Re: Oppinion: Flesh-Out of SFS Article
PostPosted: Wed Sep 24, 2008 9:51 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
I fixed some incorrect details (SFS can be a partition, names are UTF-8) but otherwise it looks good

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
 Post subject: Re: Oppinion: Flesh-Out of SFS Article
PostPosted: Wed Sep 24, 2008 9:45 pm 
Offline
Member
Member
User avatar

Joined: Tue Dec 25, 2007 6:03 am
Posts: 734
Location: Perth, Western Australia
Thanks, the spec is a little bit confusing on where the super-block actually is but I presumed it to reside in the MBR because it had space for the partition table. Maybe the spec should be updated to explicitly state the where the super-block should be.

_________________
Kernel Development, It's the brain surgery of programming.
Acess2 OS (c) | Tifflin OS (rust) | mrustc - Rust compiler
Currently Working on: mrustc


Top
 Profile  
 
 Post subject: Re: Oppinion: Flesh-Out of SFS Article
PostPosted: Thu Sep 25, 2008 3:32 am 
Offline
Member
Member
User avatar

Joined: Wed Oct 18, 2006 3:45 am
Posts: 9301
Location: On the balcony, where I can actually keep 1½m distance
The space for the partition table is there because logical volumes have a partition table too.

If you read the specification correctly, it refers to the 'storage medium' as a general concept to refer to a place to store data. Wether that is the entire disk, or a part of the disk is not mentioned. Attempting to do so would result in incompleteness since one can't possibly know all forms of data storage and their organisation. The only thing that happens is that space is reserved for when specific areas of sector 0 are required.

For comparison, ISO 9660 only describes a filesystem on a CD. When you burn a CD a TOC, lead-in and lead-out are added since they are required by the CD standard. Hence the filesystem does not start at location 0 on disk. The same holds for partitions on harddisks.

None of the other FS specs I have looked at mention that they should start at physical location 0 either, but rather imply the medium to be the location where the FS is located.

_________________
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group