Page 1 of 1

Initial disk Fs Functions help

Posted: Thu Sep 18, 2014 9:11 am
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 ...

Re: Initial disk Fs Functions help

Posted: Thu Sep 18, 2014 10:10 am
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.