954,492 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Simulating file system

Hi, my project works with emulating the file system. I can invent my own as well. I'm developing a unix like shell which will provide all the file handling commands similar to unix. Basically I want to allocate a large file on the actual file system, and treat it as a virtual disk for the file system simulation. In order to implement the file system, I would create and manipulate various data structures on the virtual disk to create and manage the file system. For manipulating the file system's data on the virtual disk, i can use C file functions such as fopen, fread, fwrite etc and implement a unix like shell which will act on this disk. How do I create data structures like superblock, boot block,inode list, within this virtual disk? Is simulating the unix file system tougher? If yes then what other options should i look for?

MastAvalons
Light Poster
31 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

superblock - Do you need it? You're designing your own system, aren't you? Why try to duplicate something else, especially if you don't understand it?
boot block - You don't need it. You aren't booting anything. Assume this is a secondary drive. KISS .
inode list - This you need in some form -- of your own design.

WaltP
Posting Sage w/ dash of thyme
Moderator
10,505 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
 
superblock - Do you need it? You're designing your own system, aren't you? Why try to duplicate something else, especially if you don't understand it? boot block - You don't need it. You aren't booting anything. Assume this is a secondary drive. KISS . inode list - This you need in some form -- of your own design.

Thanks! I have already found sdk boxeadapp. I think it would help me.

MastAvalons
Light Poster
31 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

Check out EasyHook
Maybe help

Topiary
Newbie Poster
8 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
 

Thanks problem is solved)

MastAvalons
Light Poster
31 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

Thanks! I have already found sdk boxeadapp. I think it would help me.

I've never heard about it... Is it work for Windows?

Topiary
Newbie Poster
8 posts since Mar 2012
Reputation Points: 0
Solved Threads: 0
 

Yes, of course :)

MastAvalons
Light Poster
31 posts since Jan 2012
Reputation Points: 10
Solved Threads: 1
 

Post: Markdown Syntax: Formatting Help
You