Click here to Skip to main content
15,899,754 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
As by way of learning I am trying to figure out a way to implement a file system on my own and below are the steps that I am trying to do this as below mentioned tasks.

1. I am trying to create a dummy file of size 'X'(bytes)
2. After doing this I will try to develop a flow into which may be I can decide where the address/location/whatever of the files/folders/data etc., to be stored in this file and other operations.
3. Now this is the task of technically implementing the above two tasks using programs( my favorite C) like a real man(coding-coding-coding).

I am confused with the task '3' as I do not know where to implement. What tasks to be implemented at Kernel level and what tasks to be implemented as User level.

May be from your experience you could suggest me the tasks or services I need to implement at User-Space/Kernel-Space level.

:)
Posted

1 solution

If you use FUSE[^] you can write everything as user-space code (FUSE contains all the necessary kernel code). Otherwise, you need to implement everything in kernel-space code.
 
Share this answer
 
Comments
[no name] 29-Jul-12 6:42am    
I know it helps a lot in using the fuse code but as a learner I want to do everything independently. May be it is weird to develop a system on my own but please help me with your suggestions in achieving this.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900