Skip to content

Instantly share code, notes, and snippets.

View Larvasteam's full-sized avatar
🎯
Focusing

Larvasteam

🎯
Focusing
View GitHub Profile
@Larvasteam
Larvasteam / vsfs.py
Created February 5, 2025 19:16 — forked from zenja/vsfs.py
A simulator for "Very Simple File System" (vsfs) based on http://pages.cs.wisc.edu/~remzi/OSFEP/file-implementation.pdf
#! /usr/bin/env python
import random
from optparse import OptionParser
DEBUG = False
def dprint(str):
if DEBUG:
print str