Initial disk Fs Functions help

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Divakar00100
Posts: 8
Joined: Wed Sep 17, 2014 11:42 am

Initial disk Fs Functions help

Post by Divakar00100 »

hi,
I programmed my kernel and it currently uses Initial disk as an only FS...
It has many functions related to VFS ..as written in James Molly Unix clone tutorial ...but I want to know how can I write a file. read a file create directory remove dir...etc if any source can be provided it would be very helpful ....

thankyou ...
dansmahajan
Member
Member
Posts: 62
Joined: Mon Jan 07, 2013 10:38 am

Re: Initial disk Fs Functions help

Post by dansmahajan »

Divakar00100 wrote:It has many functions related to VFS ..as written in James Molly Unix clone tutorial ...but I want to know how can I write a file. read a file create directory remove dir...etc
write where ??
The whole point of initial or ramdisk is to load drivers. After your intial disk is loaded in memory you can read this image to load disk drivers like ata/atapi etc and fs drivers depending on your need.
Divakar00100 wrote:if any source can be provided it would be very helpful ....
Not a very good idea. Main goal of hobbyist os development is to learn, so try to write your own code and then post it here if you are facing some troubles. No one will spoon feed you.
Post Reply