Skip to content

kongbluz/vCowFS-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c34d56d · May 23, 2017

History

65 Commits
May 21, 2017
May 23, 2017
May 23, 2017
May 23, 2017

Repository files navigation

Versioning Copy-On-Write File System (vCowFS)

Assignment 2: Versioning Copy-On-Write File System (vCowFS)

This project was submitted to Operating System subject, CE KMITL 2016

Task List

Implemented? Commmand
✔️ On-time submission
✔️ Compile an build
✔️ CoW FS Design
✔️ Versioning Design
✔️ Mount/Unmount FS
✔️ Open/create/close/delete/truncate a file
✔️ Create/remove/rename/delete a directory
✔️ Chmod/chown/chgrp a file or directory
✔️ Listing file and directory with name, size, date, owner
✔️ Listing file and directory with last modified date and time
✔️ Reading a file
😕 Writing and fsync a file
✔️ Auto-versioning a file
✔️ Retrieve an old-version of a file
✔️ Retrieve the file on re-mounting

Getting Started

Install

on ubuntu 16.04

install pip and setuptools

  $ sudo apt-get install python3-pip
  $ pip3 install setuptools

install package

  $ sudo apt-get install libattr1-dev automake autotools-dev g++ git libcurl4-gnutls-dev libfuse-dev libssl-dev libxml2-dev make pkg-config

download llfuse 1.2 from pypi

  $ wget https://pypi.python.org/packages/95/0d/44117ac95b8b52ff5640690d622105d7afa0dd4354432e6460c589f6382c/llfuse-1.2.tar.bz2#md5=4bf20ec273bc2ca41c6f58e5f4d8989d

unpack it

  $ tar xvjf llfuse-1.2.tar.bz2

install it

  $ cd llfuse-1.2
  $ python3 setup.py build_ext --inplace

Create an image file

  $dd if=/dev/zero of=storage.img bs=1M count=10
  $mkfs ntfs -F storage.img

Run !!

  $ python3 vcowfs.py storage.img tmp -t 15

Group Member

  • Pongsatorn Wanitchinchai
  • Pornchay Apichardpanth
  • Patcharapon Jantana
  • Peerawat Pipattanakulchai
  • Supawit Kansompoj
  • Suttichai Pongsanont
  • Sirapat Tiyasuwan
  • Siridej Phanathanate
  • Atthasit Sintunyatum
  • Isara Naranirattisai

Reference

Will be available soon

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages