This is a book on how to write a file system in Linux Kernel. The purpose of the file system is to demonstrate how easy it is to code a file system.
- Checkout the Repo. See :ref:`checkout_repo-label`.
- Install sphinx using the command
pip install -U Sphinx. - Install
rst2pdffor reading this document in pdf. Runrst2pdf README.rst. Read the pdf asREADME.pdf - Use
./hhfile to read the html version of the document. Alternatively make htmlmake html. Open the document_build/html/index.html. - Use
./ppfile to read the PDF version of the doucment. Alternatively make pdfmake latexpdf. Open the document_build/latex/BasicFilesystem.pdf
- Make a github account.
- Upload your ssh keys for passwordless authentication. Read the document for understanding how to upload ssh keys. See :ref:`upload_ssh_keys-label`.
- Checkout the code from git@github.com:abrrba/bfs.git.
- Do "ssh-keygen" keep pressing enter.
- At the end of the command do "cat .ssh/id_rsa.pub" and copy the text from "ssh-rsa" to end.
- Then in https://github.com/settings/profile page go to SSH Keys (direct link is https://github.com/settings/ssh") and upload your keys.