Re: File system implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 25, 2013 at 10:47 AM, Dibyayan Chakraborty
<dib.coolguy@xxxxxxxxx> wrote:
> Hi,
> I want to implement a file system and integrate with my system. Now
> first i have to implement the code for disk-formatting(like populating
> the super_block , root inode etc). I want to see the source code for the
> ext3 file system for this purpose.
>
> Please tell me which file in the kernel source contains the
> implementation.
>

I did the same thing few days back and asked the same question few days back :)

It is very simple. All you need is to codify your structs. Then write
a simple mkfs-yourfs.c which will fopen the given input file, write
(by type casting to a char *) the struct pointer which contains your
filesystem structure and then closes the file. It is as simple as that
:)

All the best.

--
Sankar P
http://psankar.blogspot.com

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux