The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Development Release: Beyond Linux From Scratch 6.3 RC iBot Software Releases - RSS News 0 05-12-2008 05:20 PM
Setup a printer on Linux from scratch, everything to do docaia UNIX for Dummies Questions & Answers 0 01-24-2008 05:52 AM
unix from scratch elzalem UNIX for Advanced & Expert Users 9 11-13-2007 04:53 PM
Linux From Scratch kezzol Linux 2 12-17-2004 03:08 PM
An X Window System from scratch J.P UNIX Desktop for Dummies Questions & Answers 3 04-18-2002 12:41 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-13-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
Filesystem from scratch

Hey,

Had anyone tried with writing a new FS - file system ( whether its useful or not, that doesn't matter ) ?

I tried one couple of years ago, but that was a fatal failure and can't continue working on it since then.


Anybody got some experience with writing file system from the scratch.

Sorry if am deviating from the original topic of the thread.
Reply With Quote
Forum Sponsor
  #2  
Old 11-14-2007
blowtorch's Avatar
Supporter
 
Join Date: Dec 2004
Location: Singapore
Posts: 2,328
Split and created a new thread... would be interesting to see if anyone has actually written a filesystem from scratch.
Reply With Quote
  #3  
Old 11-14-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Many years ago I wrote a complete CP/M 2.2 clone for a little Z80 I attached to an IBM floppy controller. That did include a complete file system for a simple floppy format. To be honest, apart from console and printer IO that's all CPM is.

At a similar time I wrote a two device drivers for the Macintosh, one for a disk accessed over the serial port, the other for a ram disk (System 6.0.5), but those were just the device drivers and still reused the MacOS filesystem.
Reply With Quote
  #4  
Old 11-14-2007
Technorati Master
 

Join Date: Mar 2005
Location: Large scale systems...
Posts: 2,610
this is great to hear !

Would you mind sharing the links that you had used to learn about FS - so that FS-newbies like me could benefit from that ?

( oh! no, the FS fatal failure is chasing me now )

That would be of great help to most of us
Reply With Quote
  #5  
Old 11-14-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
The three most important things for a file system are

(a) implementing the specificied file system data format in a robust manner so other implementations can read the same data.

(b) provide the correct interface to the operating system to access the file system

(c) everything between (a) and (b) is up to you!

The watch words should be "robustness" and then "performance", no point in having a high performance file system that trashes your disks.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:08 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0