Permalink
Switch branches/tags
Nothing to show
Commits on May 22, 2012
Commits on May 21, 2012
  1. Make target to generate report form source

    Amos Wenger committed May 21, 2012
  2. Ignore PDFs

    Amos Wenger committed May 21, 2012
  3. Clean logs

    Amos Wenger committed May 21, 2012
  4. Use same permissions as source file for backup

    Amos Wenger committed May 21, 2012
  5. Better instructions

    Amos Wenger committed May 21, 2012
  6. Yeah, fuck that. It's copy-paste.

    Amos Wenger committed May 21, 2012
  7. Final report

    Amos Wenger committed May 21, 2012
  8. Use gcc by default..

    Amos Wenger committed May 21, 2012
  9. Prepend instead of append, it's faaaster

    Amos Wenger committed May 21, 2012
Commits on May 20, 2012
  1. Spartiate report added.

    SeZuo committed May 20, 2012
Commits on May 17, 2012
  1. Reclaim all implemented. It's feature-complete now.

    Amos Wenger committed May 17, 2012
    However the backup files seem to have a weird mode. Perhaps we
    could use the same mode as the original files.
  2. Correctly delete backups after a few seconds.

    Amos Wenger committed May 17, 2012
    The last requirement that has to be satisfised is to delete all backups
    when the filesystem is unmounted.
  3. Collect every M seconds, check time of backups

    Amos Wenger committed May 17, 2012
  4. Write backups and keep memory of them in a list.

    Amos Wenger committed May 17, 2012
    For some reason though, vim writes empty files (dafuk?) which
    messes up the backups. Works fine with gedit/nano though. I'll
    test with nano from now on.
Commits on May 16, 2012
  1. Added a few notes about debugging that thing.

    Amos Wenger committed May 16, 2012
  2. Don't use full paths, lookup to avoid inserting N times.

    Amos Wenger committed May 16, 2012
    I think FUSE gives us clean paths to work with anyway (relative paths
    etc. are just an artifact of human interaction, but when requests go
    through the VFS layer, they're being 'absolutized' already, which means
    they're good to go for hashing.)
    
    Also, make it a little less verbose.
  3. Less debug, and strdup the path, otherwise we're referencing the same…

    Amos Wenger committed May 16, 2012
    … path and that's not working well
  4. begin backup system with a (simplistic) hashtable

    Amos Wenger committed May 16, 2012
  5. Successfully detect when writing

    Amos Wenger committed May 16, 2012
    It's easy! It's just flags :)
Commits on May 15, 2012
  1. Better logging + unversion example files

    Amos Wenger committed May 15, 2012
    We'll change the example files a lot while testing anyway.
    And logging with the date is really nicer
  2. Added reference material from moodle.

    Amos Wenger committed May 15, 2012
    Note that PDF has terrible accessibility, and that the version of
    moodle installed at http://moodle.epfl.ch/ is an endless source of
    nightmares.
    
    Seriously.
  3. Switch to clang.

    Amos Wenger committed May 15, 2012
    It's that easy.
  4. Make the Makefile a bit less retarded.

    Amos Wenger committed May 15, 2012
    For reference, it's good to have separate CFLAGS and LDFLAGS, and it's
    also good to only use LDFLAGS when linking, to avoid unnecessary passage
    of flags to the compiler.
    
    Note that clang warns about that (ie. unused compiler flags). In fact,
    we should probably switch to clang.
  5. Ignore executable and log files

    Amos Wenger committed May 15, 2012
    Apparently my_log is a facility especially for our file system.
    Ironic that a file system uses the file system to log its operations,
    isn't it?
  6. Add missing 'release' method to vtable

    Amos Wenger committed May 15, 2012
    It's common custom for C libraries to use structs as a form of
    primary vtable in order to allow 'overriding' or 'implementing
    interfaces'. Here, we are implementing the FUSE interface.
    
    In the initial code given, 'svfs_release' was implemented but they
    forgot to fill the vtable correctly.
  7. Readme

    Amos Wenger committed May 15, 2012
  8. Initial import, from moodle.

    Amos Wenger committed May 15, 2012
    The objective of this project is to learn the basics of VFS APIs
    (in this case, FUSE).
    
    SVFS is a very simple VFS: whenever you change a file, it keeps
    a backup for the next 10 minutes.
    
    The skeleton for the file system is already provided, I think
    there'll be mostly some learning but not a lot of code writing.