OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 4:07 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: VFS Design
PostPosted: Sat Jul 25, 2015 11:55 am 
Offline
Member
Member

Joined: Thu May 06, 2010 4:34 am
Posts: 116
Location: Leiden, The Netherlands
Heres the outline for the VFS rewrite of my OS, any remarks?

(pointers are arrows)
Image

_________________
posnk ( a simple unix clone )
twitter profile - security research, die shots and IC reverse engineering, low level stuff


Top
 Profile  
 
 Post subject: Re: VFS Design
PostPosted: Sat Jul 25, 2015 3:11 pm 
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
It's interesting that there's a separate list for files and subdirectories (and no symlinks, device files, ...), instead of a single list of "named children" with all the possible types as subclasses thereof. In essence, you have to make all the calling locations aware of all the types instead of trying to have them (mostly) oblivious to that.

_________________
"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: VFS Design
PostPosted: Sun Jul 26, 2015 5:29 am 
Offline
Member
Member

Joined: Wed Jun 03, 2015 5:03 am
Posts: 397
Peterbjornx wrote:
Heres the outline for the VFS rewrite of my OS, any remarks?

My remark is simple - I see it's a bit complex.

May be some short description can clarify your intent that made you to design this diagram?

_________________
My previous account (embryo) was accidentally deleted, so I have no chance but to use something new. But may be it was a good lesson about software reliability :)


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

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 35 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