GSoC 2020 Project Update(UFS2): Reading Files

Blog post by SuhelMehta on Wed, 2020-08-26 16:40

Hello Everyone!

This is my third post related to my project, Adding UFS2 file system in Haiku

The link below provides the patches that I have worked on till now.

Know more

Work done till now

The following points briefly describes what I have done till now:

  • Reading a file in a UFS2 formatted disk

    • Implemented ufs2_open(), ufs2_read() in kernel_interface.cpp
  • Reading data from block pointers

    • Modified struct ufs2_inode in Inode.h
    • Implemented GetBlockPointer(), GetIndirectBlockPointer(), GetDoubleIndirectBlockPtr(), GetTripleIndirectBlockPtr() to get the block pointer from ufs2_inode
  • Get the block from file offset

GSoC 2020 Project Update(UFS2): Reading Symboliclinks

Blog post by SuhelMehta on Wed, 2020-08-26 16:37

Hello Everyone!

This is my another post related to my project, Adding UFS2 file system in Haiku

The link below provides the patches that I have worked on till now.

Know more

Work done till now

The following points briefly describes what I have done till now:

  • Reading a symbolic link in a UFS2 formatted disk

    • Implemented ufs2_read_link() in kernel_interface.cpp
  • Reading data from block pointers

    • Modified struct ufs2_inode in Inode.h
    • Modified GetBlockPointer(), GetIndirectBlockPointer(), GetDoubleIndirectBlockPtr(), GetTripleIndirectBlockPtr() to get the block pointer from ufs2_inode
  • Implemented ReadLink() in Inode.cpp

GSoC 2020 Project Update(UFS2): First Evaluation

Blog post by SuhelMehta on Fri, 2020-07-10 00:57

Hello Everyone!

This is my second post related to my project, Adding UFS2 file system in Haiku

The link below provides the patches that I have worked on till now.

Know more

Work done till now

The following points briefly describes what I have done till now:

  • Mount the root directory of a UFS2 formatted disk

    • Implemented ufs2_mount() in kernel_interface.cpp
  • Reading inode from disk

    • Implemented struct ufs2_inode and class Inode in Inode.h and Inode.cpp
    • Implemented code to convert inode number to disk offset in Inode.cpp in Inode::Inode()
  • Publishing the inode

GSoC 2020 Project: Adding UFS2 file system in Haiku

Blog post by SuhelMehta on Wed, 2020-05-06 14:20

Hello everyone! I am one of the selected students for this year Google Summer of Code(GSoC). This is my first blog on Haiku website and in this post I will introduce myself and share details about my project.

Introduction

My name is Suhel Mehta and my name on IRC channel is suhel. I am studying Computer Science and Engineering(CSE) at GNDEC(Guru Nanak Dev Engineering College) in Punjab, India. I am also a part of Development team of college that do technical work. In order to complete the task given by them I use Linux for most of the time but I am using Haiku on my virtual machine and learing about it. I have applied for GSoC this year in Haiku and got selected :-)