Filesystem from scratch


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Filesystem from scratch
# 1  
Old 11-14-2007
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 Smilie and can't continue working on it since then. Smilie


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

Sorry if am deviating from the original topic of the thread.
# 2  
Old 11-14-2007
Split and created a new thread... would be interesting to see if anyone has actually written a filesystem from scratch.
# 3  
Old 11-14-2007
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. Smilie

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.
# 4  
Old 11-15-2007
this is great to hear ! Smilie

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 Smilie )

That would be of great help to most of us Smilie
# 5  
Old 11-15-2007
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Mount Filesystem in AIX Unable to read /etc/filesystem

Dear all, We are facing prolem when we are going to mount AIX filesystem, the system returned the following error 0506-307The AFopen call failed : A file or directory in the path name does not exist. But when we ls filesystems in the /etc/ directory it show -rw-r--r-- 0 root ... (2 Replies)
Discussion started by: m_raheelahmed
2 Replies

2. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

3. Programming

Terminal emulator from scratch.

I wanna write a terminal emulator program from scratch. I downloaded the sources of xterm but they are too complex... I did not found any documentation on the Internet, so I asking you where I have to start. I learnt only C, and I have the basics of GTK library. Thanks for any reply. (22 Replies)
Discussion started by: mghis
22 Replies

4. UNIX for Dummies Questions & Answers

Building from scratch - UNIX

Hi! Any knows if Unix (from IBM, Sun, HP, etc) is picky on hardwares? I mean, installing Unix (not Linux) on a custom build system? Thanks. (2 Replies)
Discussion started by: genesisX
2 Replies

5. Red Hat

Setup a printer on Linux from scratch

I am a beginner in Unix. I have redhat linux running in a dell work station. my question is how can I setup a printer using the command line so that I can use the command lp filename to print, how can I define the printer name? my printer is HP laserjet connected to network (2 Replies)
Discussion started by: docaia
2 Replies

6. UNIX for Dummies Questions & Answers

Setup a printer on Linux from scratch, everything to do

I am a beginner in Unix. I have redhat linux running in a dell work station. my question is how can I setup a printer using the command line so that I can use the command lp filename to print, how can I define the printer name? my printer is HP laserjet connected to network Edit/Delete Message (0 Replies)
Discussion started by: docaia
0 Replies

7. UNIX for Advanced & Expert Users

unix from scratch

hi all, i'm trying to write a unix system from scratch (not re-writing the kernel) does anyone have information about that? tips and stuff...?i would appreciate every help, thnks :) (9 Replies)
Discussion started by: elzalem
9 Replies

8. Linux

Linux From Scratch

LFS (Linux From Scrath) it's tools for make own distribution. U know how create own distribution ?? thanks cYa (2 Replies)
Discussion started by: kezzol
2 Replies

9. UNIX Desktop Questions & Answers

An X Window System from scratch

I'm currently using Gnome as my desktop environment (DE) but it's going kind of slow. My friend gave me the advice to skip the DE and only use a Window Manager. I took his suggestion one step further and decided to try building an X window system from scrath instead. But what are the... (3 Replies)
Discussion started by: J.P
3 Replies
Login or Register to Ask a Question